------- Comment #5 from mec at google dot com  2006-07-05 22:43 -------
The threads point is just a basic stack size issue: threads on linux have a
fixed size which is often smaller than the main stack size limit.

With an output width of 60 million, it's easy to see a failure, even on a main
stack.

hollerith:~/exp-string-width$ ulimit -Ss
8192
hollerith:~/exp-string-width$ /home/mec/gcc-4.2-20060624/install/bin/g++ z1.cc
hollerith:~/exp-string-width$ a.out > /dev/null
Segmentation fault

I agree, this would be best fixed, carefully, in mainline, and then flow into
releases in the fullness of time.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28277

Reply via email to