Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 50756 invoked from network); 27 Mar 2007 23:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2007 23:40:54 -0000 Received: (qmail 30765 invoked by uid 500); 27 Mar 2007 23:41:01 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 30704 invoked by uid 500); 27 Mar 2007 23:41:01 -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 30650 invoked by uid 99); 27 Mar 2007 23:41:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 16:41:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 16:40:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C082F71406D for ; Tue, 27 Mar 2007 16:40:32 -0700 (PDT) Message-ID: <18679683.1175038832785.JavaMail.jira@brutus> Date: Tue, 27 Mar 2007 16:40:32 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Updated: (STDCXX-180) [gcc 4.1/Solaris 9] SIGSEGV when SIGABRT expected In-Reply-To: <15434049.1147802165895.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor updated STDCXX-180: -------------------------------- Summary: [gcc 4.1/Solaris 9] SIGSEGV when SIGABRT expected (was: [gcc 4.1/Solaris9] SIGSEGV when SIGABRT expected) > [gcc 4.1/Solaris 9] SIGSEGV when SIGABRT expected > ------------------------------------------------- > > Key: STDCXX-180 > URL: https://issues.apache.org/jira/browse/STDCXX-180 > Project: C++ Standard Library > Issue Type: Bug > Components: Configuration > Affects Versions: 4.1.3 > Environment: gcc 4.1/Solaris 9 > Reporter: Martin Sebor > Priority: Minor > > The program below is expected to print the stack trace and exit with SIGABRT when compiled in debug mode. Instead it fails to print the stack trace and exits with SIGSEGV. > $ cat v.cpp && nice make v && ./v > #include > int main () > { > std::vector v1; > std::vector v2; > v1.erase (v2.begin (), v2.end ()); > } > gcc -c -I/build/sebor/dev/stdlib/include/ansi -D_RWSTDDEBUG -pthreads -D_RWSTD_USE_CONFIG -I/build/sebor/gcc-4.1.0-15s/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/../rwtest -I/build/sebor/dev/stdlib/../rwtest/include -I/build/sebor/dev/stdlib/tests/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long v.cpp > gcc v.o -o v -L/build/sebor/gcc-4.1.0-15s/rwtest -lrwtest15s -pthreads -L/build/sebor/gcc-4.1.0-15s/lib -lstd15s -lsupc++ -lm > /build/sebor/dev/stdlib/include/vector:618: typename std::vector<_TypeT, _Allocator>::iterator std::vector<_TypeT, _Allocator>::erase(__rw::__rw_debug_iter, typename _Allocator::pointer, typename _Allocator::pointer>, __rw::__rw_debug_iter, typename _Allocator::pointer, typename _Allocator::pointer>) [with _TypeT = int, _Allocator = std::allocator]: Assertion '_RW::__rw_valid_range (begin (), __first)' failed. > Segmentation Fault (core dumped) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.