<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Kerbal Space Program freezes randomly when DRI3 is enabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97890#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Kerbal Space Program freezes randomly when DRI3 is enabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97890">bug 97890</a>
              from <span class="vcard"><a class="email" href="mailto:jajcus@jajcus.net" title="Jacek Konieczny <jajcus@jajcus.net>"> <span class="fn">Jacek Konieczny</span></a>
</span></b>
        <pre>Ok, managed to check it right now:

<span class="quote">> When the game freezes, if you do "strace -f -p PID", is the game still active?</span >

Yes, shows a lot of I/O on some pipes and sockets.

<span class="quote">> If you attach to it with Gdb, where it's stuck:
> $ gdb /proc/$(pidof KSP.x86_64)/exe $(pidof KSP.x86_64)
> (gdb) info threads</span >

(gdb) info threads
  Id   Target Id         Frame 
  37   Thread 0x7fb8dbf54700 (LWP 27994) "KSP.x86_64" 0x00007fb8db8d4478 in
pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  36   Thread 0x7fb8d462b700 (LWP 27995) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  35   Thread 0x7fb8cffff700 (LWP 27996) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  34   Thread 0x7fb8c7fff700 (LWP 27997) "KSP.x86_64" 0x00007fb8db8d40cf in
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  33   Thread 0x7fb8c77fe700 (LWP 27998) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  32   Thread 0x7fb8c6ffd700 (LWP 27999) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  31   Thread 0x7fb8c67fc700 (LWP 28000) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  30   Thread 0x7fb8c5ffb700 (LWP 28001) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  29   Thread 0x7fb8c57fa700 (LWP 28002) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  28   Thread 0x7fb8c4ff9700 (LWP 28003) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  27   Thread 0x7fb8abfff700 (LWP 28004) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  26   Thread 0x7fb8ab7fe700 (LWP 28005) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  25   Thread 0x7fb8aaffd700 (LWP 28006) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  24   Thread 0x7fb8aa7fc700 (LWP 28007) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  23   Thread 0x7fb8a9ffb700 (LWP 28008) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  22   Thread 0x7fb8a97fa700 (LWP 28009) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  21   Thread 0x7fb8a8ff9700 (LWP 28010) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  20   Thread 0x7fb89ffff700 (LWP 28011) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  19   Thread 0x7fb89f7fe700 (LWP 28012) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  18   Thread 0x7fb89effd700 (LWP 28013) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  17   Thread 0x7fb89e7fc700 (LWP 28014) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  16   Thread 0x7fb89dffb700 (LWP 28015) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  15   Thread 0x7fb89d7fa700 (LWP 28016) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  14   Thread 0x7fb89cff9700 (LWP 28017) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  13   Thread 0x7fb87ffff700 (LWP 28018) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  12   Thread 0x7fb87f7fe700 (LWP 28019) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  11   Thread 0x7fb87effd700 (LWP 28020) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  10   Thread 0x7fb87e7fc700 (LWP 28021) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  9    Thread 0x7fb87dffb700 (LWP 28022) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  8    Thread 0x7fb87d7fa700 (LWP 28023) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  7    Thread 0x7fb87cff9700 (LWP 28024) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  6    Thread 0x7fb857fff700 (LWP 28028) "threaded-ml" 0x00007fb8da21628d in
poll () from /lib64/libc.so.6
  5    Thread 0x7fb8cc11d700 (LWP 28029) "KSP.x86_64" 0x00007fb8db8d40b7 in
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  4    Thread 0x7fb8cc111700 (LWP 28030) "KSP.x86_64" 0x00007fb8da1eeb7d in
nanosleep () from /lib64/libc.so.6
  3    Thread 0x7fb8c408e700 (LWP 28033) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0
  2    Thread 0x7fb83445a700 (LWP 28693) "KSP.x86_64" 0x00007fb8da1eeb7d in
nanosleep () from /lib64/libc.so.6
* 1    Thread 0x7fb8dc0d7800 (LWP 27991) "KSP.x86_64" 0x00007fb8db8d6597 in
do_futex_wait.constprop () from /lib64/libpthread.so.0


<span class="quote">> (gdb) bt</span >

Nothing interesting:
(gdb) bt
#0  0x00007fb8db8d6597 in do_futex_wait.constprop () from
/lib64/libpthread.so.0
#1  0x00007fb8db8d6644 in __new_sem_wait_slow.constprop.0 () from
/lib64/libpthread.so.0
#2  0x0000000000f08819 in ?? ()
#3  0x0000000000f02d27 in ?? ()
#4  0x00000000007c8f73 in ?? ()
#5  0x00000000004661bb in ?? ()
#6  0x00007fb8da1567a0 in __libc_start_main () from /lib64/libc.so.6
#7  0x000000000046f695 in ?? ()
#8  0x00007ffc7cecdc28 in ?? ()
#9  0x000000000000001c in ?? ()
#10 0x0000000000000001 in ?? ()
#11 0x00007ffc7cecfec1 in ?? ()
#12 0x0000000000000000 in ?? ()


I guess the most interesting part will be this fragment from 'thread apply all
bt':


Thread 34 (Thread 0x7fb8c7fff700 (LWP 27997)):
#0  0x00007fb8db8d40cf in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fb8d845fb7f in ?? () from
/home/users/jajcus/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb8d8461002 in xcb_wait_for_special_event ()
   from
/home/users/jajcus/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb8db49aea7 in ?? () from /usr/lib64/libGL.so.1
#4  0x00007fb8db49bc70 in ?? () from /usr/lib64/libGL.so.1
#5  0x00007fb8cf2f3a7d in intel_update_image_buffers (drawable=0x2b61970,
brw=0x2d05de8) at brw_context.c:1682
#6  intel_update_renderbuffers (context=context@entry=0x3883020,
drawable=drawable@entry=0x2b61970) at brw_context.c:1397
#7  0x00007fb8cf2f3ee1 in intel_prepare_render (brw=brw@entry=0x2d05de8) at
brw_context.c:1418
#8  0x00007fb8cf2e6da0 in brw_clear (ctx=0x2d05de8, mask=50) at brw_clear.c:232
#9  0x0000000000f0dd91 in ?? ()
#10 0x0000000000f1111f in ?? ()
#11 0x0000000000f077c7 in ?? ()
#12 0x00000000008e4f08 in ?? ()
#13 0x00007fb8db8ce46d in start_thread () from /lib64/libpthread.so.0
#14 0x00007fb8da21f65d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

Maybe, I should try removing
'/home/users/jajcus/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb.so.1',
in case libxcb from Steam Runtime is broken?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>