Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 10924 invoked from network); 30 Mar 2006 16:58:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Mar 2006 16:58:36 -0000 Received: (qmail 7578 invoked by uid 500); 30 Mar 2006 16:58:36 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 7526 invoked by uid 500); 30 Mar 2006 16:58:35 -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 7515 invoked by uid 99); 30 Mar 2006 16:58:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 08:58:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Mar 2006 08:58:35 -0800 Received: from bco-exchange.bco.roguewave.com (bco-exchange.bco.roguewave.com [172.19.31.48]) by moroha.quovadx.com (8.13.4/8.13.4) with ESMTP id k2UGuuVT030222 for ; Thu, 30 Mar 2006 16:56:56 GMT Received: from [10.70.2.6] (skynet.bco.roguewave.com [10.70.2.6]) by bco-exchange.bco.roguewave.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id HQZ7JGP2; Thu, 30 Mar 2006 09:56:12 -0700 Message-ID: <442C0FFA.2010302@roguewave.com> Date: Thu, 30 Mar 2006 10:06:02 -0700 From: Liviu Nicoara User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: std::locale mt test failing References: <4D6A8407B7AC6F4D95B0E55C4E7C4C6203EEA6A4@exmsk.moscow.vdiweb.com> <44299862.8060007@roguewave.com> In-Reply-To: <44299862.8060007@roguewave.com> Content-Type: text/plain; charset=ISO-8859-1 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 The following test case fails intermittently with SIGSEGV: $ uname -a SunOS doc 5.10 Generic_118822-19 sun4u sparc SUNW,Ultra-Enterprise $ gcc --version gcc (GCC) 3.4.4 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ cat t.cpp #include #include extern "C" void* thread_func (void* pv) { for (int i = 0; i < 1000; ++i) std::locale loc ("de"); return 0; } int main () { pthread_t tid [4]; for (int i = 0; i < 4; ++i) if (pthread_create (tid + i, 0, thread_func, 0)) return 1; for (int i = 0; i < 4; ++i) if (pthread_join (tid [i], 0)) return 2; return 0; } $ make t gcc -D_RWCONFIG=12d -I/build/nicoara/hal9u1/tests/stdlib/locale/../include -I./../../../../include -I/build/nicoara/hal9u1/include -I/build/nicoara/hal9u1/include/ansi -I./../../../.. -I/build/nicoara/hal9u1 -I/build/nicoara/hal9u1/tests/stdlib/locale -I. -O2 -pthreads --pedantic -Wall -W -Wno-long-long -c /build/nicoara/hal9u1/tests/stdlib/locale/t.cpp /build/nicoara/hal9u1/tests/stdlib/locale/t.cpp:5: warning: unused parameter 'pv' gcc -pthreads -L./../../../../lib -o t t.o -lm -ltestx1012d -ltlt1012d -lstd4112d -lsupc++ Segmentation Fault (core dumped) I do not have a stack trace yet. I will file a JIRA incident soon. Thanks, Liviu