public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Andrew Pollard <Andrew.Pollard@brooks-pri.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: libstdc++/6784: SEGV using istream >> operator under gcc-3.1/sun-sparc-solaris2.6 Date: Thu, 23 May 2002 10:46:00 -0000 [thread overview] Message-ID: <20020523174604.7873.qmail@sources.redhat.com> (raw) The following reply was made to PR libstdc++/6784; it has been noted by GNATS. From: Andrew Pollard <Andrew.Pollard@brooks-pri.com> To: bkoz@gcc.gnu.org, Andrew.Pollard@brooks-pri.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: libstdc++/6784: SEGV using istream >> operator under gcc-3.1/sun-sparc-solaris2.6 Date: Thu, 23 May 2002 18:40:03 +0100 bkoz@gcc.gnu.org wrote: > Synopsis: SEGV using istream >> operator under gcc-3.1/sun-sparc-solaris2.6 > > State-Changed-From-To: open->analyzed > State-Changed-By: bkoz > State-Changed-When: Thu May 23 08:37:20 2002 > State-Changed-Why: > Why? I don't have access to a Solaris 2.6 box so you'll have to be more descriptive. Does the libstdc++ test suite run? Any extra fails there? > > -benjamin > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6784 > > OK. Just managed to run the libstdc++ tests I'm using the following dejagnu... % runtest --version Expect version is 5.37.2 Tcl version is 8.3 Framework version is 1.4.2 sparc-sun-solaris2.8: XPASS: 22_locale/collate_members_wchar_t.cc execution test XPASS: 22_locale/money_get_members_wchar_t.cc execution test XPASS: 22_locale/money_put_members_wchar_t.cc execution test XPASS: 22_locale/moneypunct_members_wchar_t.cc execution test XPASS: 22_locale/num_get_members_wchar_t.cc execution test XPASS: 22_locale/num_put_members_wchar_t.cc execution test XPASS: 22_locale/numpunct_members_wchar_t.cc execution test XPASS: 22_locale/time_get_members_wchar_t.cc execution test XPASS: 22_locale/time_put_members_wchar_t.cc execution test FAIL: 27_io/istream_extractor_arith.cc execution test FAIL: thread/pthread1.cc (test for excess errors) WARNING: thread/pthread1.cc compilation failed to produce executable FAIL: thread/pthread2.cc (test for excess errors) WARNING: thread/pthread2.cc compilation failed to produce executable FAIL: thread/pthread3.cc (test for excess errors) WARNING: thread/pthread3.cc compilation failed to produce executable FAIL: thread/pthread4.cc (test for excess errors) WARNING: thread/pthread4.cc compilation failed to produce executable FAIL: thread/pthread5.cc (test for excess errors) WARNING: thread/pthread5.cc compilation failed to produce executable FAIL: thread/pthread6.cc (test for excess errors) WARNING: thread/pthread6.cc compilation failed to produce executable === libstdc++-v3 Summary === # of expected passes 362 # of unexpected failures 7 # of unexpected successes 9 # of expected failures 16 The pthreads ones can't seem to find things like pthread_mutex_init while compiling. 27_io/istream_extractor_arith.cc SEGV's in #0 0xff30c620 in number () from /usr/lib/libc.so.1 #1 0xff30c290 in __doscan_u () from /usr/lib/libc.so.1 #2 0xff310e90 in sscanf () from /usr/lib/libc.so.1 #3 0x00039670 in void std::__convert_to_v<long double>(char const*, long double&, std::_Ios_Iostate&, int* const&, int) ( __s=0x6752c "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"..., __v=@0xffbef9f8, __err=@0xffbef948) at c++locale.cc:192 Segmentation fault (core dumped) sun-sparc-solaris2.6 FAIL: 21_strings/inserters_extractors.cc execution test XPASS: 22_locale/collate_members_wchar_t.cc execution test XPASS: 22_locale/money_get_members_wchar_t.cc execution test XPASS: 22_locale/money_put_members_wchar_t.cc execution test XPASS: 22_locale/moneypunct_members_wchar_t.cc execution test XPASS: 22_locale/num_get_members_wchar_t.cc execution test XPASS: 22_locale/num_put_members_wchar_t.cc execution test XPASS: 22_locale/numpunct_members_wchar_t.cc execution test XPASS: 22_locale/time_get_members_wchar_t.cc execution test XPASS: 22_locale/time_put_members_wchar_t.cc execution test FAIL: 24_iterators/istream_iterator.cc execution test FAIL: 26_numerics/complex_inserters_extractors.cc execution test FAIL: 27_io/instantiations.cc execution test FAIL: 27_io/istream_extractor_arith.cc execution test FAIL: 27_io/istream_extractor_char.cc execution test FAIL: 27_io/istream_extractor_other.cc execution test FAIL: 27_io/istream_manip.cc execution test FAIL: 27_io/istream_seeks.cc execution test FAIL: 27_io/istream_sentry.cc execution test FAIL: 27_io/istream_unformatted.cc execution test FAIL: 27_io/istringstream_members.cc execution test FAIL: 27_io/ostream_inserter_arith.cc execution test FAIL: 27_io/ostream_inserter_other.cc execution test FAIL: 27_io/stringstream_members.cc execution test FAIL: thread/pthread1.cc (test for excess errors) WARNING: thread/pthread1.cc compilation failed to produce executable FAIL: thread/pthread2.cc (test for excess errors) WARNING: thread/pthread2.cc compilation failed to produce executable FAIL: thread/pthread3.cc (test for excess errors) WARNING: thread/pthread3.cc compilation failed to produce executable FAIL: thread/pthread4.cc (test for excess errors) WARNING: thread/pthread4.cc compilation failed to produce executable FAIL: thread/pthread5.cc (test for excess errors) WARNING: thread/pthread5.cc compilation failed to produce executable FAIL: thread/pthread6.cc (test for excess errors) WARNING: thread/pthread6.cc compilation failed to produce executable === libstdc++-v3 Summary === # of expected passes 348 # of unexpected failures 21 # of unexpected successes 9 # of expected failures 16 21_strings/inserters_extractors.cc SEGVs in #0 0x0002a8e0 in std::istream::sentry::sentry(std::istream&, bool) ( this=0xeffff7e7, __in=@0xeffffa40, __noskipws=115) at /disks/primo4/workplaces/andrewp/gnu/gcc-3.1-standard-build/sparc-sun-solaris2.6/libstdc++-v3/include/sparc-sun-solaris2.6/bits/ctype_inline.h:40 #1 0x0002eef0 in std::basic_istream<char, std::char_traits<char> >& std::operator>><char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (__in=@0xeffffa40, __str=@0xeffffb38) at /disks/primo4/workplaces/andrewp/gnu/gcc-3.1-standard-build/sparc-sun-solaris2.6/libstdc++-v3/include/bits/istream.tcc:1133 #2 0x000114dc in test01() () at /disks/arlene/gnu/gcc-3.1/libstdc++-v3/testsuite/21_strings/inserters_extractors.cc:54 #3 0x00013420 in main () at /disks/arlene/gnu/gcc-3.1/libstdc++-v3/testsuite/21_strings/inserters_extractors.cc:346 much like where I saw the failure (in ctype_inline.h) Let me know how I can provide you with more information. Cheers, Andrew. -- Andrew Pollard - Senior Software Engineer (APF) Brooks-PRI Automation - Planning and Logistics Solutions Email: Andrew.Pollard@brooks-pri.com - Tel: +44 (0)118 9215603
next reply other threads:[~2002-05-23 17:46 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-05-23 10:46 Andrew Pollard [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-05-29 2:16 bkoz 2002-05-29 2:16 Benjamin Kosnik 2002-05-28 10:18 Andrew Pollard 2002-05-27 4:57 bkoz 2002-05-27 4:53 Benjamin Kosnik 2002-05-27 4:26 Andrew Pollard 2002-05-27 3:16 Gabriel Dos Reis 2002-05-27 2:46 Benjamin Kosnik 2002-05-27 2:39 Gabriel Dos Reis 2002-05-27 2:36 Benjamin Kosnik 2002-05-26 7:26 Gabriel Dos Reis 2002-05-24 10:27 Phil Edwards 2002-05-24 9:56 Benjamin Kosnik 2002-05-23 8:37 bkoz 2002-05-23 6:26 Andrew.Pollard
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=20020523174604.7873.qmail@sources.redhat.com \ --to=andrew.pollard@brooks-pri.com \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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: linkBe 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).