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

Bug 500850

Summary: x11-drivers/xf86-video-intel-2.99.909 - switching back to desktop causes segmentation fault
Product: Gentoo Linux Reporter: Raymond Jennings <shentino>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Xorg.log
emerge --info, also has version information for package

Description Raymond Jennings 2014-02-10 08:17:24 UTC
I switched to a vt, and it crashed the X server.



Reproducible: Sometimes
Comment 1 Raymond Jennings 2014-02-10 08:17:49 UTC
Created attachment 370010 [details]
Xorg.log
Comment 2 Raymond Jennings 2014-02-10 08:19:02 UTC
Created attachment 370012 [details]
emerge --info, also has version information for package
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-02-11 12:01:27 UTC
Does this also happen with 2.99.910 too?

If possible, please get a proper backtrace of the crash. Build xorg-server and xf86-video-intel with CFLAGS=-g and FEATURES=splitdebug, and then attach gdb to your X server as per http://www.x.org/wiki/Development/Documentation/ServerDebugging/ (may need to be done via ssh).
Comment 4 Raymond Jennings 2014-02-11 21:20:06 UTC
This is very intermittent.

Also, if X crashes with gdb attached, won't that cause it to hang?  And if it does, how do I switch to a console so I can access the gdb?
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-02-12 01:13:14 UTC
The X.org wiki recommends to use ssh for that reason.

Another possibility is to invoke Magic SysRq (Alt+SysRq+R) which will take control of the keyboard away from the X server, and allow you to switch to another vt.
Comment 6 Raymond Jennings 2014-02-12 01:46:07 UTC
I only have one machine.

Is there a way to get X to dump core, and will that be as good as a backtrace?
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-02-12 13:19:56 UTC
Yes, from screen/dtach/tmux session, but you need to use Magic SysRq to wrestle control of the keyboard back from the X server.
Comment 8 Raymond Jennings 2014-02-12 19:18:49 UTC
I turned on no trap signals, so that it will dump core normally.
Comment 9 Matt Turner gentoo-dev 2015-02-23 01:02:03 UTC
I think it's very likely this is fixed in a new version of the driver. If it's
not, please file a bug upstream at bugs.freedesktop.org. We're not prepared to
fix driver issues that aren't fixed upstream.