On Thu, Jul 24, 2008 at 8:37 AM, Bruno Albuquerque <bga@xxxxxxxxxxxxx> wrote: > > On a related note, if I change the above program to allocate 850 Mb (I am > running VMWare with 1 Gb of available memory for Haiku) it will crash with a > segmentation fault in add_fdes() (inside libroot, it seems) instead of > simply bailing out with an out of memory error. > That function appears to be part of libgcc ... grepping only turns it up in buildtools/gcc/gcc/unwind-dw2-fde.c and buildtools/legacy/gcc/frame.c, which is odd because that makes it sound like it crashed while trying to unwind the stack or extract debug info of some kind. Regards, Rene