------- Comment #3 from rknochenmuss at gmx dot net 2010-02-12 17:18 ------- Thanks guys. Apparently it is a stack limitation. Using ulimit -a, the default is: stack size (kbytes, -s) 8192
ulimit-s unlimited is not permitted. The largest value allowed is 20000, this isnt enough to avoid the segmentation fault. Dominque's suggestion solved the problem, at least at first glance (not fully tested yet). Adding -Wl,-stack_size,0x20000000 as a link option prevents the seg fault. -- rknochenmuss at gmx dot net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43050