Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115787 - games-sports/trigger-0.5.1c lockup on quit (a radeon GetLock issue?)
Summary: games-sports/trigger-0.5.1c lockup on quit (a radeon GetLock issue?)
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-16 08:59 UTC by Jaak Ristioja
Modified: 2008-06-05 18:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2005-12-16 08:59:45 UTC
games-sports/trigger locks up, when quit is chosen from the main menu. The
program is running full-screen, so one has to switch to another console and kill
the process, switch back to xorg, reset the screen resolution.

Reproducible: Always
Steps to Reproduce:
1. run trigger
2. quit trigger
(3. in the ending credits press escape)
Actual Results:  
A lockup.

Expected Results:  
Exit and switch back the screen resolution.

Using an Radeon 9200SE graphics card, gentoo-sources 2.6.14-r4.

A backtrace of the running process after a ctrl+c sent from gdb:

#0  0x00002aaaabacfe29 in ioctl () from /lib/tls/libc.so.6
#1  0x00002aaaac9e7c23 in drmGetLock () from /usr/lib/libdrm.so.2
#2  0x00002aaaad5a7407 in r200GetLock () from /usr/lib/xorg/modules/dri/r200_dri.so
#3  0x00002aaaad5a5aba in r200FlushCmdBuf () from
/usr/lib/xorg/modules/dri/r200_dri.so
#4  0x00002aaaad5a502a in r200DestroyContext () from
/usr/lib/xorg/modules/dri/r200_dri.so
#5  0x00002aaaad5a186a in __driUtilUpdateDrawableInfo () from
/usr/lib/xorg/modules/dri/r200_dri.so
#6  0x00002aaaaaf886cd in __glXFreeContext () from
//usr/lib64/opengl/xorg-x11/lib/libGL.so.1
#7  0x00002aaaaabfab49 in X11_GL_Shutdown () from /usr/lib/libSDL-1.2.so.0
#8  0x00002aaaaabf914c in X11_CheckMouseMode () from /usr/lib/libSDL-1.2.so.0
#9  0x00002aaaaabfa7d0 in X11_CheckMouseMode () from /usr/lib/libSDL-1.2.so.0
#10 0x00002aaaaabf1f37 in SDL_VideoQuit () from /usr/lib/libSDL-1.2.so.0
#11 0x00002aaaaabcfd19 in SDL_QuitSubSystem () from /usr/lib/libSDL-1.2.so.0
#12 0x00002aaaaabcfdae in SDL_Quit () from /usr/lib/libSDL-1.2.so.0
#13 0x0000000000428ec0 in std::operator+<char, std::char_traits<char>,
std::allocator<char> > ()
#14 0x00000000004078fc in ?? ()
#15 0x00002aaaaba3c674 in __libc_start_main () from /lib/tls/libc.so.6
#16 0x000000000040550a in ?? ()
#17 0x00007fffff89b7f8 in ?? ()
#18 0x000000000000001c in ?? ()
#19 0x0000000000000002 in ?? ()
#20 0x00007fffff89c5d1 in ?? ()
#21 0x00007fffff89c5d9 in ?? ()
#22 0x0000000000000000 in ?? ()

Gentoo Base System version 1.12.0_pre11
Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O2"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl adns alsa amd64 apm audiofile avi bitmap-fonts bzip2 cairo cdr
cjk crypt cups curl directfb divx4linux dri eds emboss encode ethereal exif
expat fam fbcon ffmpeg flac foomaticdb gif gimpprint glut gmp gpm gstreamer gtk
gtk2 gtkhtml hal idn imagemagick imlib ithreads jpeg kde lcms libcaca libwww
lirc lzw lzw-tiff mad mhash mikmod mjpeg mmap mng mozilla mp3 mpeg ncurses nogcj
nomotif nptl ogg oggvorbis openal opengl pam pcre pdflib perl pic png ppds
python qt quicktime readline sdl sqlite ssl subversion svg sysfs tcltk tcpd
theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb
userlocales vhosts vorbis wmf xinerama xml xml2 xmms xpm xprint xscreensaver xv
xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LINGUAS

[ebuild   R   ] x11-base/xorg-x11-7.0.0_rc3-r1  +xprint 0 kB
[ebuild   R   ] games-sports/trigger-0.5.1c  6,274 kB
[ebuild   R   ] media-libs/libsdl-1.2.9-r1  +X -aalib +alsa -arts -dga +directfb
-esd +fbcon -ggi +libcaca -nas -noaudio -noflagstrip -nojoystick -novideo
+opengl +oss (-svga) +xinerama +xv 2,625 kB
Comment 1 Jaak Ristioja 2005-12-25 05:19:19 UTC
I also get frequent display corruption after this in some graphical applications (at this moment, i can only name firefox).
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2006-05-19 15:40:11 UTC
I think this is fixed in 0.5.2-r1 with the new openal.
Comment 3 Pinky 2006-06-24 11:16:59 UTC
with openal-0.8 / freealut work well.
Comment 4 Jaak Ristioja 2006-08-14 12:41:09 UTC
I'm currently not able to test this, because i don't have my radeon card at the moment and because of conflicting packages:

$ emerge -pDtuvq world
[blocks B     ] =media-libs/openal-0.0.8 (is blocking media-gfx/blender-2.41)
[blocks B     ] ~media-libs/openal-20050504 (is blocking media-libs/freealut-1.1.0)
...
[nomerge      ] media-gfx/blender-2.41  USE="-nls"
[ebuild     U ] games-sports/trigger-0.5.2-r1 [0.5.2]
[ebuild  N    ]  media-libs/freealut-1.1.0
[ebuild     UD]   media-libs/openal-0.0.8 [20050504-r2] USE="alsa mp3% sdl vorbis -arts -debug -esd"
...
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-08-14 12:45:00 UTC
This should work with 0.5.2-r1.  The package issue is a separate bug that the amd64 team could fix up for you by marking the later blender ebuild stable.  Needs a new bug though so I'm closing this one.
Comment 6 Jaak Ristioja 2006-08-14 12:55:55 UTC
Ok, submitted: https://bugs.gentoo.org/show_bug.cgi?id=143931
Comment 7 Jaak Ristioja 2008-06-05 18:49:17 UTC
Trigger-0.5.1c no longer in portage, fixed and RIP. Closing.