Bug 90403

Summary: X segfault with libdrm 2.4.61
Product: xorg Reporter: Tobias Klausmann <tobias.johannes.klausmann>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: chrischavez, eero.t.tamminen, gordon.jin, huax.lu
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Tobias Klausmann 2015-05-11 16:12:07 UTC
With libdrm 2.4.61 the X server segfaults with xf86-video-intel (.917) and X server 1.17.1!

i have bisected libdrm back to commit 8576527cfacaf42af8316e1030c192193e94225a - intel: Merge latest i915_drm.h.
reverse applying the patch on top of .61 works just fine as well.
Comment 1 Chris Wilson 2015-05-11 20:11:28 UTC
Care to grab a gdb bt?
Comment 2 Chris Wilson 2015-05-11 20:16:01 UTC
Also look at

commit 7fe2b2948652443ff43d907855bd7a051d54d309
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Mar 19 23:14:17 2015 +0000

    sna: Protect against ABI breakage in recent versions of libdrm
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 3 Tobias Klausmann 2015-05-11 20:32:51 UTC
(In reply to Chris Wilson from comment #2)
> Also look at
> 
> commit 7fe2b2948652443ff43d907855bd7a051d54d309
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Thu Mar 19 23:14:17 2015 +0000
> 
>     sna: Protect against ABI breakage in recent versions of libdrm
>     
>     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

Save yourself from more bugreports and release another snapshot...! :)


> Care to grab a gdb bt?

That may be a bit problematic, if i do --enalbe-debug on the driver, the bug is gone as well. If thats not necessary, i'll sure add one.
Comment 4 Chris Wilson 2015-05-21 09:10:18 UTC
*** Bug 90551 has been marked as a duplicate of this bug. ***
Comment 5 Martin Peres 2019-11-27 13:37:13 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/issues/51.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.