Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 79615 invoked from network); 30 Mar 2007 09:42:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2007 09:42:46 -0000 Received: (qmail 32004 invoked by uid 500); 30 Mar 2007 09:42:53 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 31987 invoked by uid 500); 30 Mar 2007 09:42:53 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 31978 invoked by uid 99); 30 Mar 2007 09:42:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2007 02:42:53 -0700 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; Fri, 30 Mar 2007 02:42:45 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6991A714068 for ; Fri, 30 Mar 2007 02:42:25 -0700 (PDT) Message-ID: <26755152.1175247745429.JavaMail.jira@brutus> Date: Fri, 30 Mar 2007 02:42:25 -0700 (PDT) From: "Alexey Petrenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-3529) [jdktools][build] fix GCC problem with handling C++ exceptions In-Reply-To: <3854511.1175244805372.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/HARMONY-3529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Petrenko reassigned HARMONY-3529: ---------------------------------------- Assignee: Alexey Petrenko > [jdktools][build] fix GCC problem with handling C++ exceptions > -------------------------------------------------------------- > > Key: HARMONY-3529 > URL: https://issues.apache.org/jira/browse/HARMONY-3529 > Project: Harmony > Issue Type: Bug > Components: JDK > Environment: Linux/x86, Harmony-jdk-r523977 > Reporter: Ivan Popov > Assigned To: Alexey Petrenko > Attachments: jdktools_linux_build.patch > > > After fix for jdktools in HARMONY-3429 has been applied, I see JPDA tests failures on Linux. The problem is in handling C++ exceptions thrown in JDWP agent code: > STDERR> SIGSEGV in VM code. > STDERR> Stack trace: > STDERR> 0: parse_lsda_header(_Unwind_Context*, unsigned char const*, lsda_header_info*) (??:-1) > STDERR> 1: __gxx_personality_v0 (??:-1) > STDERR> 2: _Unwind_RaiseException (??:-1) > STDERR> 3: __cxa_throw (??:-1) > STDERR> 4: jdwp::ArrayReference::GetValuesHandler::Execute(JNIEnv_External*) (??:-1) > STDERR> 5: jdwp::SyncCommandHandler::Run(JNIEnv_External*, jdwp::CommandParser*) (??:-1) > STDERR> 6: jdwp::CommandDispatcher::ExecCommand(JNIEnv_External*, jdwp::CommandParser*) (??:-1) > STDERR> 7: jdwp::PacketDispatcher::Run(JNIEnv_External*) (??:-1) > STDERR> 8: jdwp::PacketDispatcher::StartFunction(jvmtiEnv_struct*, JNIEnv_External*, void*) (??:-1) > STDERR> 9: wrapper_proc (??:-1) > STDERR> 10: thread_start_proc (??:-1) > STDERR> 11: start_thread (??:-1) > STDERR> 12: clone (??:-1) > STDERR> > This is reproduced on 32-bit Linux SLES9 with GCC 3.3.3. It is not reproduced on SLES10 with GCC 4.1.0. > The problem is that '-fpic' option is not now specified for building native code on 32-bit Linux platform. Adding '-fpic' option resolves this problem, and tests work well on both SLES9 and SLES10. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.