[Xquartz-dev] ALLOCATE_LOCAL / crashes

Jeremy Huddleston jeremyhu at berkeley.edu
Fri Dec 7 08:46:50 PST 2007


I saw in some post somewhere that alloca() was known to cause X to  
crash on darwin for some reason.  I can't remember where, but I'll try  
to figure out where I saw that and why.

--Jeremy

On Dec 6, 2007, at 21:07, Ben Byer wrote:

> So, it seems that ALLOCATE_LOCAL is responsible for at least some of  
> the "rootless crashes" we're seeing -- specifically, all of the ones  
> where the crash fell in any of the mi* functions.
>
> (My understanding is that ALLOCATE_LOCAL is more dangerous to use on  
> Leopard due to virtual memory layout -- it should never be used to  
> allocate more than about a kilobyte, and I just saw miFillPolyArc  
> crash by trying to allocate 900k.)
>
> http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=7caf51d1a5a86ae884e0087795636222c082962c
>
> --
> Ben Byer
> CoreOS / BSD Technology Group, XDarwin maintainer
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/xquartz-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20071207/5b121e1f/smime.bin


More information about the Xquartz-dev mailing list