Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 60618 invoked from network); 16 May 2008 21:32:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2008 21:32:34 -0000 Received: (qmail 41383 invoked by uid 500); 16 May 2008 21:32:36 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 41365 invoked by uid 500); 16 May 2008 21:32:36 -0000 Mailing-List: contact dev-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 dev@stdcxx.apache.org Received: (qmail 41354 invoked by uid 99); 16 May 2008 21:32:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 14:32:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msebor@gmail.com designates 209.85.198.224 as permitted sender) Received: from [209.85.198.224] (HELO rv-out-0506.google.com) (209.85.198.224) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 21:31:49 +0000 Received: by rv-out-0506.google.com with SMTP id g37so374519rvb.23 for ; Fri, 16 May 2008 14:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=6LVsvdURW1UnxWCHdoqIjU70983WvojKca/qw1kYuak=; b=txIWvzMa9+lNJVW1OAirfiKaOQvKq8seloW76EGiANrxhRaZ+S9m95lnoIIQ2Y4Mi+QRuGcK5GJQmFc00vx5LSY9ORxreU4sblKAFjXdsiVCLE4ICNbu7qh8MKvligve/czGfM3eE48/mnQJ1rs+skkWi4Bs5pWz/gO7ly/tPqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=QEgjr/UHfI3wognfy6xAIIYfntimMuEemXV9wEc5TteCJZpSdXLVvcjheTqDejzFLMB/efqjaUwM/hV2uQ7YXDdCThCmfVlum2ymf1yHQdqaeCS0GCVeXAZhxlxebmSQJQ7aaqnfd0L8AX4gbzGyz1gHOe5D67+z6/KuQyjHIL0= Received: by 10.140.126.14 with SMTP id y14mr2067839rvc.59.1210973524355; Fri, 16 May 2008 14:32:04 -0700 (PDT) Received: from localhost.localdomain ( [71.229.200.170]) by mx.google.com with ESMTPS id f42sm6622640rvb.5.2008.05.16.14.32.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 16 May 2008 14:32:03 -0700 (PDT) Message-ID: <482DFD52.7080006@roguewave.com> Date: Fri, 16 May 2008 15:32:02 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: Re: [jira] Resolved: (STDCXX-938) [aCC 363/HP 11.11] SEGV in 22.locale.*.mt References: <1558644366.1210973275764.JavaMail.jira@brutus> In-Reply-To: <1558644366.1210973275764.JavaMail.jira@brutus> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: Martin Sebor X-Virus-Checked: Checked by ClamAV on apache.org Travis Vitek (JIRA) wrote: > [ https://issues.apache.org/jira/browse/STDCXX-938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > [...] >> I've reduced the problem to the following testcase... I haven't looked at it very closely -- is this a compiler bug? Martin >> {noformat} >> [vitek@jenga tests]$ cat t.cpp; aCC -g t.cpp; gdb a.out >> extern "C" { >> typedef void rw_signal_handler_t (int); >> } >> rw_signal_handler_t* const rw_sig_ign = (rw_signal_handler_t*)-2; >> unsigned rw_alarm (rw_signal_handler_t* handler) >> { >> if (rw_sig_ign == handler) { >> return 4; >> } >> else if (handler) { >> return 5; >> } >> return 0; >> } >> extern "C" { >> void my_signal_handler (int) { } >> } >> int main () >> { >> rw_alarm (my_signal_handler); >> return 0; >> } >> HP gdb 5.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00 >> and target hppa1.1-hp-hpux11.00. >> Copyright 1986 - 2001 Free Software Foundation, Inc. >> Hewlett-Packard Wildebeest 5.0 (based on GDB) is covered by the >> GNU General Public License. Type "show copying" to see the conditions to >> change it and/or distribute copies. Type "show warranty" for warranty/support. >> .. >> (gdb) run >> Starting program: /build/vitek/4.2.2/12s/tests/a.out >> Program received signal SIGSEGV, Segmentation fault >> si_code: 0 - SEGV_UNKNOWN - Unknown Error. >> 0x2d60 in rw_alarm (handler=0x4000113a ) at t.cpp:9 >> 9 if (rw_sig_ign == handler) { >> (gdb) where >> #0 0x2d60 in rw_alarm (handler=0x4000113a ) at t.cpp:9 >> #1 0x2df0 in main () at t.cpp:26 >> {noformat} >