<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Trine 2 doesn't start on radeonsi on mesa 17"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100708#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Trine 2 doesn't start on radeonsi on mesa 17"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100708">bug 100708</a>
from <span class="vcard"><a class="email" href="mailto:nmiell@gmail.com" title="Nicholas Miell <nmiell@gmail.com>"> <span class="fn">Nicholas Miell</span></a>
</span></b>
<pre>Trine 2 uses an SDL 1.3, which is an ancient predecessor to SDL 2.
SDL 1.3 disables the screensaver by forking and running
gnome-screensaver-command --inhibit. gnome-screensaver-command doesn't exist on
modern Linux distros, so the exec fails and the child calls exit().
The child then SIGSEGVs with the following stack trace:
#0 __pthread_join (threadid=3571178304,
thread_return=thread_return@entry=0xffffb528) at pthread_join.c:45
#1 0xd942f463 in thrd_join (res=0x0, thr=<optimized out>) at
../../include/c11/threads_posix.h:336
#2 util_queue_killall_and_wait (queue=queue@entry=0xba1449c) at u_queue.c:305
#3 0xd942f4e7 in atexit_handler () at u_queue.c:51
#4 0xf6cbe8d3 in __run_exit_handlers (status=2, listp=0xf6e483fc
<__exit_funcs>, run_list_atexit=true, run_dtors=true) at exit.c:83
#5 0xf6cbe931 in __GI_exit (status=2) at exit.c:105
#6 0xf7d2647e in gnome_screensaver_disable () from ./lib/lib32/libSDL-1.3.so.0
#7 0xf7d2656b in X11_SuspendScreenSaver () from ./lib/lib32/libSDL-1.3.so.0
#8 0xf7d1b32e in SDL_DisableScreenSaver () from ./lib/lib32/libSDL-1.3.so.0
#9 0xf7c61081 in SetupScreenSaver () from ./lib/lib32/libSDL-1.3.so.0
#10 0xf7c6155f in SDL_SetVideoMode () from ./lib/lib32/libSDL-1.3.so.0
#11 0x08bf7941 in ?? ()
#12 0x08c3795e in ?? ()
#13 0x08bbd3c1 in ?? ()
#14 0x08370b3d in ?? ()
#15 0x08d40640 in ?? ()
#16 0x080ae19d in ?? ()
#17 0xf6ca3823 in __libc_start_main (main=0x80ade50, argc=3, argv=0xffffbbb4,
init=0x910f020, fini=0x910f090, rtld_fini=0xf7fe5900 <_dl_fini>,
stack_end=0xffffbbac) at ../csu/libc-start.c:308
#18 0x080c2d7d in ?? ()
If you just leave the the child halted in gdb, the main game process appears to
run normally (the game is perfectly playable).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>