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/17247] gdb freezes on multi threaded app (test-case attached)


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

--- Comment #22 from Doug Evans <xdje42 at gmail dot com> ---
(In reply to Thomas Martitz from comment #20)
> What is "the experiment"? I experience the problem every single time I start
> gdb with a multithreaded application, what information will give you this
> 1000 times?

btw, can I get repro instructions?
Thanks!

The initial bug report says:

g++ -std=c++11 -lpthread test.cpp -o test
gdb ./test
^C^C^C -> nothing, it's impossible to interrupt

But after doing just "gdb ./test" gdb has not run the program, therefore no
shared libraries have been loaded yet, and therefore gdb does not yet even know
if the program is multithreaded.

Can anyone reproduce this with a non-multithreaded program?
[I suspect the problem is just more easily triggered with a multithreaded
program, but it would be good data to have.]

-- 
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]