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> ([EMAIL PROTECTED], [EMAIL PROTECTED], 
    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 ([EMAIL PROTECTED], [EMAIL PROTECTED], 
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, [EMAIL 
PROTECTED], pva=0xbfa19ac8)
    at /home/scottz/stdcxx/tests/src/printf.cpp:597
#5  0x08063d42 in _rw_pvasnprintf ([EMAIL PROTECTED], 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


Yu (Scott) Zhong

Reply via email to