Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 615498

Summary: x11-libs/libdrm-2.4.79 - segfault in X after login w/ Plasma-desktop and Xfce4
Product: Gentoo Linux Reporter: Phil Turmel <philip>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED OBSOLETE    
Severity: critical CC: EoD, jfostiguy, philip
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Backtrace collected with gdb per x.org single computer debugging recommendations.
Emerge --info

Description Phil Turmel 2017-04-14 02:22:28 UTC
Recent update brought in 337 packages, after which I could no longer log in graphically.  Plasma's splash screen would display, or Xfce's desktop would briefly be visible, then X would crash and drop back to the login manager.
{ Due to the number of new packages, including nouveau, spent quite a while poking around at other possibilities before following the Xorg single-computer gdb script procedure to get a backtrace. }

Reproducible: Always

Steps to Reproduce:
1. Install xorg-server-1.{18,19}.* with xf86-video-nouveau-1.0.{13,14} and libdrm-2.4.79
2. Reboot or restart X
3. Login
Actual Results:  
X crash with truncated backtrace in Xorg.0.log.old until use flag 'unwind' was turned on.  Then figured out that I was seeing X's signal handler trace.
Followed x.org's instructions to replace /usr/bin/X with a gdb script.  Output attached showing nouveau calling into libdrm, and failing at xf86drmMode.c:923.

Expected Results:  
Desktop appears, in either Xfce4 or plasma-desktop.

Reverting to libdrm-2.4.75 restored proper operation.
Comment 1 Phil Turmel 2017-04-14 02:24:27 UTC
Created attachment 470030 [details]
Backtrace collected with gdb per x.org single computer debugging recommendations.
Comment 2 Phil Turmel 2017-04-14 02:25:31 UTC
Created attachment 470032 [details]
Emerge --info
Comment 3 David March 2017-04-23 15:57:01 UTC
We have been seemingly seeing this same bug on the Gentoo forums.  So far only with GT 730 GPUs.  Downgrading libdrm to 2.4.75 resolves the problems here also.

https://forums.gentoo.org/viewtopic-t-1062172.html
Comment 4 Phil Turmel 2017-04-24 17:17:21 UTC
My hardware is a GK107GLM aka Quadro K1100M in an HP Zbook17, fwiw.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2017-07-21 08:50:11 UTC
Please report this issue upstream at https://bugs.freedesktop.org if no report already exists there.
Comment 6 EoD 2018-01-04 19:42:20 UTC
x11-libs/libdrm-2.4.79 is not in the tree anymore. Does it still happen with a more recent version? Has it been reported upstream?
Comment 7 Phil Turmel 2018-01-04 19:48:54 UTC
Somewhere along the line I got upgraded to 2.4.88 and the problem has not reproduced.  Feel free to close this bug.
Comment 8 EoD 2018-01-05 01:15:40 UTC
(In reply to Phil Turmel from comment #7)
> Somewhere along the line I got upgraded to 2.4.88 and the problem has not
> reproduced.  Feel free to close this bug.

I can't close it, but you as the author should be able to. Just mark it as RESOLVED-OBSOLETE.
Comment 9 Phil Turmel 2018-01-05 13:36:46 UTC
No longer reproducible.