Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 64757 invoked from network); 9 Nov 2007 13:26:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2007 13:26:11 -0000 Received: (qmail 86735 invoked by uid 500); 9 Nov 2007 13:25:59 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 86706 invoked by uid 500); 9 Nov 2007 13:25:59 -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 86695 invoked by uid 99); 9 Nov 2007 13:25:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 05:25:59 -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; Fri, 09 Nov 2007 13:26:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9294C71420A for ; Fri, 9 Nov 2007 05:25:50 -0800 (PST) Message-ID: <14167008.1194614750560.JavaMail.jira@brutus> Date: Fri, 9 Nov 2007 05:25:50 -0800 (PST) From: "Pavel Pervov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5101) [drlvm][crash_handler] GDB is started with LWP which belongs to main thread instead of one of crashed thread. In-Reply-To: <29781714.1194604011170.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-5101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Pervov updated HARMONY-5101: ---------------------------------- Attachment: crash_handler.patch Here is the patch to fix the issue. > [drlvm][crash_handler] GDB is started with LWP which belongs to main thread instead of one of crashed thread. > ------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-5101 > URL: https://issues.apache.org/jira/browse/HARMONY-5101 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Linux > Reporter: Pavel Pervov > Attachments: crash_handler.patch > > > DRLVM determines LWP of main thread at startup and then passes this LWP to GDB when crash happen. > It should determine LWP of crashed thread instead and exec GDB with correct LWP. > This simplifies debugging on Linux alot. > I'll attach the patch with the fix shortly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.