<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - sna_driver causes X-server to get SIGSEGV"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95185#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - sna_driver causes X-server to get SIGSEGV"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95185">bug 95185</a>
from <span class="vcard"><a class="email" href="mailto:jason.vas.dias@gmail.com" title="Jason Vas Dias <jason.vas.dias@gmail.com>"> <span class="fn">Jason Vas Dias</span></a>
</span></b>
<pre>(In reply to Chris Wilson from <a href="show_bug.cgi?id=95185#c1">comment #1</a>)
<span class="quote">> Your patches are incorrect. Perhaps if you used the once in the source?</span >
Please explain what you mean by this - I cannot determine what this might be.
Patch A allows the Xorg server to start without core dumping:
--- kgem.c~ 2016-04-25 23:32:41.073898879 +0000
+++ kgem.c 2016-04-28 12:20:41.006474178 +0000
@@ -2789 +2789 @@
- kgem->retire(kgem);
+ if(NULL != kgem->retire) kgem->retire(kgem);
Patch B prevents the Xorg server core dumping on window manager initialization:
@@ -2971 +2971,2 @@
+ if ((kgem->fence[rq->ring] == NULL) &&
+ (NULL != rq) && (NULL != rq->bo) && (NULL !=
rq->bo->handle)
Unfortunately, while it does prevent the XServer from core dumping,
Patch B does not allow it to proceed - it just hangs - it is rather weird,
because at first the Xserver starts and displays an xterm; then, when
I try to start the window manager, the graphical display disappears ,
a blank screen is displayed, and the machine ceases to respond to any
keystroke (like the the VT-Switch sequence: <CTRL>+<ALT>+<F[N]>
to switch to terminal N, or <CTRL>+<ALT>+<DEL> to reboot - none of
them have any effect) .
At first, this hang was caused by the x86-video-intel driver coredumping
when trying to invoke __kgem_busy(kgem, rq->bo->handle) when rq->bo is NULL,
at kgem.c line 2973, but now with Patch B fixing this, there is no coredump,
but the server still hangs the machine and there is no display of anything
(text or graphics) and no way of stopping the machine except by removing
the power cable and battery - the power button does not work either).
Any ideas how to work around so that I can start a window manager ?
Thank & Regards, Jason</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>