After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747708 - System hangs while switching between TTYs, GDM and GNOME-Session
System hangs while switching between TTYs, GDM and GNOME-Session
Status: RESOLVED NOTGNOME
Product: gdm
Classification: Core
Component: general
3.16.x
Other Linux
: Normal critical
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-11 18:25 UTC by Peter
Modified: 2015-04-13 08:26 UTC
See Also:
GNOME target: ---
GNOME version: 3.15/3.16


Attachments
reverse journalctl (190.79 KB, text/plain)
2015-04-11 18:25 UTC, Peter
Details
reverse journalctl (111.59 KB, text/plain)
2015-04-11 18:26 UTC, Peter
Details
reversel journalctl (179.43 KB, text/plain)
2015-04-11 18:27 UTC, Peter
Details
ThinkPad X220 lspci (1.84 KB, text/plain)
2015-04-11 18:27 UTC, Peter
Details
package list, up-to-date archlinux (15.88 KB, text/plain)
2015-04-11 18:28 UTC, Peter
Details
.config of self compiled kernel-3.19.3 (86.21 KB, text/x-mpsub)
2015-04-11 18:29 UTC, Peter
Details

Description Peter 2015-04-11 18:25:48 UTC
Created attachment 301371 [details]
reverse journalctl

Hello!

Since GNOME 3.16 switching between GDM (TTY1), the active GNOME-Session (TTY2) and the other TTYs (3-6, manged by systemd to run getty) lead to graphic corruptions and a complete hang of the entire system. No INPUT is accepted and even the Power-Button doesn't initiate a controlled shutdown.

Steps to reproduce:
1. Login to GNOME
2. Switch from GNOME to TTY 3-6
3. Switch to GNOME on TTY2
4. Switch from GNOME to TTY 3-6
5. Switch to GNOME on TTY2
6. Repeat until graphics get corrupted and finally the system hangs

OR (this should be much faster):
1. Login to GNOME
2. Switch to TTY1 (GDM)
3. Switch to TTY 3-6
4. System hangs

I've attached my lspci (ThinkPad X220), the reverse output of journalctl, a list of installed packages and the config of my self compiled kernel. As you can see, the graphics driver from intel get blown up, maybe a bug on it's own but it seem at least to be trigged by GNOME/GDM.
Comment 1 Peter 2015-04-11 18:26:27 UTC
Created attachment 301372 [details]
reverse journalctl
Comment 2 Peter 2015-04-11 18:27:13 UTC
Created attachment 301373 [details]
reversel journalctl
Comment 3 Peter 2015-04-11 18:27:52 UTC
Created attachment 301374 [details]
ThinkPad X220 lspci
Comment 4 Peter 2015-04-11 18:28:30 UTC
Created attachment 301375 [details]
package list, up-to-date archlinux
Comment 5 Peter 2015-04-11 18:29:04 UTC
Created attachment 301376 [details]
.config of self compiled kernel-3.19.3
Comment 6 Peter 2015-04-11 18:30:03 UTC
This is also reported downstream on at Suse:
https://bugzilla.opensuse.org/show_bug.cgi?id=925944


Thanks for your work
Bye
Comment 7 Jasper St. Pierre (not reading bugmail) 2015-04-11 19:20:48 UTC
Looks like a kernel bug to me. The DRM framebuffer is getting erroneously unreffed. It does not matter what userspace is doing -- kernel space can never crash.

Please report a bug here to the kernel: https://bugs.freedesktop.org/enter_bug.cgi?product=DRI using component "DRI/Intel".
Comment 8 Peter 2015-04-11 19:51:28 UTC
Thank you, for your fast response.
I will report that to the people at Intel tomorrow!
Good evening :-)
Comment 9 Peter 2015-04-12 10:53:17 UTC
Hello!
This bug is already fixed upstream on the kernel:

https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/linux&id=33f62dc361a7cc15bffd28caf89382786868f3d3
https://bugzilla.kernel.org/show_bug.cgi?id=95621
https://bugs.archlinux.org/task/44491

I just booted up the standard kernel of Archlinux, same release "3.19.3" as mine self compiled kernel, and it worked. So I figured out the patch is responsible, because it cares about fbdev stuff. I applied it to my self compiled kernel and it is also fixed.

Maybe we should contact Suse/Tumbleweed, so they don't was time on searching.