From stdcxx-dev-return-6443-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Mon Dec 10 18:12:17 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 10239 invoked from network); 10 Dec 2007 18:12:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Dec 2007 18:12:16 -0000 Received: (qmail 28869 invoked by uid 500); 10 Dec 2007 18:12:05 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 28855 invoked by uid 500); 10 Dec 2007 18:12:05 -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 28844 invoked by uid 99); 10 Dec 2007 18:12:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2007 10:12:05 -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; Mon, 10 Dec 2007 18:12:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1CFCF71422B for ; Mon, 10 Dec 2007 10:11:44 -0800 (PST) Message-ID: <3042205.1197310304115.JavaMail.jira@brutus> Date: Mon, 10 Dec 2007 10:11:44 -0800 (PST) From: "Travis Vitek (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-664) [IBM XLC++ 9.0/AIX 5.3] SIGABRT in 22.locale.globals.mt In-Reply-To: <10072607.1194906230910.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-664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550136 ] Travis Vitek commented on STDCXX-664: ------------------------------------- The issue is that somehow the classic locale on AIX actually seems to have the _byname facets installed. The following testcase demonstrates. [vitek@rimple tests]$ cat t.cpp #include #include int main () { #define TEST(Facet) \ try { \ std::use_facet(classic); \ fprintf (stderr, "found facet %s in locale %s\n", \ #Facet, classic.name ().c_str ()); \ } \ catch (...) { \ } const std::locale classic (std::locale::classic ()); typedef std::ctype_byname ctype_byname; TEST (ctype_byname); typedef std::collate_byname collate_byname; TEST (collate_byname); typedef std::messages_byname messages_byname; TEST (messages_byname); typedef std::numpunct_byname numpunct_byname; TEST (numpunct_byname); typedef std::time_get_byname time_get_byname; TEST (time_get_byname); typedef std::time_put_byname time_put_byname; TEST (time_put_byname); return 0; } > [IBM XLC++ 9.0/AIX 5.3] SIGABRT in 22.locale.globals.mt > ------------------------------------------------------- > > Key: STDCXX-664 > URL: https://issues.apache.org/jira/browse/STDCXX-664 > Project: C++ Standard Library > Issue Type: Bug > Components: Tests > Affects Versions: 4.2.0 > Reporter: Travis Vitek > Assignee: Travis Vitek > Fix For: 4.2.1 > > > Appears to affect single-threaded bulids only. > [vitek@rimple tests]$ ./22.locale.globals.mt > # INFO (S1) (10 lines): > # TEXT: > # COMPILER: IBM VisualAge C++, __IBMCPP__ = 900 > # ENVIRONMENT: powerpc running aix-5.3 > # FILE: 22.locale.globals.mt.cpp > # COMPILED: Nov 8 2007, 21:35:16 > # COMMENT: thread safety > ############################################################ > # CLAUSE: lib.locale.global.templates > # NOTE (S2) (5 lines): > # TEXT: executing "locale -a > /tmp/tmpfile-fK3jqa" > # CLAUSE: lib.locale.global.templates > # FILE: process.cpp > # LINE: 270 > # INFO (S1) (3 lines): > # TEXT: testing std::locale globals with 1 thread, 20000 iterations each, in 16 locales { "C" "POSIX" "AR_DZ.UTF-8" "AR_BH" "AR_AA.UTF-8" "AR_BH.UTF-8" "AR_AE.UTF-8" "AR_DZ" "AR_EG.UTF-8" "AR_EG" "AR_AE" "AR_AA" "AR_JO" "AR_JO.UTF-8" "AR_KW" "AR_KW.UTF-8" } > # CLAUSE: lib.locale.global.templates > # INFO (S1) (3 lines): > # TEXT: template bool std::has_facet (const locale&) > # CLAUSE: lib.locale.global.templates > # INFO (S1) (3 lines): > # TEXT: template const T& std::use_facet (const locale&) > # CLAUSE: lib.locale.global.templates > # WARNING (S5) (3 lines): > # TEXT: exceptions not thread safe, skipping that part of test > # CLAUSE: lib.locale.global.templates > /amd/devco/vitek/stdcxx-trunk/tests/localization/22.locale.globals.mt.cpp:311: use_facet_loop: Assertion 'threw || opt_facets [opt_inx_collate] < 0' failed. > IOT/Abort trap (core dumped) > [vitek@rimple tests]$ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.