From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17272 invoked by alias); 12 Aug 2008 19:23:30 -0000 Received: (qmail 17263 invoked by uid 22791); 12 Aug 2008 19:23:29 -0000 X-Spam-Check-By: sourceware.org Received: from outbound-mail-106.bluehost.com (HELO outbound-mail-106.bluehost.com) (69.89.22.6) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 12 Aug 2008 19:22:38 +0000 Received: (qmail 7578 invoked by uid 0); 12 Aug 2008 19:22:32 -0000 Received: from unknown (HELO box166.bluehost.com) (69.89.25.166) by outboundproxy3.bluehost.com with SMTP; 12 Aug 2008 19:22:32 -0000 Received: from c75.152.91-94.clta.globetrotter.net ([75.152.91.94] helo=[192.168.128.28]) by box166.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KSzRw-0004Yq-OH for gdb@sourceware.org; Tue, 12 Aug 2008 13:22:32 -0600 Message-ID: <48A1E2C4.7020007@harfangmicro.com> Date: Wed, 13 Aug 2008 01:02:00 -0000 From: Marc Ferland User-Agent: Thunderbird 2.0.0.14 (X11/20080511) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Assert in linux_nat_resume Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {651:box166.bluehost.com:harfangm:harfangmicro.com} {sentby:smtp auth 75.152.91.94 authed with mferland@harfangmicro.com} X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00168.txt.bz2 Hi, I've been having the following problem with GDB version 6.8 for a while now: [New LWP 20436] linux-nat.c:1152: internal-error: linux_nat_resume: Assertion `lp != NULL' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y linux-nat.c:1152: internal-error: linux_nat_resume: Assertion `lp != NULL' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) n I'm debugging a program with many threads and this happens often when I close(pthread_exit()) and start threads (pthread_create). I really don't know what is wrong. I'm pretty sure it has something to do with my program but I don't know where to start (Debugging with printf() is a rather tedious task!). Any help would be greatly appreciated. Regards, Marc