Eric Lemings wrote:
Also runs successfully when built with Sun C++ 5.8 in
BUILDMODE=threads,shared,debug,wide.

Right, that's what our nightly build results indicate.

What I said was 15S (threads,archive,debug,wide), not 15D.

Note that we're using the base 5.8 release, not the latest
patch (the latest patch installed on marbles is 121018-13
from 2008/01/02). But they both exhibit the same problem.
The stack trace from the 15S build is attached.

Martin


-----Original Message-----
From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sebor
Sent: Wednesday, April 09, 2008 4:30 PM
To: [email protected]
Subject: Re: [jira] Commented: (STDCXX-828) [AMD64] SIGABRT in 27.istream.fmat.arith

Eric Lemings wrote:
-----Original Message-----
From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of
Martin Sebor
Sent: Wednesday, April 09, 2008 10:09 AM
To: [email protected]
Subject: Re: [jira] Commented: (STDCXX-828) [AMD64] SIGABRT in 27.istream.fmat.arith

The test also fails in 15D builds (on AMD64?) so you should be able
to get a full stack trace.
It doesn't fail in manual testing with this build config.  :(
Have you tried Sun C++ 5.8?

I see SIGABRT in 8D, 12D, and 12S with Sun C++ 5.9/Solaris 10/AMD64
and in 12D and 15S with Sun C++ 5.8/Solaris 10/AMD64 in nightly
builds.

Martin



# INFO (S1) (4 lines):
# TEXT: std::basic_istream<char, UserTraits<char>>::operator>>(long double&)
# CLAUSE: istream.formatted.arithmetic
# LINE: 677

$TOPDIRtests/src/printf.cpp:977: Assertion 'buf.endoff < *buf.pbufsize || 
!*buf.pbuf' failed.
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cE__rwQ__rw_assert_fail6Fpkc2i2_v_+0x8e
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cNrw_vasnprintf6FppcpLpkcpnR__va_list_element__i_+0x2ef
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cMrw_asnprintf6FppcpLpkcE_i_+0x1ee
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cM_rw_fmtflags6FrknHFmtSpec_rnGBuffer_i_i_+0xe5
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:0x2317dc
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:0x229e3b
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:0x23394e
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:0x233286
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:0x229e3b
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cNrw_vasnprintf6FppcpLpkcpnR__va_list_element__i_+0x4e3
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:0x234bea
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cKrw_fprintf6FpnHrw_file_pkcE_i_+0xb0
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cOtest_extractor4CcnKUserTraits4Cc__CD_6FpTApTBpTCpkc77i77LrknKLocaleData_iiiiiii44_v_+0x38d
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cOtest_extractor4CcnKUserTraits4Cc__CD_6FpTApTBpTCpkc777_v_+0x15c1
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cNtest_floating4CcnKUserTraits4Cc__CD_6FpTApTBpTCpkc777_v_+0x85
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cJtest_ldbl4CcnKUserTraits4Cc___6FpTApTBpkc5_v_+0xe4
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cOtest_extractor4CcnKUserTraits4Cc___6FpTApTBpkc5_v_+0x678
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:0x5e2f8
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cIrw_vtest6Fippcpkc33pFi1_i3pnR__va_list_element__i_+0x620
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:__1cHrw_test6Fippcpkc33pFi1_i3E_i_+0xde
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:main+0x157
/build/sebor/stdcxx-suncc-5.8-j13-15S/tests/27.istream.fmat.arith:0x5debc
[EMAIL PROTECTED] ([EMAIL PROTECTED]) signal ABRT (Abort) in __lwp_kill at 
0xfffffd7fff29e75a
0xfffffd7fff29e75a: __lwp_kill+0x000a:  jae      __lwp_kill+0x18        [ 
0xfffffd7fff29e768, .+0xe ]
Current function is __rw::__rw_assert_fail
  103       abort ();
