Bug 1085

Summary: possible underlinking issue; gdb cannot find new threads
Product: Mageia Reporter: AL13N <alien>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: pterjan
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description AL13N 2011-05-01 11:56:52 CEST
Description of problem:

It seems gdb cannot find new threads in some cases:
since soundwrapper segfaults atm, this can be used to reproduce this problem:

1. install soundwrapper and quake2
2. gdb soundwrapper
3. r /usr/games/quake2.bin +set basedir /usr/lib/games/quake2
4. you see: Cannot find new threads: generic error

looking up this problem, i found: http://www.linuxquestions.org/questions/programming-9/gdb-cannot-find-new-threads-generic-error-565411/

this explains that -pthreads is maybe missing somewhere, so gdb cannot find new threads...

a possible workaround for this is found in a linked thread: http://forums.opensuse.org/english/development/programming-scripting/412939-gdb-unable-debug-application.html

is this a real issue? should we find out where it should be linked with -pthreads?
Comment 1 Pascal Terjan 2011-05-01 12:00:23 CEST
fixed soundwrapper uploaded, thanks

Status: NEW => RESOLVED
CC: (none) => pterjan
Resolution: (none) => FIXED