<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Xorg segfaults with displaylink attached and mesa version >= 13.0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98563#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Xorg segfaults with displaylink attached and mesa version >= 13.0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98563">bug 98563</a>
              from <span class="vcard"><a class="email" href="mailto:freedesktop-bugzilla@wpsoftware.net" title="Andrew Poelstra <freedesktop-bugzilla@wpsoftware.net>"> <span class="fn">Andrew Poelstra</span></a>
</span></b>
        <pre>(In reply to Emil Velikov from <a href="show_bug.cgi?id=98563#c3">comment #3</a>)
<span class="quote">> The following libdrm commit should fix it. Please apply it locally and let
> me know if it works.

> commit 677cd97dc4a930af508388713f5016baf664ed18
> Author: Rob Herring <<a href="mailto:robh@kernel.org">robh@kernel.org</a>>
> Date:   Fri Oct 21 10:07:59 2016 -0700

>     Return an -ENODEV from drmGetDevice() when no device was found.

> <a href="https://cgit.freedesktop.org/mesa/drm/commit/">https://cgit.freedesktop.org/mesa/drm/commit/</a>
> ?id=677cd97dc4a930af508388713f5016baf664ed18

> Btw you can fetch the patch alone or just rebuild libdrm/master.

> There is another pending fix in the drmDevice area, so as soon as we get a
> confirmation [from a few devs], I'll see that we get another libdrm release.</span >

I also see this bug, my hardware is a UGA-4KDP DisplayLink HDMI device branded
"pluggable".

With Rob's patch, if X is running and I plug in the device (or if I plug it in
then start X), my kernel panics with "PAX: overwritten function pointer or
return address detected: 0000 [01] PREEMPT SMP".

(Actually this might not be the panic -- several lines down grsec says "Halting
the system due to suspicous kernel crash caused by root" so possibly with a
non-grsec kernel it would keep running. I'd prefer not to try :))</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>