This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]