libstdc++/9828: Regression: Segmentation fault in num_put::put

jlquinn@optonline.net jlquinn@optonline.net
Tue Mar 25 15:40:00 GMT 2003


Paolo Carlini writes:
 > Hi Jerry,
 > 
 > on i686-pc-linux-gnu it's very easy to reproduce here, no special options, both
 > 3.3 and 3.4. The seg fault happens when _M_group_int tries to use __grouping,
 > in particular __grouping.size(). In _M_convert_int, __lc._M_use_grouping is equal
 > to 4 (true), but __lc._M_grouping is not a valid string:
 > 
 > (gdb) print __lc._M_grouping.data()
 > $3 = 0x0
 > 
 > Paolo.

Huh.  WHat I had done was check out 3.3 on i686-pc-linux-gnu, and
configure --with-system-zlib --enable-threads --with-cpu=athlon
--program-suffix=3.3.

I can rebootstrap with no options and see what happens.


 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9828
 > 



More information about the Gcc-bugs mailing list