stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott (Yu) Zhong (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-380) [GCC 4.1.2] segv on 22.locale.ctype
Date Fri, 30 Mar 2007 21:59:25 GMT
[GCC 4.1.2] segv on 22.locale.ctype
-----------------------------------

                 Key: STDCXX-380
                 URL: https://issues.apache.org/jira/browse/STDCXX-380
             Project: C++ Standard Library
          Issue Type: Bug
          Components: 22. Localization
    Affects Versions: 4.2
         Environment: openSuSE 10.2, gcc 4.1.2, x86
            Reporter: Scott (Yu) Zhong


http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200703.mbox/%3cD730FF7CEDDCA64483F9E99D999A158B1556FB@qxvcexch01.ad.quovadx.com%3e

stack trace:

#0  0xb7d9dad9 in memchr () from /lib/libc.so.6
#1  0xb7f0012a in __rw::__rw_memattr (addr=0xffffffa5, nbytes=4294967295, attr=-1) at /home/scottz/stdcxx/src/memattr.cpp:211
#2  0x08069dca in _rw_fmtarray<char> (spec=@0xbfa194a4, buf=@0xbfa19ad0, 
    array=0xffffffa5 <Address 0xffffffa5 out of bounds>, nelems=4294967295, flags=3)
    at /home/scottz/stdcxx/tests/src/printf.cpp:1936
#3  0x0805f073 in _rw_fmtstr (spec=@0xbfa194a4, buf=@0xbfa19ad0, str=0xffffffa5 <Address
0xffffffa5 out of bounds>, 
    len=4294967295) at /home/scottz/stdcxx/tests/src/printf.cpp:2370
#4  0x08062096 in _rw_vasnprintf_c99 (pspec=0xbfa193dc, paramno=5, buf=@0xbfa19ad0, pva=0xbfa19ac8)
    at /home/scottz/stdcxx/tests/src/printf.cpp:597
#5  0x08063d42 in _rw_pvasnprintf (buf=@0xbfa19ad0, fmt=0x807159c ") returned false in locale(%#s)",
pva=0xbfa19ac8)
    at /home/scottz/stdcxx/tests/src/printf.cpp:901
#6  0x080640cc in rw_vasnprintf (pbuf=0xbfa19b9c, pbufsize=0xbfa19ae0, 
    fmt=0x8071514 "ctype<%s>::is (std::ctype_base::alpha, %{#lc}) || !ctype<char>::is
(std::ctype_base::alpha, ctype<%1$s>::narrow (%{#lc}, %{#c}) = %{#lc}) returned false
in locale(%#s)", varg=0xbfa19c50 "G\034\a\b\220")
    at /home/scottz/stdcxx/tests/src/printf.cpp:1013
#7  0x0805b4ab in _rw_vissue_diag (diag=diag_assert, severity=7, file=0x0, line=1120, 
    fmt=0x8071514 "ctype<%s>::is (std::ctype_base::alpha, %{#lc}) || !ctype<char>::is
(std::ctype_base::alpha, ctype<%1$s>::narrow (%{#lc}, %{#c}) = %{#lc}) returned false
in locale(%#s)", va=0xbfa19c50 "G\034\a\b\220")
    at /home/scottz/stdcxx/tests/src/driver.cpp:1244
#8  0x0805b9e2 in _rw_vdiag (diag=diag_assert, severity=7, file=0x0, line=1120, 
    fmt=0x8071514 "ctype<%s>::is (std::ctype_base::alpha, %{#lc}) || !ctype<char>::is
(std::ctype_base::alpha, ctype<%1$s>::narrow (%{#lc}, %{#c}) = %{#lc}) returned false
in locale(%#s)", va=0xbfa19c50 "G\034\a\b\220")
    at /home/scottz/stdcxx/tests/src/driver.cpp:1428
#9  0x0805bb5a in rw_assert (success=0, file=0x0, line=1120,
fmt=0x8071514 "ctype<%s>::is (std::ctype_base::alpha, %{#lc}) || !ctype<char>::is
(std::ctype_base::alpha, ctype<%1$s>::narrow (%{#lc}, %{#c}) = %{#lc}) returned false
in locale(%#s)") at /home/scottz/stdcxx/tests/src/driver.cpp:1481
#10 0x0805696f in test_narrow_widen<wchar_t> (cname=0x8071c47 "wchar_t")
    at /home/scottz/stdcxx/tests/localization/22.locale.ctype.cpp:1120
#11 0x080577f9 in test_libc<wchar_t> (cname=0x8071c47 "wchar_t")
    at /home/scottz/stdcxx/tests/localization/22.locale.ctype.cpp:1417
#12 0x0805784e in run_test<wchar_t> (cname=0x8071c47 "wchar_t")
    at /home/scottz/stdcxx/tests/localization/22.locale.ctype.cpp:1680
#13 0x0804b802 in run_test () at /home/scottz/stdcxx/tests/localization/22.locale.ctype.cpp:1689
#14 0x0805c0a5 in rw_vtest (argc=1, argv=0xbfa1aff4, 
    file_name=0x8070154 "/home/scottz/stdcxx/tests/localization/22.locale.ctype.cpp", 
    clause=0x8070141 "lib.category.ctype", comment=0x0, fun=0x804b7d4 <run_test>, optstr=0x8070140
"", 
    va=0xbfa1af4c "") at /home/scottz/stdcxx/tests/src/driver.cpp:1038
#15 0x0805c40e in rw_test (argc=1, argv=0xbfa1aff4, 
    fname=0x8070154 "/home/scottz/stdcxx/tests/localization/22.locale.ctype.cpp", 
    clause=0x8070141 "lib.category.ctype", comment=0x0, testfun=0x804b7d4 <run_test>,
optstr=0x8070140 "")
    at /home/scottz/stdcxx/tests/src/driver.cpp:1136
#16 0x0804a816 in main (argc=Cannot access memory at address 0x0
) at /home/scottz/stdcxx/tests/localization/22.locale.ctype.cpp:1703


-- 
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