This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/20301] "Cannot find user-level thread", then "internal-error: wait returned unexpected status 0x100"


https://sourceware.org/bugzilla/show_bug.cgi?id=20301

--- Comment #1 from Yann Dirson <ydirson at free dot fr> ---
Can finally reproduce after a few tries.

What happens is that another thread calls exit() while I "next" this thread.
Most of the time gdb handles it nicely, but it also happens that I get the
internal-error immediately:

(gdb) b decodebuffer(Buffer*)
Breakpoint 1 at 0x406b1f: file ./src/video_decoder_vaapi[...].cpp, line 313.
(gdb) r                                                                         
Starting program: .../a.out
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[...]
[New Thread 0x7fffec510700 (LWP 20421)]
[New Thread 0x7fffebd0f700 (LWP 20422)]
/build/gdb-GtCqbH/gdb-7.11.1/gdb/linux-nat.c:1868: internal-error: wait
returned unexpected status 0x100
A problem internal to GDB has been detected,

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]