Ticket #2956 (closed bug: fixed)
GDB very often attaches to wrong thread (main thread)
| Reported by: | stippi | Owned by: | bonefish |
|---|---|---|---|
| Priority: | normal | Milestone: | R1/alpha1 |
| Component: | - General | Version: | R1/pre-alpha1 |
| Keywords: | Cc: | olive@… | |
| Blocked By: | Platform: | All | |
| Blocking: |
Description
It seems that recently, GDB will attach itself to the main thread when an application crashes in one of it's other threads. I usually go into KDL at this point and try the stack trace of a couple of other threads until I find the one that has really crashed. That's why we get a lot of reports here in Trac that show a BApplication looper waiting for the next message or for example that supposed app_server crash in the "picasso" thread (the app_server main thread). I don't know which revision this started on, but it's still a problem in r28327.
Change History
Note: See
TracTickets for help on using
tickets.
