From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2559 invoked by alias); 26 Jun 2003 14:28:38 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 2551 invoked from network); 26 Jun 2003 14:28:37 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 26 Jun 2003 14:28:37 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h5QESbH21042 for ; Thu, 26 Jun 2003 10:28:37 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h5QESbI15806; Thu, 26 Jun 2003 10:28:37 -0400 Received: from [150.1.200.14] (vpn50-55.rdu.redhat.com [172.16.50.55]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h5QESa225745; Thu, 26 Jun 2003 10:28:36 -0400 Subject: Re: Debugging threaded code on Linux From: Keith Seitz To: Evan Lavelle Cc: Insight List In-Reply-To: <3EFAD1BD.8040100@dsl.pipex.com> References: <3EFAD1BD.8040100@dsl.pipex.com> Content-Type: text/plain Organization: Message-Id: <1056638273.1571.2.camel@lindt.uglyboxes.com> Mime-Version: 1.0 Date: Thu, 26 Jun 2003 14:28:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q2/txt/msg00189.txt.bz2 On Thu, 2003-06-26 at 03:58, Evan Lavelle wrote: > I'm having various problems debugging threaded code on Linux 2.4.7-10/RH > 7.2, with insight 5.3. ddd seems to be more stable, but I think it's > using an earlier version of gdb (5.0). The problems include fairly > frequent crashes, 'thread apply' not working well, and so on. > > Does anyone have any experience of insight and LinuxThreads, and how > stable it is? Should I be expecting this? Make certain that the problems are in Insight. As far as I know, it is very unlikely for the GUI part (Insight) to crash. More often than not, it is the backend (gdb). Try debugging your program using command-line gdb 5.3. (I think you can use "insight -nw" or "gdb -nw".) Threads should work. Can you post a backtrace of the crash? Keith