From stdcxx-dev-return-235-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Fri Sep 30 20:21:11 2005 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 52454 invoked from network); 30 Sep 2005 20:21:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Sep 2005 20:21:11 -0000 Received: (qmail 97834 invoked by uid 500); 30 Sep 2005 20:21:11 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 97796 invoked by uid 500); 30 Sep 2005 20:21:10 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 97783 invoked by uid 99); 30 Sep 2005 20:21:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2005 13:21:08 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id D67FDE0 for ; Fri, 30 Sep 2005 22:20:47 +0200 (CEST) Message-ID: <148592727.1128111647876.JavaMail.jira@ajax.apache.org> Date: Fri, 30 Sep 2005 22:20:47 +0200 (CEST) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-44) [MIPSpro 7.41] crashes due to conflicts with libCio.so Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [MIPSpro 7.41] crashes due to conflicts with libCio.so ------------------------------------------------------ Key: STDCXX-44 URL: http://issues.apache.org/jira/browse/STDCXX-44 Project: STDCXX Type: Bug Components: Build 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, = 0) ["/build/sebor/dev/stdlib/src/ios.cpp":87, 0x43b8fc] 1 std::basic_ios >::~basic_ios >(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 >::rdbuf(std::basic_streambuf >*)(0x4f5f84, 0x7c9068, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/include/ios":182, 0x730548] 6 std::basic_ios >::init(std::basic_streambuf >*)(0x4f5f84, 0x7c9068, 0x7c9460, 0x0, 0x1, 0x7c9460, 0x1, 0x5d6f480) ["/j10/mtibuild/v741m/workarea/v7.4.1m/libC/include/ios":505, 0x7307cc] 7 std::basic_istream >::basic_istream >(std::basic_streambuf >*)(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 (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 >, 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