(dbx) where
current thread: [EMAIL PROTECTED]
  [1] __lwp_kill(0x1, 0x6, 0xffffffffa43191e0, 0x3, 0xfffffd7fffdfbd60, 
0xfffffd7fff3c7360), at 0xfffffd7fff29e75a 
  [2] _thr_kill(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff299783 
  [3] raise(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff2477b9 
  [4] abort(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff22a7a0 
=>[5] __rw::__rw_assert_fail(expr = 0x67b5c0 "buf.endoff < *buf.pbufsize || 
!*buf.pbuf", file = 0x67b5e9 "$TOPDIRtests/src/printf.cpp", line = 977, func = 
(nil)), line 103 in "assert.cpp"
  [6] rw_vasnprintf(pbuf = 0xfffffd7fffdfd780, pbufsize = 0xfffffd7fffdfd6c8, 
fmt = 0x67d01a " | %{?}std::ios::%{;}base(%d)", varg = 0xfffffd7fffdfc070), 
line 977 in "printf.cpp"
  [7] rw_asnprintf(pbuf = 0xfffffd7fffdfd780, pbufsize = 0xfffffd7fffdfd6c8, 
fmt = 0x67d016 "%{+} | %{?}std::ios::%{;}base(%d)", ...), line 3219 in 
"printf.cpp"
  [8] _rw_fmtflags(spec = STRUCT, buf = STRUCT, bits = 65552386), line 213 in 
"fmt_bits.cpp"
  [9] _rw_vasnprintf_ext(pspec = 0xfffffd7fffdfcc28, paramno = 4U, buf = 
STRUCT, fmt = 0xfffffd7fffdfcadc "If", pva = 0xfffffd7fffdfeba8), line 2686 in 
"printf.cpp"
  [10] _rw_pvasnprintf(buf = STRUCT, fmt = 0x65dd5f "): initial flags() = 
%{If}, rdstate() = %{Is}, exceptions() = %{Is}, whitespace = %{#s}, numpunct = 
{ .dp=%{#c}, .ts=%{#c}, .grp=%{#s}, .fn=%{#s}, .tn=%{#s} }", pva = 
0xfffffd7fffdfeba8), line 806 in "printf.cpp"
  [11] _rw_fmtexpr(spec = STRUCT, buf = STRUCT, pva = 0xfffffd7fffdfeba8), line 
2987 in "printf.cpp"
  [12] _rw_vasnprintf_ext(pspec = 0xfffffd7fffdfe2f8, paramno = 0, buf = 
STRUCT, fmt = 0xfffffd7fffdfe1ac "$FUNCALL!:@", pva = 0xfffffd7fffdfeba8), line 
2915 in "printf.cpp"
  [13] _rw_pvasnprintf(buf = STRUCT, fmt = 0x65dd25 "%{$FUNCALL!:@}", pva = 
0xfffffd7fffdfeba8), line 806 in "printf.cpp"
  [14] rw_vasnprintf(pbuf = 0xfffffd7fffdfec78, pbufsize = 0xfffffd7fffdfec70, 
fmt = 0x65dd25 "%{$FUNCALL!:@}", varg = 0xfffffd7fffdfeda0), line 1011 in 
"printf.cpp"
  [15] _rw_vfprintf(file = (nil), fmt = 0x65dd25 "%{$FUNCALL!:@}", va = 
0xfffffd7fffdfeda0), line 3364 in "printf.cpp"
  [16] rw_fprintf(file = (nil), fmt = 0x65dd25 "%{$FUNCALL!:@}", ...), line 
3408 in "printf.cpp"
  [17] test_extractor<char,UserTraits<char>,long double>(_ARG1 = (nil), _ARG2 = 
(nil), _ARG3 = (nil), cname = 0x655f1d "char", tname = 0x655f22 
"UserTraits<char>", aname = 0xfffffd7fffdff37c "long double", line = 518, 
valfmt = 0xfffffd7fffdff388 "%Lg", cbuf = 0x667c70 " ", cbuf_size = 1U, 
locale_data = STRUCT, flags = 671289346, init_state = 0, exceptions = 0, 
expect_exception = 0, expect_state = 1, expect_extract = 0, fail_when = 1, 
init_value = 9.00000000000000000000000000000000000e+00, expect_value = 
9.00000000000000000000000000000000000e+00), line 331 in 
"27.istream.fmat.arith.cpp"
  [18] test_extractor<char,UserTraits<char>,long double>(_ARG1 = (nil), _ARG2 = 
(nil), _ARG3 = (nil), cname = 0x655f1d "char", tname = 0x655f22 
"UserTraits<char>", aname = 0xfffffd7fffdff37c "long double", fmt = 
0xfffffd7fffdff388 "%Lg"), line 518 in "27.istream.fmat.arith.cpp"
  [19] test_floating<char,UserTraits<char>,long double>(_ARG1 = (nil), _ARG2 = 
(nil), _ARG3 = (nil), cname = 0x655f1d "char", tname = 0x655f22 
"UserTraits<char>", fname = 0xfffffd7fffdff37c "long double", fmt = 
0xfffffd7fffdff388 "%Lg"), line 1127 in "27.istream.fmat.arith.cpp"
  [20] test_ldbl<char,UserTraits<char> >(_ARG1 = (nil), _ARG2 = (nil), cname = 
0x655f1d "char", tname = 0x655f22 "UserTraits<char>"), line 1208 in 
"27.istream.fmat.arith.cpp"
  [21] test_extractor<char,UserTraits<char> >(_ARG1 = (nil), _ARG2 = (nil), 
cname = 0x655f1d "char", tname = 0x655f22 "UserTraits<char>"), line 1299 in 
"27.istream.fmat.arith.cpp"
  [22] run_test(_ARG1 = 1, _ARG2 = 0xfffffd7fffdff958), line 1325 in 
"27.istream.fmat.arith.cpp"
  [23] rw_vtest(argc = 1, argv = 0xfffffd7fffdff958, file_name = 0x656004 
"$TOPDIRtests/iostream/27.istream.fmat.arith.cpp", clause = 0x656045 
"istream.formatted.arithmetic", comment = (nil), fun = 0x45e1a0 = 
&`27.istream.fmat.arith`27.istream.fmat.arith.cpp`run_test(int,char**), optstr 
= 0x656062 "|-char~ |-wchar_t~ |-char_traits~ |-UserTraits~ |-bool~ |-short~ 
|-unsigned-short~ |-int~ |-unsigned-int~ |-long~ |-unsigned-long~ |-long-long~ 
|-unsigned-long-long~ |-float~ |-double~ |-long-double~ |-no-gcount# ", va = 
0xfffffd7fffdff810), line 1040 in "driver.cpp"
  [24] rw_test(argc = 1, argv = 0xfffffd7fffdff958, fname = 0x656004 
"$TOPDIRtests/iostream/27.istream.fmat.arith.cpp", clause = 0x656045 
"istream.formatted.arithmetic", comment = (nil), testfun = 0x45e1a0 = 
&`27.istream.fmat.arith`27.istream.fmat.arith.cpp`run_test(int,char**), optstr 
= 0x656062 "|-char~ |-wchar_t~ |-char_traits~ |-UserTraits~ |-bool~ |-short~ 
|-unsigned-short~ |-int~ |-unsigned-int~ |-long~ |-unsigned-long~ |-long-long~ 
|-unsigned-long-long~ |-float~ |-double~ |-long-double~ |-no-gcount# ", ...), 
line 1137 in "driver.cpp"
  [25] main(argc = 1, argv = 0xfffffd7fffdff958), line 1348 in 
"27.istream.fmat.arith.cpp"

Reply via email to