<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - MATLAB hangs if DRI3 enabled with intel driver"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97230#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - MATLAB hangs if DRI3 enabled with intel driver"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97230">bug 97230</a>
from <span class="vcard"><a class="email" href="mailto:eero.t.tamminen@intel.com" title="Eero Tamminen <eero.t.tamminen@intel.com>"> <span class="fn">Eero Tamminen</span></a>
</span></b>
<pre>(In reply to f.mach4 from <a href="show_bug.cgi?id=97230#c8">comment #8</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=127912" name="attach_127912" title="GDB full trace when MATLAB has hanged">attachment 127912</a> <a href="attachment.cgi?id=127912&action=edit" title="GDB full trace when MATLAB has hanged">[details]</a></span>
> GDB full trace when MATLAB has hanged</span >
Ok, so everything is in pthread_cond_wait(), except couple of threads that:
* wait accepting network connection
* epoll_wait() or poll() from network connection
And then there's a lock wait on display close:
Thread 57 (Thread 0x7ffab9873700 (LWP 19273)):
#0 0x00007ffb75116f1c in __lll_lock_wait () at /usr/lib/libpthread.so.0
#1 0x00007ffb75110b45 in pthread_mutex_lock () at /usr/lib/libpthread.so.0
#2 0x00007ffb6990d083 in () at /usr/lib/libX11.so.6
#3 0x00007ffb69902698 in XFreeGC () at /usr/lib/libX11.so.6
#4 0x00007ffb698fcb5c in XCloseDisplay () at /usr/lib/libX11.so.6
#5 0x00007ffab8c68042 in
Java_jogamp_nativewindow_x11_X11Lib_XCloseDisplay(__complex) () at
/opt/MATLAB/R2016a/bin/glnxa64/libnativewindow_x11.so
Which I assume is the deadlock preventing Matlab from exiting?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>