Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Cannot get thread event message: debugger service failed
@ 2008-11-25  8:10 D. Hugh Redelmeier
  2008-12-01 22:27 ` Michael Snyder
  0 siblings, 1 reply; 5+ messages in thread
From: D. Hugh Redelmeier @ 2008-11-25  8:10 UTC (permalink / raw)
  To: gdb

I'm trying to debug Firefox on Linux.  I'm using GDB.  Execution of
Firefox is frequently interrupted with this message:
  [New Thread 0x44125950 (LWP 30469)]
  Cannot get thread event message: debugger service failed
At this point, I enter a "continue" GDB command and execution
proceeds.

Sometimes the screen locks up until the "continue".  So I need to run
GDB somewhere other than the X desktop.

What is the best way to avoid this problem and get on with debugging 
Firefox?  (I admit: a quixotic quest.)

Google finds this for me:
  http://sourceware.org/ml/gdb/2006-10/msg00259.html
but I don't see a resolution.

Some details:

- I get this message on 64-bit Fedora 9 (on a dual-core machine) and on 
  64-bit Ubuntu 8.04 (on a quad core machine)

- GDB on Fedora 9: gdb-6.8-23.fc9.x86_64

- GDB on Ubuntu 8.04: 6.8-1ubuntu3


- I run Firefox this way: Firefox --sync
  or: Firefox --sync -no-remote

- I run gdb later, giving it the executable file and the PID

- I tell gdb to ignore sigpipe signals: handle SIGPIPE nostop

- I then let GDB continue Firefox

- after a small amount of browsing, the dreaded message shows up


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Gdb
@ 2006-10-25  7:05 Russell Shaw
  2006-10-26 12:41 ` Cannot get thread event message: debugger service failed Christophe Benoit
  0 siblings, 1 reply; 5+ messages in thread
From: Russell Shaw @ 2006-10-25  7:05 UTC (permalink / raw)
  To: gdb

Hi,
After narrowing down a bug location in the last few days, it seems
all too obvious that gdb needs to be gutted and recast. It can all
be made simpler and more understandable, thus easier to maintain.

Gdb should should be a library of functions for the various things
that can be done to a target, and have no user interface and command-
line parsing at all.

All the current user terminal interaction should be in a separate
program that is linked to the gdb library.

There is far too much complexity for the simple things that gdb does.

The bug i have is that gdb does not stop at pending breakpoints i have
set in a dlopen library. I made a small testcase, and gdb does do the
pending breakpoints there ok. This bug should be easy to find and fix,
but it isn't.

If there's no plans to redo gdb, i'll do it anyway.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-01 22:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-25  8:10 Cannot get thread event message: debugger service failed D. Hugh Redelmeier
2008-12-01 22:27 ` Michael Snyder
  -- strict thread matches above, loose matches on Subject: below --
2006-10-25  7:05 Gdb Russell Shaw
2006-10-26 12:41 ` Cannot get thread event message: debugger service failed Christophe Benoit
2006-10-26 12:45   ` Daniel Jacobowitz
2006-10-26 13:31     ` Christophe Benoit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox