public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug threads/28375] New: Cannot find user-level thread for LWP: generic error @ 2021-09-22 12:38 vries at gcc dot gnu.org 2024-07-29 11:52 ` [Bug threads/28375] " luis.machado at arm dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: vries at gcc dot gnu.org @ 2021-09-22 12:38 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=28375 Bug ID: 28375 Summary: Cannot find user-level thread for LWP: generic error Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: threads Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- With patch: ... diff --git a/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp b/gdb/testsuite/gdb .threads/process-dies-while-detaching.exp index ac1aad26ec5..3b59afb2fcf 100644 --- a/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp +++ b/gdb/testsuite/gdb.threads/process-dies-while-detaching.exp @@ -240,6 +240,7 @@ proc test_detach_watch {multi_process cmd} { global binfile decimal clean_restart ${binfile} + gdb_test_no_output "set can-use-hw-watchpoints 0" if ![runto_main] { fail "can't run to main" @@ -255,14 +256,16 @@ proc test_detach_watch {multi_process cmd} { } # Set a watchpoint in the child. - gdb_test "watch globalvar" ".* watchpoint $decimal: globalvar" + gdb_test "watch globalvar" "Watchpoint $decimal: globalvar" # Continue to the _exit breakpoint. This arms the watchpoint # registers in all threads. Detaching will thus need to clear # them out, and handle the case of the thread disappearing # while doing that (on targets that need to detach from each # thread individually). - continue_to_exit_bp + with_timeout_factor 100 { + continue_to_exit_bp + } do_detach $multi_process $cmd "normal" } ... we run into: ... (gdb) PASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint: continue to breakpoint: _exit continue^M Continuing.^M Cannot find user-level thread for LWP 10324: generic error^M (gdb) FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint: continue ... -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug threads/28375] Cannot find user-level thread for LWP: generic error 2021-09-22 12:38 [Bug threads/28375] New: Cannot find user-level thread for LWP: generic error vries at gcc dot gnu.org @ 2024-07-29 11:52 ` luis.machado at arm dot com 2024-07-29 13:27 ` vries at gcc dot gnu.org 2024-07-29 14:08 ` luis.machado at arm dot com 2 siblings, 0 replies; 4+ messages in thread From: luis.machado at arm dot com @ 2024-07-29 11:52 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=28375 Luis Machado <luis.machado at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |luis.machado at arm dot com --- Comment #1 from Luis Machado <luis.machado at arm dot com> --- Is this still the case after the following commit? https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=122373f7f25946cfc51de9e19ba1d173195f9910 Just wondering if this was within range of the problematic versions reported. Someone ran into this today on my end (unknown versions at this point) and I was doing some research. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug threads/28375] Cannot find user-level thread for LWP: generic error 2021-09-22 12:38 [Bug threads/28375] New: Cannot find user-level thread for LWP: generic error vries at gcc dot gnu.org 2024-07-29 11:52 ` [Bug threads/28375] " luis.machado at arm dot com @ 2024-07-29 13:27 ` vries at gcc dot gnu.org 2024-07-29 14:08 ` luis.machado at arm dot com 2 siblings, 0 replies; 4+ messages in thread From: vries at gcc dot gnu.org @ 2024-07-29 13:27 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=28375 --- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Luis Machado from comment #1) > Is this still the case after the following commit? > > https://sourceware.org/git/?p=binutils-gdb.git;a=commit; > h=122373f7f25946cfc51de9e19ba1d173195f9910 > > Just wondering if this was within range of the problematic versions > reported. Someone ran into this today on my end (unknown versions at this > point) and I was doing some research. The KFAIL still reproduces for me with current trunk: ... (gdb) PASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: watch globalvar continue^M Continuing.^M Cannot find user-level thread for LWP 13033: generic error^M (gdb) KFAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS: g\ db/28375) ... -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug threads/28375] Cannot find user-level thread for LWP: generic error 2021-09-22 12:38 [Bug threads/28375] New: Cannot find user-level thread for LWP: generic error vries at gcc dot gnu.org 2024-07-29 11:52 ` [Bug threads/28375] " luis.machado at arm dot com 2024-07-29 13:27 ` vries at gcc dot gnu.org @ 2024-07-29 14:08 ` luis.machado at arm dot com 2 siblings, 0 replies; 4+ messages in thread From: luis.machado at arm dot com @ 2024-07-29 14:08 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=28375 --- Comment #3 from Luis Machado <luis.machado at arm dot com> --- Thanks for confirming it. Looks like we still have something off that triggers this. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-29 14:08 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-09-22 12:38 [Bug threads/28375] New: Cannot find user-level thread for LWP: generic error vries at gcc dot gnu.org 2024-07-29 11:52 ` [Bug threads/28375] " luis.machado at arm dot com 2024-07-29 13:27 ` vries at gcc dot gnu.org 2024-07-29 14:08 ` luis.machado at arm dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).