From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30056 invoked by alias); 26 Oct 2006 12:45:18 -0000 Received: (qmail 30048 invoked by uid 22791); 26 Oct 2006 12:45:18 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 26 Oct 2006 12:45:13 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Gd4bd-0007to-Ve; Thu, 26 Oct 2006 08:45:10 -0400 Date: Thu, 26 Oct 2006 12:45:00 -0000 From: Daniel Jacobowitz To: Christophe Benoit Cc: gdb@sourceware.org Subject: Re: Cannot get thread event message: debugger service failed Message-ID: <20061026124509.GA30286@nevyn.them.org> Mail-Followup-To: Christophe Benoit , gdb@sourceware.org References: <453F0CA7.7070309@netspace.net.au> <516F0B1903234D4FBF41BAF138F56E4459FD11@Guymail1.fr.aastra.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <516F0B1903234D4FBF41BAF138F56E4459FD11@Guymail1.fr.aastra.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00260.txt.bz2 On Thu, Oct 26, 2006 at 02:41:43PM +0200, Christophe Benoit wrote: > Hi everybody, > > I am trying to use gdb script on a multithreaded application. > > My script is very simple : > - Attach on the process > - I set a breakpoint > - I use a while statement to reach the breakpoint fifty times > - After that, I delete the breakpoint, detach and quit. > > > The problem is that, sometimes, when the breakpoint is reach, gdb goes > in error: > > [New Thread -1210061904 (LWP 15939)] > scriptgdb.withoutserv.out:56: Error in sourced command file: > Cannot get thread event message: debugger service failed Before today I'd never even seen that error, and now twice. I have no idea what is causing this. If you are using an older version of GDB, I recommend trying a current one; otherwise, we would need an application that can reproduce the problem. -- Daniel Jacobowitz CodeSourcery