Bug 182116
Summary: | Cannot find user-level thread for LWP 4256: generic error | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | U. George <gatgul> |
Component: | gdb | Assignee: | Alexandre Oliva <aoliva> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | aoliva, jan.kratochvil |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-09-22 07:37:06 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 130157, 202689 | ||
Attachments: |
Description
U. George
2006-02-20 17:17:39 UTC
Created attachment 130812 [details]
Patch for i386 GDB as of CVS 2006-06-14
It is only a heuristic as execve(2) destroys %gs and gdb(1) fails to find the
no longer existing threads through TLS. Patch will warn and turn off the gdb(1)
threads support if it finds out %gs==0.
Created attachment 130814 [details]
Minimized bug reproducibility test case.
Created attachment 131435 [details]
Patch for i386 GDB as of CVS 2006-06-14 [rewritten]
TARGET_WAITKIND_EXECD suggested by Daniel Jacobowitz.
FYI Daniel Jacobowitz committed improved minimized (non-TARGET_WAITKIND_EXECD fixup only) patch to the upstream CVS: 2006-07-24 Jan Kratochvil <jan.kratochvil> Daniel Jacobowitz <dan> * linux-thread-db.c (thread_db_wait): Remove libthread_db after exec events. Created attachment 133410 [details]
Extracted the CVS-committed (exec(2)-non following / minimized) patch
Comment on attachment 131435 [details] Patch for i386 GDB as of CVS 2006-06-14 [rewritten] Obsoleted as the patch has been reposted several times to the mailinst list, last time as: http://sourceware.org/ml/gdb/2006-08/msg00115.html The fix should hit today's rawhide in gdb-6.5-5. |