Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 95646 invoked from network); 27 Feb 2006 18:49:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 18:49:33 -0000 Received: (qmail 25701 invoked by uid 500); 27 Feb 2006 18:49:33 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 25652 invoked by uid 500); 27 Feb 2006 18:49:33 -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 25641 invoked by uid 99); 27 Feb 2006 18:49:33 -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; Mon, 27 Feb 2006 10:49:21 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 66784DD for ; Mon, 27 Feb 2006 19:48:54 +0100 (CET) Message-ID: <777304313.1141066134418.JavaMail.jira@ajax.apache.org> Date: Mon, 27 Feb 2006 19:48:54 +0100 (CET) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-156) [NetBSD 3.0] SIGSEGV in tests/self/printf.cpp 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 [NetBSD 3.0] SIGSEGV in tests/self/printf.cpp --------------------------------------------- Key: STDCXX-156 URL: http://issues.apache.org/jira/browse/STDCXX-156 Project: C++ Standard Library Type: Bug Components: Tests Versions: 4.1.3 Reporter: Martin Sebor >From http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200602.mbox/%3c43FF6F6E.6040305@roguewave.com%3e: While running the different executables in the stdcxx test suite, I encountered a segfault executing the printf selftest. The following is the backtrace. > td143.testdrive.hp.com> gdb 0.printf > GNU gdb 5.3nb1 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386--netbsdelf"... > (gdb) run > Starting program: /tmp/ablackrw/stdcxx-11d/tests/0.printf > "%": percent sign > "%c": character formatting > extension: "%{c}": escaped character > extension: "%{#c}": quoted escaped character > "%lc": wide character > extension: "%{lc}": escaped wide character > extension: "%{#lc}": quoted escaped wide character > "%s": character string > > Program received signal SIGSEGV, Segmentation fault. > 0xbdab6f2a in memchr () from /usr/lib/libc.so.12 > (gdb) bt > #0 0xbdab6f2a in memchr () from /usr/lib/libc.so.12 > #1 0x08079164 in __ps_strings () > #2 0x0806a154 in _rw_fmtstr(FmtSpec const&, char**, unsigned*, char > const*, unsigned) (spec=@0xbfbfe7a0, pbuf=0xbfbfece4, > pbufsize=0xbfbfece0, > str=0x1 , len=4294967295) > at /house/ablackrw/stdcxx/tests/src/printf.cpp:3051 > #3 0x080663b4 in _rw_vasnprintf_c99(FmtSpec*, unsigned, char**, > unsigned*, char**) (pspec=0xbfbfe7a0, paramno=0, pbuf=0xbfbfece4, > pbufsize=0xbfbfece0, > pva=0xbfbfeca8) at /house/ablackrw/stdcxx/tests/src/printf.cpp:681 > #4 0x08066ee9 in rw_vasnprintf(char**, unsigned*, char const*, char*) ( > pbuf=0xbfbfece4, pbufsize=0xbfbfece0, fmt=0x80728fc "%s", > varg=0xbfbfecf4 "\001") at > /house/ablackrw/stdcxx/tests/src/printf.cpp:1035 > #5 0x0806c21d in rw_sprintfa(char const*, ...) (fmt=0x80728fc "%s") > at /house/ablackrw/stdcxx/tests/src/printf.cpp:4004 > #6 0x0804d9b0 in test_string() () > at /house/ablackrw/stdcxx/tests/self/0.printf.cpp:343 > #7 0x08065763 in main () > at /house/ablackrw/stdcxx/tests/self/0.printf.cpp:2235 > #8 0x08049516 in ___start () -- 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