stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-826) [Sun C++] SIGABRT in istringstream example
Date Mon, 07 Apr 2008 16:15:25 GMT

    [ https://issues.apache.org/jira/browse/STDCXX-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586453#action_12586453
] 

Eric Lemings commented on STDCXX-826:
-------------------------------------

Output of program:
{noformat}
/source/stdcxx/trunk/src/wcodecvt.cpp:1098: Assertion '0 != mbstate_valid' failed.
/build/stdcxx/lib/libstd.so.4.2.0:void __rw::__rw_assert_fail(const char*,const char*,int,const
char*)+0xc8
/build/stdcxx/lib/libstd.so.4.2.0:std::codecvt_base::result std::codecvt<wchar_t,char,__mbstate_t>::do_out(__mbstate_t&,const
wchar_t*,const wchar_t*,const wchar_t*&,char*,char*,char*&)const+0x21c
/build/stdcxx/lib/libstd.so.4.2.0:std::codecvt_base::result std::codecvt<wchar_t,char,__mbstate_t>::out(__mbstate_t&,const
wchar_t*,const wchar_t*,const wchar_t*&,char*,char*,char*&)const+0x94
/build/stdcxx/lib/libstd.so.4.2.0:long std::wfilebuf::xsputn(const wchar_t*,long)+0x56c
/build/stdcxx/lib/libstd.so.4.2.0:int std::wfilebuf::overflow(int)+0x278
/build/stdcxx/lib/libstd.so.4.2.0:int std::wfilebuf::sync()+0xa8
/build/stdcxx/examples/istringstream:int std::wstreambuf::pubsync()+0x18
/build/stdcxx/examples/istringstream:std::wostream::sentry::~sentry()+0x114
/build/stdcxx/examples/istringstream:std::basic_ostream<__type_0,__type_1>&__rw::__rw_insert<wchar_t,std::char_traits<wchar_t>,wchar_t>(std::basic_ostream<__type_0,__type_1>&,const
__type_2*,long,long)+0x32c
/build/stdcxx/examples/istringstream:std::wostream &std::wostream::put(wchar_t)+0x20
/build/stdcxx/examples/istringstream:main+0x254
/build/stdcxx/examples/istringstream:_start+0x17c
Abort (core dumped)
{noformat}

> [Sun C++] SIGABRT in istringstream example
> ------------------------------------------
>
>                 Key: STDCXX-826
>                 URL: https://issues.apache.org/jira/browse/STDCXX-826
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 4.2.0
>         Environment: Sun C++/Solaris (both AMD64 and SPARC)
>            Reporter: Martin Sebor
>            Assignee: Eric Lemings
>             Fix For: 4.2.1
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> When compiled with Sun C++ on Solaris, the example program [istringstream.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/examples/manual/istringstream.cpp]
abends with SIGABRT at runtime. Observed intermittently in 11D, 15D, and 15S builds both in
4.2.0 results and in those with the head of trunk.

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