Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Bug in current CVS
@ 2001-10-22 17:39 Tom Tromey
  2001-10-23 11:28 ` Kimball Thurston
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2001-10-22 17:39 UTC (permalink / raw)
  To: Gdb List

I'm using the current CVS trunk gdb on my x86 Red Hat Linux 6.2 box.
I somehow got gdb into a state where attempts to re-run the inferior
or to exit gdb fail like so:

    (gdb) r
    The program being debugged has been started already.
    Start it from the beginning? (y or n) y
    Cannot find thread 1024: generic error
    (gdb) q
    A debugging session is active.
    Do you still want to close the debugger?(y or n) y
    Cannot find thread 1024: generic error

I finally had to C-z gdb and kill it from the shell.

If it matters, the program I was debugging used threads.

I don't know how I got gdb into this state :-(.

Tom


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

* Re: Bug in current CVS
  2001-10-22 17:39 Bug in current CVS Tom Tromey
@ 2001-10-23 11:28 ` Kimball Thurston
  0 siblings, 0 replies; 2+ messages in thread
From: Kimball Thurston @ 2001-10-23 11:28 UTC (permalink / raw)
  To: Tom Tromey; +Cc: Gdb List

I'm not sure if it helps, but I was able to get this to happen every
time when I was poking around with the multi-thread problems with
dlopen - I added a stupid cache to thread_db_thread_alive to see how
much it would help runtime performance, knowing my threads wouldn't
die for the test I was running. However, at exit this of course fouls
things up, and I got this error message every time, so maybe the
thread db is getting confused?

- K

At 22 Oct 2001 18:57:05 -0600,
Tom Tromey wrote:
> 
> I'm using the current CVS trunk gdb on my x86 Red Hat Linux 6.2 box.
> I somehow got gdb into a state where attempts to re-run the inferior
> or to exit gdb fail like so:
> 
>     (gdb) r
>     The program being debugged has been started already.
>     Start it from the beginning? (y or n) y
>     Cannot find thread 1024: generic error
>     (gdb) q
>     A debugging session is active.
>     Do you still want to close the debugger?(y or n) y
>     Cannot find thread 1024: generic error
> 
> I finally had to C-z gdb and kill it from the shell.
> 
> If it matters, the program I was debugging used threads.
> 
> I don't know how I got gdb into this state :-(.
> 
> Tom
> 


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

end of thread, other threads:[~2001-10-23 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-22 17:39 Bug in current CVS Tom Tromey
2001-10-23 11:28 ` Kimball Thurston

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