public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Paolo Carlini <pcarlini@unitus.it>
To: jlquinn@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: libstdc++/9828: Regression: Segmentation fault in num_put::put
Date: Tue, 25 Mar 2003 13:15:00 -0000	[thread overview]
Message-ID: <20030325130600.9037.qmail@sources.redhat.com> (raw)

The following reply was made to PR libstdc++/9828; it has been noted by GNATS.

From: Paolo Carlini <pcarlini@unitus.it>
To: gcc-gnats@gcc.gnu.org,  peturr02@ru.is,  gcc-bugs@gcc.gnu.org, 
 gcc-prs@gcc.gnu.org,  jlquinn@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/9828: Regression: Segmentation fault in num_put::put
Date: Tue, 25 Mar 2003 14:06:31 +0100

 Jerry, this is a backtrace:
 
 (gdb) run
 
 Program received signal SIGSEGV, Segmentation fault.
 0x400a5ac9 in std::string::size() const (this=0x8049fd8) at 
 /home/paolo/Gcc/cvs-dirs/gcc-3_3-branch-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:408
 /home/paolo/Gcc/cvs-dirs/gcc-3_3-branch-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:408:13153:beg:0x400a5ac9
 (gdb) backtrace
 #0  0x400a5ac9 in std::string::size() const (this=0x8049fd8) at 
 /home/paolo/Gcc/cvs-dirs/gcc-3_3-branch-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:408
 #1  0x400a7bd9 in std::string::c_str() const (this=0x8049fd8) at 
 /home/paolo/Gcc/cvs-dirs/gcc-3_3-branch-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:803
 #2  0x40081750 in std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > >::_M_group_int(std::string const&, wchar_t, 
 std::ios_base&, wchar_t*, wchar_t*, int&) const (this=0x400e3d68, __grouping=@0x8049fd8, __sep=101, __io=@0x8049e50, __new=0xbffff41c, 
 __cs=0xbffff464, __len=@0xbffff484) at /home/paolo/Gcc/cvs-dirs/gcc-3_3-branch-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:757
 #3  0x400825e0 in std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, 
 std::char_traits<wchar_t> > >::_M_convert_int<long>(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&, wchar_t, long) 
 const (this=0x400e3d68, __s={<iterator<std::output_iterator_tag,void,void,void,void>> = {<No data fields>}, _M_sbuf = 0xbffff594, _M_failed = false}, 
 __io=@0x8049e50, __fill=32, __v=10) at /home/paolo/Gcc/cvs-dirs/gcc-3_3-branch-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:794
 #4  0x4008213a in std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > >::do_put(std::ostreambuf_iterator<wchar_t, 
 std::char_traits<wchar_t> >, std::ios_base&, wchar_t, long) const (this=0x400e3d68, __s={<iterator<std::output_iterator_tag,void,void,void,void>> = 
 {<No data fields>}, _M_sbuf = 0xbffff594, _M_failed = false}, __io=@0x8049e50, __fill=32, __v=10) at 
 /home/paolo/Gcc/cvs-dirs/gcc-3_3-branch-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:1008
 #5  0x4008134d in std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > >::put(std::ostreambuf_iterator<wchar_t, 
 std::char_traits<wchar_t> >, std::ios_base&, wchar_t, long) const (this=0x400e3d68, __s={<iterator<std::output_iterator_tag,void,void,void,void>> = 
 {<No data fields>}, _M_sbuf = 0xbffff594, _M_failed = false}, __f=@0x8049e50, __fill=32, __v=10) at 
 /home/paolo/Gcc/cvs-dirs/gcc-3_3-branch-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/locale_facets.h:866
 #6  0x080489be in main () at 9828.cc:13
 #7  0x40135ca6 in __libc_start_main (main=0x80488d4 <main>, argc=1, ubp_av=0xbffff6e4, init=0x8048b10 <__libc_csu_init>, fini=0x8048b40 
 <__libc_csu_fini>, rtld_fini=0x400158c0 <_rtld_local>, stack_end=0xbffff464) at ../sysdeps/generic/libc-start.c:152
 
 Paolo.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9828
 


             reply	other threads:[~2003-03-25 13:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-25 13:15 Paolo Carlini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-03 16:36 Benjamin Kosnik
2003-04-03 16:26 Benjamin Kosnik
2003-04-03 16:16 Benjamin Kosnik
2003-04-03 15:46 Pétur Runólfsson
2003-04-03 14:46 Jerry Quinn
2003-03-25 13:46 jlquinn
2003-03-25 13:06 Paolo Carlini
2003-03-25  6:46 Jerry Quinn
2003-03-24 13:41 paolo
2003-02-24  9:26 peturr02

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030325130600.9037.qmail@sources.redhat.com \
    --to=pcarlini@unitus.it \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=jlquinn@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).