← Back to team overview

registry team mailing list archive

[Bug 568230] Re: Freeze if boss-key (Shift-Esc) pressed while busy doing network stuff and game engine not running

 

Launchpad has imported 7 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=27786.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-04-21T21:04:10+00:00 Luke-jr+freedesktop wrote:

If I press Shift-Esc while Armagetron Advanced is in a network-only
state (fetching server list, between rounds, etc), the game locks up
until I manually kill it (SIGINT works)

--- Backtrace ---
 #0 0x00007ffb139827c4 in __lll_lock_wait () from /lib/libpthread.so.0
 #1 0x00007ffb1397e029 in _L_lock_534 () from /lib/libpthread.so.0
 #2 0x00007ffb1397de3e in pthread_mutex_lock () from /lib/libpthread.so.0
 #3 0x00007ffb12e029dd in ?? () from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1
 #4 0x00007ffb12e030b3 in ?? () from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1
 #5 0x00007ffb12e01825 in glXMakeCurrentReadSGI ()
    from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1
 #6 0x00007ffb12996f04 in ?? () from /usr/lib/libSDL-1.2.so.0
 #7 0x00007ffb1299acfe in ?? () from /usr/lib/libSDL-1.2.so.0
 #8 0x00007ffb1299af17 in ?? () from /usr/lib/libSDL-1.2.so.0
 #9 0x00007ffb1298b902 in SDL_VideoQuit () from /usr/lib/libSDL-1.2.so.0
 #10 0x00007ffb1296516d in SDL_QuitSubSystem () from /usr/lib/libSDL-1.2.so.0
 #11 0x00007ffb129651ee in SDL_Quit () from /usr/lib/libSDL-1.2.so.0
 #12 0x00007ffb12965a0f in ?? () from /usr/lib/libSDL-1.2.so.0
 #13 <signal handler called>
 #14 0x00007ffb0dc18540 in radeonFlush () from /usr/lib64/dri/r300_dri.so
 #15 0x00007ffb0dc0e028 in ?? () from /usr/lib64/dri/r300_dri.so
 #16 0x00007ffb0dc91cc4 in _mesa_reference_texobj ()
    from /usr/lib64/dri/r300_dri.so
 #17 0x00007ffb0dc947eb in _mesa_free_texture_data ()
    from /usr/lib64/dri/r300_dri.so
 #18 0x00007ffb0dc31938 in _mesa_free_context_data ()
    from /usr/lib64/dri/r300_dri.so
 #19 0x00007ffb0dc31a5e in _mesa_destroy_context ()
    from /usr/lib64/dri/r300_dri.so
 #20 0x00007ffb0dc175fd in radeonDestroyContext ()
    from /usr/lib64/dri/r300_dri.so
 #21 0x00007ffb0dbf40f0 in ?? () from /usr/lib64/dri/r300_dri.so
 #22 0x00007ffb12e2429f in ?? () from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1
 #23 0x00007ffb12e001a8 in ?? () from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1
 #24 0x00007ffb12996f22 in ?? () from /usr/lib/libSDL-1.2.so.0
 #25 0x00007ffb1299acfe in ?? () from /usr/lib/libSDL-1.2.so.0
 #26 0x00007ffb1299af17 in ?? () from /usr/lib/libSDL-1.2.so.0
 #27 0x00007ffb1298b902 in SDL_VideoQuit () from /usr/lib/libSDL-1.2.so.0
 #28 0x00007ffb1296516d in SDL_QuitSubSystem () from /usr/lib/libSDL-1.2.so.0
 #29 0x000000000042a1e9 in main ()

Video card: ATi Radeon X850 AGP

--- Software versions (Gentoo) ---
 Armagetron Advanced trunk: bzr co lp:armagetronad -r 968
 sys-libs/glibc-2.10.1-r1 (libpthread)
 media-libs/mesa-7.7.1 (libGL, r300_dri)
 media-libs/libsdl-1.2.13-r1 (libSDL)
 x11-base/xorg-server-1.7.6

Reply at: https://bugs.launchpad.net/armagetronad/+bug/568230/comments/0

------------------------------------------------------------------------
On 2010-04-22T00:31:20+00:00 Michel-daenzer wrote:

Looks like Armagetron Advanced or SDL is doing crazy stuff from a signal
handler...

Reply at: https://bugs.launchpad.net/armagetronad/+bug/568230/comments/1

------------------------------------------------------------------------
On 2010-04-22T06:56:17+00:00 Luke-jr+freedesktop wrote:

My uneducated guess is that radeonFlush is triggering a SIGSEGV and
libSDL is trying to shutdown sanely as a result, which creates a loop
since the radeonFlush is already in the shutdown procedure.

Reply at: https://bugs.launchpad.net/armagetronad/+bug/568230/comments/4

------------------------------------------------------------------------
On 2010-04-22T07:04:02+00:00 Michel-daenzer wrote:

