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

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

Reduced to the following test case with BUILDMODE=debug,shared,threads,wide.

{noformat}
#include <iomanip>
#include <iostream>
#include <sstream>

int main ( )
{
    std::wcout.put(L'I');
    std::wistringstream in (std::ios::in | std::ios::out);
    return 0;
}
{noformat}

It has something to do with the (shared?) stream buffer AFAICT.

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

Reply via email to