Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 25874 invoked from network); 22 Nov 2007 00:13:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Nov 2007 00:13:04 -0000 Received: (qmail 99551 invoked by uid 500); 22 Nov 2007 00:12:51 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 99541 invoked by uid 500); 22 Nov 2007 00:12:51 -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 99530 invoked by uid 99); 22 Nov 2007 00:12:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 16:12:51 -0800 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; Thu, 22 Nov 2007 00:12:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 31F7B714236 for ; Wed, 21 Nov 2007 16:12:43 -0800 (PST) Message-ID: <6083282.1195690363202.JavaMail.jira@brutus> Date: Wed, 21 Nov 2007 16:12:43 -0800 (PST) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Resolved: (STDCXX-649) [IBM XLC++ 9.0/AIX 5.3] SIGSEGV in 0.printf In-Reply-To: <28471613.1194468950721.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-649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor resolved STDCXX-649. --------------------------------- Resolution: Fixed Patch verified with XLC++ 9.0 on AIX 5.3. Committed thus: http://svn.apache.org/viewvc?rev=597267&view=rev Will close once we've seen a few nightly build results. > [IBM XLC++ 9.0/AIX 5.3] SIGSEGV in 0.printf > -------------------------------------------- > > Key: STDCXX-649 > URL: https://issues.apache.org/jira/browse/STDCXX-649 > Project: C++ Standard Library > Issue Type: Bug > Components: Tests > Affects Versions: 4.2.0 > Environment: 64-bit builds only > Reporter: Travis Vitek > Assignee: Travis Vitek > Fix For: 4.2.1 > > Attachments: stdcxx-649.patch > > > extension: "%{@}" nested format directive > Segmentation fault in memchr.memchr at 0x90000000007fa84 ($t1) > 0x90000000007fa84 (memchr+0x18) 8ca40001 lbzu r5,0x1(r4) > Here is the stack trace > (dbx) where > memchr.memchr(??, ??, ??) at 0x90000000007fa84 > collate.memchr(const void*,int,unsigned long)(0x18786400000000, 0x0, 0x1000), line 125 in "string.h" > unnamed block $b893, line 221 in "memattr.cpp" > unnamed block $b891, line 221 in "memattr.cpp" > __rw_memattr(const void*,unsigned long,int)(addr = 0x0018786400000000, nbytes = 18446744073709551615, attr = -1), line 221 in "memattr.cpp" > printf.strlen(const char*)(0xfffffffffffd8a0, 0xffffffffffff648, 0x18786400000000, 0xffffffffffffffff, 0x300000003), line 1939 in "printf.cpp" > _rw_fmtstr(const FmtSpec&,Buffer&,const char*,unsigned long)(spec = &(...), buf = &(...), str = (invalid char ptr (0x0018786400000000)), len = 18446744073709551615), line 2373 in "printf.cpp" > unnamed block $b661, line 597 in "printf.cpp" > _rw_vasnprintf_c99(FmtSpec*,unsigned long,Buffer&,VarArgs*)(pspec = 0x0fffffffffffd858, paramno = 1, buf = &(...), pva = 0x0fffffffffffe3c8), line 597 in "printf.cpp" > unnamed block $b709, line 901 in "printf.cpp" > unnamed block $b708, line 901 in "printf.cpp" > unnamed block $b704, line 901 in "printf.cpp" > _rw_pvasnprintf(Buffer&,const char*,VarArgs*)(buf = &(...), fmt = ", %#s)", pva = 0x0fffffffffffe3c8), line 901 in "printf.cpp" > unnamed block $b677, line 3229 in "printf.cpp" > _rw_fmtnested(const FmtSpec&,Buffer&,const char*,VarArgs*)(spec = &(...), buf = &(...), fmt = "(%zu, %#s)", pva = 0x0ffffffffffff670), line 3229 in "printf.cpp" > unnamed block $b679, line 2604 in "printf.cpp" > _rw_vasnprintf_ext(FmtSpec*,unsigned long,Buffer&,const char*,VarArgs*)(pspec = 0x0fffffffffffeac8, paramno = 0, buf = &(...), fmt = " .*A@", pva = 0x0ffffffffffff670), line 2604 in "printf.cpp" > unnamed block $b706, line 810 in "printf.cpp" > unnamed block $b704, line 810 in "printf.cpp" > _rw_pvasnprintf(Buffer&,const char*,VarArgs*)(buf = &(...), fmt = "{%{ .*A@}}", pva = 0x0ffffffffffff670), line 810 in "printf.cpp" > rw_vasnprintf(char**,unsigned long*,const char*,char*)(pbuf = 0x0ffffffffffff760, pbufsize = 0x0ffffffffffff768, fmt = "{%{ .*A@}}", varg = ""), line 1013 in "printf.cpp" > rw_sprintfa(const char*,...)(fmt = "{%{ .*A@}}", ... = 0x3, 0x100188370, 0x11000ed18, 0x0, 0x0, 0x1, 0x10030260), line 3316 in "printf.cpp" > test_nested_format()(), line 2953 in "0.printf.cpp" > main(), line 3064 in "0.printf.cpp" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.