Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615498 - x11-libs/libdrm-2.4.79 - segfault in X after login w/ Plasma-desktop and Xfce4
Summary: x11-libs/libdrm-2.4.79 - segfault in X after login w/ Plasma-desktop and Xfce4
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-14 02:22 UTC by Phil Turmel
Modified: 2018-01-05 13:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Backtrace collected with gdb per x.org single computer debugging recommendations. (libdrm-2.4.79-backtrace.log,5.89 KB, text/plain)
2017-04-14 02:24 UTC, Phil Turmel
Details
Emerge --info (emerge.info.txt,7.68 KB, text/plain)
2017-04-14 02:25 UTC, Phil Turmel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.