This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/9828: Regression: Segmentation fault in num_put::put
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: gcc-gnats at gcc dot gnu dot org, peturr02 at ru dot is, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jlquinn at gcc dot gnu dot org
- Date: Tue, 25 Mar 2003 14:02:05 +0100
- Subject: Re: libstdc++/9828: Regression: Segmentation fault in num_put::put
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.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9828