Can you get another backtrace showing what signal it is, with debugging
symbols for at least r300_dri.so?

Reply at: https://bugs.launchpad.net/armagetronad/+bug/568230/comments/5

------------------------------------------------------------------------
On 2010-04-22T07:29:08+00:00 Luke-jr+freedesktop wrote:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff1d2fd79 in radeonFlush (ctx=0xbe72e0) at radeon_common.c:1107
1107            if ((ctx->DrawBuffer->Name == 0) && radeon->front_buffer_dirty) {
(gdb) bt
#0  0x00007ffff1d2fd79 in radeonFlush (ctx=0xbe72e0) at radeon_common.c:1107
#1  0x00007ffff1d20ae5 in radeon_firevertices (radeon=0xbe0a60) at radeon_cmdbuf.h:118
#2  0x00007ffff1d20a10 in r300DeleteTexture (ctx=0xbe72e0, texObj=0x12404d0)
    at r300_tex.c:262
#3  0x00007ffff1de3559 in _mesa_reference_texobj (ptr=0xbf2930, tex=0x0)
    at main/texobj.c:345
#4  0x00007ffff1de8963 in _mesa_free_texture_data (ctx=0xbe72e0) at main/texstate.c:788
#5  0x00007ffff1d511c5 in _mesa_free_context_data (ctx=0xbe72e0) at main/context.c:972
#6  0x00007ffff1d5137c in _mesa_destroy_context (ctx=0xbe72e0) at main/context.c:1028
#7  0x00007ffff1d2c0d7 in radeonDestroyContext (driContextPriv=0xbd6450)
    at radeon_common_context.c:328
#8  0x00007ffff1cfcf1d in driDestroyContext (pcp=0xbd6450) at ../common/dri_util.c:546
#9  0x00007ffff703f8c6 in driDestroyContext (context=0xb83290, psc=0xbd5fc0,
    dpy=0xa8ac10) at dri_glx.c:482
#10 0x00007ffff7007810 in DestroyContext (dpy=0xa8ac10, gc=0xbe08b0) at glxcmds.c:556
#11 0x00007ffff70079b0 in glXDestroyContext (dpy=0xa8ac10, gc=0xbe08b0) at glxcmds.c:592
#12 0x00007ffff6b9df22 in ?? () from /usr/lib/libSDL-1.2.so.0
#13 0x00007ffff6ba1cfe in ?? () from /usr/lib/libSDL-1.2.so.0
#14 0x00007ffff6ba1f17 in ?? () from /usr/lib/libSDL-1.2.so.0
#15 0x00007ffff6b92902 in SDL_VideoQuit () from /usr/lib/libSDL-1.2.so.0
#16 0x00007ffff6b6c16d in SDL_QuitSubSystem () from /usr/lib/libSDL-1.2.so.0
#17 0x000000000042a1e9 in main ()

Reply at: https://bugs.launchpad.net/armagetronad/+bug/568230/comments/6

------------------------------------------------------------------------
On 2010-04-22T07:31:36+00:00 Luke-jr+freedesktop wrote:

       1107             if ((ctx->DrawBuffer->Name == 0) && radeon->front_buffer_dirty) {
-       0x7f3f1063ad6e  <radeonFlush+217>:		mov    -0x28(%rbp),%rax
-       0x7f3f1063ad72  <radeonFlush+221>:		mov    0xf8(%rax),%rax
SEGV>-  0x7f3f1063ad79  <radeonFlush+228>:		mov    0x28(%rax),%eax
-       0x7f3f1063ad7c  <radeonFlush+231>:		test   %eax,%eax
-       0x7f3f1063ad7e  <radeonFlush+233>:		jne    0x7f3f1063ae25 <radeonFlush+400>
-       0x7f3f1063ad84  <radeonFlush+239>:		mov    -0x18(%rbp),%rax
-       0x7f3f1063ad88  <radeonFlush+243>:		movzbl 0x552(%rax),%eax
-       0x7f3f1063ad8f  <radeonFlush+250>:		test   %al,%al
-       0x7f3f1063ad91  <radeonFlush+252>:		je     0x7f3f1063ae25 <radeonFlush+400>

Reply at: https://bugs.launchpad.net/armagetronad/+bug/568230/comments/7

------------------------------------------------------------------------
On 2010-04-22T07:36:00+00:00 Luke-jr+freedesktop wrote:

ctx->DrawBuffer is a NULL pointer

Reply at: https://bugs.launchpad.net/armagetronad/+bug/568230/comments/8


** Changed in: mesa
       Status: Unknown => Confirmed

** Changed in: mesa
   Importance: Unknown => High

-- 
Freeze if boss-key (Shift-Esc) pressed while busy doing network stuff and game engine not running
https://bugs.launchpad.net/bugs/568230
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for libsdl.