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=7caf51d1a5a86ae...
-- Ben Byer CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/xquartz-dev