Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 25510 Details for
Bug 41435
gdb 6.0 gives incoherent backtraces in multithreaded programs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sample backtraces from gdb 6.0 and 5.3
backtraces.txt (text/plain), 10.96 KB, created by
Michael C. Martin
on 2004-02-12 18:00:50 UTC
(
hide
)
Description:
sample backtraces from gdb 6.0 and 5.3
Filename:
MIME Type:
Creator:
Michael C. Martin
Created:
2004-02-12 18:00:50 UTC
Size:
10.96 KB
patch
obsolete
>GDB 6.0 backtrace: >(gdb) t a a bt > >Thread 14 (Thread 196621 (LWP 20206)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x429ffd9c in ?? () >#3 0x429ff9c4 in ?? () >#4 0x00000001 in ?? () >#5 0x4005ee4f in SDL_Delay () from /usr/lib/libSDL-1.2.so.0 > >Thread 13 (Thread 180236 (LWP 20205)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x425ffd9c in ?? () >#3 0x425ff974 in ?? () >#4 0x00000001 in ?? () >#5 0x4005ee4f in SDL_Delay () from /usr/lib/libSDL-1.2.so.0 > >Thread 5 (Thread 49156 (LWP 20197)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x41368d9c in ?? () >#3 0x41368974 in ?? () >#4 0x00000001 in ?? () >---Type <return> to continue, or q <return> to quit--- >#5 0x4005ee4f in SDL_Delay () from /usr/lib/libSDL-1.2.so.0 > >Thread 4 (Thread 32771 (LWP 20196)): >#0 0x4009761b in write () from /lib/libpthread.so.0 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x00000001 in ?? () >#3 0x400243db in DSP_PlayAudio () from /usr/lib/libSDL-1.2.so.0 >#4 0x4002137b in SDL_RunAudio () from /usr/lib/libSDL-1.2.so.0 >#5 0x4005dc3b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0 >#6 0x4005de3f in RunThread () from /usr/lib/libSDL-1.2.so.0 >#7 0x40091ee0 in pthread_start_thread () from /lib/libpthread.so.0 >#8 0x40091fe2 in pthread_start_thread_event () from >/lib/libpthread.so.0 >#9 0x402685ba in clone () from /lib/libc.so.6 > >Thread 3 (Thread 16386 (LWP 20195)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x40f68d9c in ?? () >#3 0x40f68594 in ?? () >#4 0x00000001 in ?? () >#5 0x4005ee4f in SDL_Delay () from /usr/lib/libSDL-1.2.so.0 > >Thread 2 (Thread 32769 (LWP 20194)): >---Type <return> to continue, or q <return> to quit--- >#0 0x40260048 in poll () from /lib/libc.so.6 >#1 0x40091af0 in __pthread_manager () from /lib/libpthread.so.0 >#2 0x40091d3a in __pthread_manager_event () from /lib/libpthread.so.0 >#3 0x402685ba in clone () from /lib/libc.so.6 > >Thread 1 (Thread 16384 (LWP 20186)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x402bf5c0 in buffer () from /lib/libc.so.6 >#3 0xbffff750 in ?? () > >GDB 5.3 backtrace: >(gdb) t a a bt > >Thread 14 (Thread 196621 (LWP 13211)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x080f69c6 in SleepThreadUntil_SDL (wakeTime=14610) > at src/sc2code/libs/threads/sdl/sdlthreads.c:300 >#3 0x080f6585 in SleepThreadUntil (wakeTime=14610) > at src/sc2code/libs/threads/thrcommon.c:298 >#4 0x0812aba6 in IPtask_func (data=0x8352240) > at src/sc2code/planets/solarsys.c:1159 >#5 0x080f6841 in ThreadHelper (startInfo=0x88b289c) > at src/sc2code/libs/threads/sdl/sdlthreads.c:213 >#6 0x4005dc3b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0 >#7 0x4005de3f in RunThread () from /usr/lib/libSDL-1.2.so.0 >#8 0x40091ee0 in pthread_start_thread () from /lib/libpthread.so.0 >#9 0x40091fe2 in pthread_start_thread_event () from >/lib/libpthread.so.0 > >Thread 13 (Thread 180236 (LWP 13210)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x080f69c6 in SleepThreadUntil_SDL (wakeTime=14587) > at src/sc2code/libs/threads/sdl/sdlthreads.c:300 >#3 0x080f6585 in SleepThreadUntil (wakeTime=14587) >---Type <return> to continue, or q <return> to quit--- > at src/sc2code/libs/threads/thrcommon.c:298 >#4 0x0804e03a in clock_task_func (data=0x8352230) at >src/sc2code/clock.c:169 >#5 0x080f6841 in ThreadHelper (startInfo=0x86670d4) > at src/sc2code/libs/threads/sdl/sdlthreads.c:213 >#6 0x4005dc3b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0 >#7 0x4005de3f in RunThread () from /usr/lib/libSDL-1.2.so.0 >#8 0x40091ee0 in pthread_start_thread () from /lib/libpthread.so.0 >#9 0x40091fe2 in pthread_start_thread_event () from >/lib/libpthread.so.0 > >Thread 5 (Thread 49156 (LWP 13202)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x080f69da in TaskSwitch_SDL () > at src/sc2code/libs/threads/sdl/sdlthreads.c:305 >#3 0x080f6592 in TaskSwitch () at >src/sc2code/libs/threads/thrcommon.c:304 >#4 0x080d631c in StreamDecoderTaskFunc (data=0x8352220) > at src/sc2code/libs/sound/stream.c:209 >#5 0x080f6841 in ThreadHelper (startInfo=0x84409ec) > at src/sc2code/libs/threads/sdl/sdlthreads.c:213 >#6 0x4005dc3b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0 >#7 0x4005de3f in RunThread () from /usr/lib/libSDL-1.2.so.0 >#8 0x40091ee0 in pthread_start_thread () from /lib/libpthread.so.0 >#9 0x40091fe2 in pthread_start_thread_event () from >/lib/libpthread.so.0 >---Type <return> to continue, or q <return> to quit--- > >Thread 4 (Thread 32771 (LWP 13201)): >#0 0x4009761b in write () from /lib/libpthread.so.0 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x4002137b in SDL_RunAudio () from /usr/lib/libSDL-1.2.so.0 >#3 0x4005dc3b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0 >#4 0x4005de3f in RunThread () from /usr/lib/libSDL-1.2.so.0 >#5 0x40091ee0 in pthread_start_thread () from /lib/libpthread.so.0 >#6 0x40091fe2 in pthread_start_thread_event () from >/lib/libpthread.so.0 > >Thread 3 (Thread 16386 (LWP 13200)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x080f69da in TaskSwitch_SDL () > at src/sc2code/libs/threads/sdl/sdlthreads.c:305 >#3 0x080f6592 in TaskSwitch () at >src/sc2code/libs/threads/thrcommon.c:304 >#4 0x08123a06 in DoFlagshipCommands (pMS=0x40f68684) > at src/sc2code/planets/pstarmap.c:1175 >#5 0x0805aec3 in DoInput (pInputState=0x40f68684, resetInput=FALSE) > at src/sc2code/gameinp.c:284 >#6 0x0812c212 in ExploreSolarSys () at >src/sc2code/planets/solarsys.c:1913 >#7 0x0807edb5 in Starcon2Main (blah=0x0) at src/sc2code/starcon.c:951 >#8 0x080f6841 in ThreadHelper (startInfo=0x842c3dc) >---Type <return> to continue, or q <return> to quit---q > at src/sc2code/libs/threadsQuit >#0 0x402620b1 in select () from /lib/libc.so.6 >(gdb) t a a bt > >Thread 14 (Thread 196621 (LWP 13211)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x080f69c6 in SleepThreadUntil_SDL (wakeTime=14610) > at src/sc2code/libs/threads/sdl/sdlthreads.c:300 >#3 0x080f6585 in SleepThreadUntil (wakeTime=14610) > at src/sc2code/libs/threads/thrcommon.c:298 >#4 0x0812aba6 in IPtask_func (data=0x8352240) > at src/sc2code/planets/solarsys.c:1159 >#5 0x080f6841 in ThreadHelper (startInfo=0x88b289c) > at src/sc2code/libs/threads/sdl/sdlthreads.c:213 >#6 0x4005dc3b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0 >#7 0x4005de3f in RunThread () from /usr/lib/libSDL-1.2.so.0 >#8 0x40091ee0 in pthread_start_thread () from /lib/libpthread.so.0 >#9 0x40091fe2 in pthread_start_thread_event () from >/lib/libpthread.so.0 > >Thread 13 (Thread 180236 (LWP 13210)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x080f69c6 in SleepThreadUntil_SDL (wakeTime=14587) > at src/sc2code/libs/threads/sdl/sdlthreads.c:300 >#3 0x080f6585 in SleepThreadUntil (wakeTime=14587) >---Type <return> to continue, or q <return> to quit--- > at src/sc2code/libs/threads/thrcommon.c:298 >#4 0x0804e03a in clock_task_func (data=0x8352230) at >src/sc2code/clock.c:169 >#5 0x080f6841 in ThreadHelper (startInfo=0x86670d4) > at src/sc2code/libs/threads/sdl/sdlthreads.c:213 >#6 0x4005dc3b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0 >#7 0x4005de3f in RunThread () from /usr/lib/libSDL-1.2.so.0 >#8 0x40091ee0 in pthread_start_thread () from /lib/libpthread.so.0 >#9 0x40091fe2 in pthread_start_thread_event () from >/lib/libpthread.so.0 > >Thread 5 (Thread 49156 (LWP 13202)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x080f69da in TaskSwitch_SDL () > at src/sc2code/libs/threads/sdl/sdlthreads.c:305 >#3 0x080f6592 in TaskSwitch () at >src/sc2code/libs/threads/thrcommon.c:304 >#4 0x080d631c in StreamDecoderTaskFunc (data=0x8352220) > at src/sc2code/libs/sound/stream.c:209 >#5 0x080f6841 in ThreadHelper (startInfo=0x84409ec) > at src/sc2code/libs/threads/sdl/sdlthreads.c:213 >#6 0x4005dc3b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0 >#7 0x4005de3f in RunThread () from /usr/lib/libSDL-1.2.so.0 >#8 0x40091ee0 in pthread_start_thread () from /lib/libpthread.so.0 >#9 0x40091fe2 in pthread_start_thread_event () from >/lib/libpthread.so.0 >---Type <return> to continue, or q <return> to quit--- > >Thread 4 (Thread 32771 (LWP 13201)): >#0 0x4009761b in write () from /lib/libpthread.so.0 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x4002137b in SDL_RunAudio () from /usr/lib/libSDL-1.2.so.0 >#3 0x4005dc3b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0 >#4 0x4005de3f in RunThread () from /usr/lib/libSDL-1.2.so.0 >#5 0x40091ee0 in pthread_start_thread () from /lib/libpthread.so.0 >#6 0x40091fe2 in pthread_start_thread_event () from >/lib/libpthread.so.0 > >Thread 3 (Thread 16386 (LWP 13200)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x080f69da in TaskSwitch_SDL () > at src/sc2code/libs/threads/sdl/sdlthreads.c:305 >#3 0x080f6592 in TaskSwitch () at >src/sc2code/libs/threads/thrcommon.c:304 >#4 0x08123a06 in DoFlagshipCommands (pMS=0x40f68684) > at src/sc2code/planets/pstarmap.c:1175 >#5 0x0805aec3 in DoInput (pInputState=0x40f68684, resetInput=FALSE) > at src/sc2code/gameinp.c:284 >#6 0x0812c212 in ExploreSolarSys () at >src/sc2code/planets/solarsys.c:1913 >#7 0x0807edb5 in Starcon2Main (blah=0x0) at src/sc2code/starcon.c:951 >#8 0x080f6841 in ThreadHelper (startInfo=0x842c3dc) >---Type <return> to continue, or q <return> to quit--- > at src/sc2code/libs/threads/sdl/sdlthreads.c:213 >#9 0x4005dc3b in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0 >#10 0x4005de3f in RunThread () from /usr/lib/libSDL-1.2.so.0 >#11 0x40091ee0 in pthread_start_thread () from /lib/libpthread.so.0 >#12 0x40091fe2 in pthread_start_thread_event () from >/lib/libpthread.so.0 > >Thread 2 (Thread 32769 (LWP 13199)): >#0 0x40260048 in poll () from /lib/libc.so.6 >#1 0x40091af0 in __pthread_manager () from /lib/libpthread.so.0 >#2 0x40091d3a in __pthread_manager_event () from /lib/libpthread.so.0 > >Thread 1 (Thread 16384 (LWP 13192)): >#0 0x402620b1 in select () from /lib/libc.so.6 >#1 0x4006624c in __JCR_LIST__ () from /usr/lib/libSDL-1.2.so.0 >#2 0x080f69da in TaskSwitch_SDL () > at src/sc2code/libs/threads/sdl/sdlthreads.c:305 >#3 0x080f6592 in TaskSwitch () at >src/sc2code/libs/threads/thrcommon.c:304 >#4 0x080c1462 in TFB_FlushGraphics () > at src/sc2code/libs/graphics/sdl/sdl_common.c:467 >#5 0x0804c625 in main (argc=1, argv=0xbffff8f4) at src/starcon2.c:382 >#6 0x401a9dcc in __libc_start_main () from /lib/libc.so.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 41435
: 25510