game hangs in kernel call

Bug #254303 reported by Patrick Horgan
2
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

1) Ubuntu 8.04.1
2) libSDL-1.2.so.0.11.1
3) call to SDL_GL_SwapBuffers to return
4) call never returned

Here's the stack backtrace:

#0 0xb7f39410 in __kernel_vsyscall ()
#1 0xb7c96e99 in ioctl () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7993a8b in drmCommandWrite () from /usr/lib/libdrm.so.2
#3 0xb588166d in intelWaitIrq () from /usr/lib/dri/i965_dri.so
#4 0xb587a628 in bmFinishFence () from /usr/lib/dri/i965_dri.so
#5 0xb587a6fc in bmFinishFenceLock () from /usr/lib/dri/i965_dri.so
#6 0xb587e2fb in intelCopyBuffer () from /usr/lib/dri/i965_dri.so
#7 0xb587fe68 in intelSwapBuffers () from /usr/lib/dri/i965_dri.so
#8 0xb5875c36 in ?? () from /usr/lib/dri/i965_dri.so
#9 0xb7ec961c in glXSwapBuffers () from /usr/lib/libGL.so.1
#10 0xb7dda975 in ?? () from /usr/lib/libSDL-1.2.so.0
#11 0xb7dcd74c in SDL_GL_SwapBuffers () from /usr/lib/libSDL-1.2.so.0
#12 0x08054793 in OS_Link::process_events (this=0x8082008) at oslink.cpp:225
#13 0x080679cf in Scheduler::CLOCK (this=0x8082868) at sched.cpp:245
#14 0x08067ad7 in Scheduler::PlaySound (this=0x8082868, channel=2,
    sound=0x80d0880, loops=0) at sched.cpp:675
#15 0x0804b71e in Creature::walk (this=0x8082368, dir=0 '\0')
    at creature.cpp:554
#16 0x0804c445 in Creatures::moveCreaturesTask (this=0x8082248, task=14,
    cidx=8) at creature.cpp:400
#17 0x08067d11 in Scheduler::SCHED (this=0x8082868) at sched.cpp:153
#18 0x08054ce7 in OS_Link::init (this=0x8082008) at oslink.cpp:177
#19 0x0804a622 in main (argc=1, argv=0xbf964b54) at dod.cpp:150

This is triggered when the window is partially covered and then exposed. The application gets an SDL
event of type SDL_VIDEOEXPOSE so it calls SDL_GL_SwapBuffers. The program has been working for
years. But I rebuilt it today (had rebuilt it many times in the last few days and it worked fine) and it quit
working:( Something I upgraded did me in, but looking through the apt log, I can't put a finger on it.

Nothing else hangs when it does, X keeps working, the machine keeps working.

Revision history for this message
Patrick Horgan (phorgan1) wrote :

Looked at datestamps on my libaries and I got a new libSDL.so on 7/31.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Looks like a mesa bug.

affects: libsdl1.2 (Ubuntu) → mesa (Ubuntu)
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi phorgan1,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in mesa (Ubuntu):
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in mesa (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.