You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/11/14 02:00:39 UTC

[jira] Commented: (STDCXX-44) [MIPSpro 7.41] crashes due to conflicts with libCio.so

    [ http://issues.apache.org/jira/browse/STDCXX-44?page=comments#action_12449534 ] 
            
Martin Sebor commented on STDCXX-44:
------------------------------------

Fix applied here: http://svn.apache.org/viewvc?view=rev&revision=292861

> [MIPSpro 7.41] crashes due to conflicts with libCio.so
> ------------------------------------------------------
>
>                 Key: STDCXX-44
>                 URL: http://issues.apache.org/jira/browse/STDCXX-44
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.2
>         Environment: SGI MIPSpro 7.41
>            Reporter: Martin Sebor
>         Assigned To: Martin Sebor
>            Priority: Blocker
>             Fix For: 4.1.3
>
>
> Programs linked with the shared version of the library crash at runtime due to conflicts with the native implementation of the C++ Standard Library, libC.so and libCio.so.
> Read the thread below for background:
> http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200509.mbox/%3c433D7933.1070905@roguewave.com%3e
> Here's the relevant info from the email:
> ...The stack trace below shows that the crash is due to an ODR violation: the program contains both the native C++ Standard Library and ours...
> (dbx) where
>  >  0 std::ios_base::~ios_base(void)(this = 0x4f5f84, <no name> = 0) ["/build/sebor/dev/stdlib/src/ios.cpp":87, 0x43b8fc]
>     1 std::basic_ios<char,std::char_traits<char>  >::~basic_ios<char,std::char_traits<char> >(void)(0x4f5f84, 0x0, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/include/ios":355, 0x73209c]
>     2 ::cleanup(a_rt_region*)(0x4f5f84, 0x7c9068, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) 
> ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/lang_support/throw.cxx":1169, 0xacb464c]
>     3 ::__throw(0x4f5f84, 0x7c9068, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/lang_support/throw.cxx":1719, 0xacb5264]
>     4 std::ios_base::_M_throw_failure(void)(0x4f5f84, 0x7c9068, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/new_iostreams/ios.cxx":195, 0x730224]
>     5 std::basic_ios<char,std::char_traits<char>  >::rdbuf(std::basic_streambuf<char,std::char_traits<char> >*)(0x4f5f84, 0x7c9068, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/include/ios":182, 0x730548]
>     6 std::basic_ios<char,std::char_traits<char> >::init(std::basic_streambuf<char,std::char_traits<char> >*)(0x4f5f84, 0x7c9068, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/include/ios":505, 0x7307cc]
>     7 std::basic_istream<char,std::char_traits<char> >::basic_istream<char,std::char_traits<char>  >(std::basic_streambuf<char,std::char_traits<char> >*)(0x4f5f78, 0x4f5f84, 0x0, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/include/istream":376, 0x73215c]
>     8 std::ios_base::_S_initialize(void)(0x4f5f84, 0x7c9068, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/new_iostreams/iostream.cxx":91, 0x731800]
>     9 <Unknown>(0x4f5f84, 0x7c9068, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/include/ios":235, 0x726114]
>     10 ::_main(0x4f5f84, 0x7c9068, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/lang_support/c++init.cxx":132, 0x71afe8]
>     11 <Unknown>() [< unknown >, 0x7b277c]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira