Bug 1085 - possible underlinking issue; gdb cannot find new threads
Summary: possible underlinking issue; gdb cannot find new threads
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-01 11:56 CEST by AL13N
Modified: 2011-05-01 12:00 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.