GDB very often attaches to wrong thread (main thread)
|Reported by:||stippi||Owned by:||bonefish|
|Has a Patch:||no||Platform:||All|
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 hrev28327.