Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 70944 invoked from network); 19 Mar 2008 01:12:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2008 01:12:12 -0000 Received: (qmail 70915 invoked by uid 500); 19 Mar 2008 01:12:10 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 70893 invoked by uid 500); 19 Mar 2008 01:12:10 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 70884 invoked by uid 99); 19 Mar 2008 01:12:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 18:12:10 -0700 X-ASF-Spam-Status: No, hits=-1997.2 required=10.0 tests=ALL_TRUSTED,WEIRD_QUOTING X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 01:11:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 77CE4234C0A6 for ; Tue, 18 Mar 2008 18:10:24 -0700 (PDT) Message-ID: <174779863.1205889024476.JavaMail.jira@brutus> Date: Tue, 18 Mar 2008 18:10:24 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Commented: (STDCXX-289) localedef SIAGABRT on an incomplete day definition in LC_TIME 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-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580203#action_12580203 ] Martin Sebor commented on STDCXX-289: ------------------------------------- I can't reproduce this with gcc 4.1.2 on Linux. The following command completes successfully: {noformat} $ cat >charmap<locale.src< localedef SIAGABRT on an incomplete day definition in LC_TIME > ------------------------------------------------------------- > > Key: STDCXX-289 > URL: https://issues.apache.org/jira/browse/STDCXX-289 > Project: C++ Standard Library > Issue Type: Bug > Components: Utilities > Affects Versions: 4.1.2, 4.1.3 > Environment: all > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Trivial > Fix For: 4.2.1 > > Original Estimate: 2h > Remaining Estimate: 2h > > The localedef utility aborts on LC_TIME definitions containing fewer than the usual number of strings for multistring keywords such as day, abday, etc, > $ cat charmap && cat locale.src && ../bin/localedef -c -w -f charmap -i locale.src dummy || gdb -q ../bin/localedef core > CHARMAP > END CHARMAP > LC_TIME > day "Sun";"Mon";"Tue" > END LC_TIME > Assertion failed: str1[0] == '\"', file /build/sebor/stdcxx-4.1.3/util/def.cpp, line 254 > Abort (core dumped) > Core was generated by `../bin/localedef -c -w -f charmap -i locale.src dummy'. > Program terminated with signal 6, Aborted. > ... > #0 0xff31d3d4 in _libc_kill () from /usr/lib/libc.so.1 > (gdb) where > #0 0xff31d3d4 in _libc_kill () from /usr/lib/libc.so.1 > #1 0xff2b5698 in abort () from /usr/lib/libc.so.1 > #2 0xff2b5938 in _assert () from /usr/lib/libc.so.1 > #3 0x0007e050 in Def::convert_string (this=0xffbfe910, str1=@0xffbfe990) > at /build/sebor/stdcxx-4.1.3/util/def.cpp:254 > #4 0x0009f964 in Def::process_time (this=0xffbfe910) > at /build/sebor/stdcxx-4.1.3/util/time.cpp:184 > #5 0x0007d5e0 in Def::process_input (this=0xffbfe910) > at /build/sebor/stdcxx-4.1.3/util/def.cpp:506 > #6 0x00013cac in create_locale () > #7 0x00015a2c in main (argc=8, argv=0xffbffb8c) > at /build/sebor/stdcxx-4.1.3/util/localedef.cpp:560 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.