[Xquartz-dev] ALLOCATE_LOCAL / crashes

Ben Byer bbyer at apple.com
Thu Dec 6 21:07:21 PST 2007


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



More information about the Xquartz-dev mailing list