stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STDCXX-653) [IBM XLC++ 9.0/AIX 5.3] SIGSEGV in 27.istream.fmat.arith
Date Thu, 08 Nov 2007 04:58:51 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Sebor updated STDCXX-653:
--------------------------------

    Severity: Runtime Error  (was: Incorrect Behavior)

> [IBM XLC++ 9.0/AIX 5.3] SIGSEGV in 27.istream.fmat.arith
> --------------------------------------------------------
>
>                 Key: STDCXX-653
>                 URL: https://issues.apache.org/jira/browse/STDCXX-653
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.2.0
>            Reporter: Travis Vitek
>             Fix For: 4.2.1
>
>
> Appears to only affect 32-bit builds.
> # INFO (S1) (4 lines):
> # TEXT: std::istream::operator>>(long long&)
> # CLAUSE: istream.formatted.arithmetic
> # LINE: 677
> Segmentation fault in memchr.memchr at 0xd020ea10
> 0xd020ea10 (memchr+0x18) 8ca40001       lbzu   r5,0x1(r4)
> (dbx) where
> memchr.memchr(??, ??, ??) at 0xd020ea10
> collate.memchr(const void*,int,unsigned long)(0xffffffff, 0x0, 0x1), line 125 in "string.h"
> unnamed block $b702, line 221 in "memattr.cpp"
> unnamed block $b700, line 221 in "memattr.cpp"
> __rw_memattr(const void*,unsigned long,int)(addr = 0xffffffff, nbytes = 4294967295, attr
= -1), line 221 in "memattr.cpp"
> printf.strlen(const char*)(0x2ff20d58, 0x2ff21420, 0xffffffff, 0xffffffff, 0x3), line
1939 in "printf.cpp"
> unnamed block $b505, line 2897 in "printf.cpp"
> _rw_vasnprintf_ext(FmtSpec*,unsigned long,Buffer&,const char*,VarArgs*)(pspec = 0x2ff20c08,
paramno = 7, buf = &(...), fmt = "#s", pva = 0x2ff22248), line 2897 in "printf.cpp"
> unnamed block $b520, line 810 in "printf.cpp"
> unnamed block $b518, line 810 in "printf.cpp"
> _rw_pvasnprintf(Buffer&,const char*,VarArgs*)(buf = &(...), fmt = ", whitespace
= %{#s}, numpunct = { .dp=%{#c}, .ts=%{#c}, .grp=%{#s}, .fn=%{#s}, .tn=%{#s} }", pva = 0x2ff22248),
line 810 in "printf.cpp"
> unnamed block $b482, line 3031 in "printf.cpp"
> _rw_fmtexpr(FmtSpec&,Buffer&,VarArgs*)(spec = &(...), buf = &(...), pva
= 0x2ff22248), line 3031 in "printf.cpp"
> _rw_vasnprintf_ext(FmtSpec*,unsigned long,Buffer&,const char*,VarArgs*)(pspec = 0x2ff21a38,
paramno = 0, buf = &(...), fmt = "$FUNCALL!:@", pva = 0x2ff22248), line 2959 in "printf.cpp"
> unnamed block $b520, line 810 in "printf.cpp"
> unnamed block $b518, line 810 in "printf.cpp"
> _rw_pvasnprintf(Buffer&,const char*,VarArgs*)(buf = &(...), fmt = "%{$FUNCALL!:@}",
pva = 0x2ff22248), line 810 in "printf.cpp"
> rw_vasnprintf(char**,unsigned long*,const char*,char*)(pbuf = 0x2ff222d0, pbufsize =
0x2ff222d4, fmt = "%{$FUNCALL!:@}", varg = "^P!\322\300"), line 1013 in "printf.cpp"
> _rw_vfprintf(rw_file*,const char*,char*)(file = (nil), fmt = "%{$FUNCALL!:@}", va = "^P!\322\300"),
line 3401 in "printf.cpp"
> rw_fprintf(rw_file*,const char*,...)(file = (nil), fmt = "%{$FUNCALL!:@}", ... = 0x1021d2c0,
0x1, 0x1021d078, 0x1021db24, 0x1021db2c, 0x1), line 3453 in "printf.cpp"
> 27.istream.fmat.arith.void test_extractor<char,std::char_traits<char>,long>(char*,std::char_traits<char>*,long*,const
char*,const char*,const char*,int,const char*,const char*,unsigned long,const LocaleData&,int,int,int,int,int,int,int,long,long)(
= (nil),  = (nil),  = (nil), cname = "char", tname = "std::char_traits<char>", aname
= "long", line = 489, valfmt = "%lli", cbuf = "", cbuf_size = 0, locale_data = &(...),
flags = 671092738, init_state = 0, exceptions = 0, expect_exception = 0, expect_state = 6,
expect_extract = 0, fail_when = 0, init_value = 1, expect_value = 1), line 331 in "27.istream.fmat.arith.cpp"
> 27.istream.fmat.arith.void test_extractor<char,std::char_traits<char>,long>(char*,std::char_traits<char>*,long*,const
char*,const char*,const char*,const char*)( = (nil),  = (nil),  = (nil), cname = "char", tname
= "std::char_traits<char>", aname = "long", fmt = "%lli"), line 489 in "27.istream.fmat.arith.cpp"
> 27.istream.fmat.arith.void test_llong<char,std::char_traits<char> >(char*,std::char_traits<char>*,const
char*,const char*)( = (nil),  = (nil), cname = "char", tname = "std::char_traits<char>"),
line 1028 in "27.istream.fmat.arith.cpp"
> 27.istream.fmat.arith.void test_extractor<char,std::char_traits<char> >(char*,std::char_traits<char>*,const
char*,const char*)( = (nil),  = (nil), cname = "char", tname = "std::char_traits<char>"),
line 1283 in "27.istream.fmat.arith.cpp"
> run_test(int,char**)( = 1,  = 0x2ff22a70), line 1320 in "27.istream.fmat.arith.cpp"
> rw_vtest(int,char**,const char*,const char*,const char*,int(*)(int,char**),const char*,char*)(argc
= 1, argv = 0x2ff22a70, file_name = "/amd/devco/vitek/stdcxx-trunk/tests/iostream/27.istream.fmat.arith.cpp",
clause = "istream.formatted.arithmetic", comment = (nil), fun = 0x200109a8, optstr = "|-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 = " ^A{\300 ^A{\304 ^A{\310 ^A{\314 ^A\216  ^A\216$ ^A\216( ^A\216, ^A\2160
^A\2164 ^A\2168 ^A\216< ^A\216@ ^A\216D ^A\216H ^A\216L ^A\216^\"), line 1030 in "driver.cpp"
> rw_test(int,char**,const char*,const char*,const char*,int(*)(int,char**),const char*,...)(argc
= 1, argv = 0x2ff22a70, fname = "/amd/devco/vitek/stdcxx-trunk/tests/iostream/27.istream.fmat.arith.cpp",
clause = "istream.formatted.arithmetic", comment = (nil), testfun = 0x200109a8, optstr = "|-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# ", ... = 0x20017bc0), line 1128 in "driver.cpp"
> main(argc = 1, argv = 0x2ff22a70), line 1348 in "27.istream.fmat.arith.cpp"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message