[Bug 1208486] New: X crashes after resuming from suspend
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 Bug ID: 1208486 Summary: X crashes after resuming from suspend Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: gfx-bugs@suse.de Reporter: alexandre.vicenzi@suse.com QA Contact: gfx-bugs@suse.de Found By: --- Blocker: --- I have a Lenovo P15 with an Nvidia card, and I'm using Xorg and the Nvidia drivers from openSUSE repos. I usually sleep my PC at the end of the day and resume it back the next morning. Recently, after some update (?), when I resume from suspend X crashes and I'm presented with a login screen, and all running apps from the previous session are now gone. This issue does not happen every time, but it happens most times I resume from sleep. I managed to dig this crash out of Xorg logs: [ 164.474] (EE) Backtrace: [ 164.475] (EE) 0: /usr/bin/X (xorg_backtrace+0x65) [0x55a2ee84c595] [ 164.475] (EE) 1: /usr/bin/X (0x55a2ee69a000+0x1b6269) [0x55a2ee850269] [ 164.475] (EE) 2: /lib64/libpthread.so.0 (0x7f51c7196000+0x168c0) [0x7f51c71ac8c0] [ 164.475] (EE) 3: /usr/lib64/libinput.so.10 (libinput_device_config_send_events_get_modes+0x0) [0x7f4bb2407d70] [ 164.475] (EE) 4: /usr/lib64/xorg/modules/input/libinput_drv.so (0x7f4bb2664000+0x7866) [0x7f4bb266b866] [ 164.475] (EE) 5: /usr/lib64/xorg/modules/input/libinput_drv.so (0x7f4bb2664000+0xd5a0) [0x7f4bb26715a0] [ 164.475] (EE) 6: /usr/bin/X (XIChangeDeviceProperty+0x151) [0x55a2ee7e4c21] [ 164.475] (EE) 7: /usr/bin/X (0x55a2ee69a000+0x14ba20) [0x55a2ee7e5a20] [ 164.476] (EE) 8: /usr/bin/X (0x55a2ee69a000+0x5cd88) [0x55a2ee6f6d88] [ 164.476] (EE) 9: /usr/bin/X (0x55a2ee69a000+0x60d8c) [0x55a2ee6fad8c] [ 164.476] (EE) 10: /lib64/libc.so.6 (__libc_start_main+0xef) [0x7f51c6dd629d] [ 164.476] (EE) 11: /usr/bin/X (_start+0x2a) [0x55a2ee6e4a2a] [ 164.476] (EE) [ 164.476] (EE) Segmentation fault at address 0x50 [ 164.476] (EE) Fatal server error: [ 164.476] (EE) Caught signal 11 (Segmentation fault). Server aborting -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 Alexandre Vicenzi <alexandre.vicenzi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|X crashes after resuming |X crashes after resuming |from suspend |from sleep -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |alexandre.vicenzi@suse.com Flags| |needinfo?(alexandre.vicenzi | |@suse.com) --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- Thanks. Could you please attach the complete X logfile? Also the output of inxi -aG and prime-select get-current -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c2 Vasilis Liaskovitis <vliaskovitis@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vliaskovitis@suse.com --- Comment #2 from Vasilis Liaskovitis <vliaskovitis@suse.com> --- Just sharing a possible line of investigation after quickly looking into the Xorg crash: Judging by the very similar xorg backtrace, reported also in other distros downstream (e.g. https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-libinput/+bug/1..., https://bugs.archlinux.org/task/70419), this may be upstream bug: https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput/-/issues/34 fixed by upsteam xf86-input-libinput commit (which is not in Leap15.4): 6c1c53d2 Make sure the device is valid when setting the tap button map But I have not reproduced the bug myself. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c3 --- Comment #3 from Alexandre Vicenzi <alexandre.vicenzi@suse.com> --- Created attachment 864995 --> http://bugzilla.opensuse.org/attachment.cgi?id=864995&action=edit Xorg.0.log -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c4 --- Comment #4 from Alexandre Vicenzi <alexandre.vicenzi@suse.com> --- Created attachment 864996 --> http://bugzilla.opensuse.org/attachment.cgi?id=864996&action=edit inxi -aG log -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c5 --- Comment #5 from Alexandre Vicenzi <alexandre.vicenzi@suse.com> --- Created attachment 864997 --> http://bugzilla.opensuse.org/attachment.cgi?id=864997&action=edit prime-select get-current log -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c6 Alexandre Vicenzi <alexandre.vicenzi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(alexandre.vicenzi | |@suse.com) | --- Comment #6 from Alexandre Vicenzi <alexandre.vicenzi@suse.com> --- (In reply to Stefan Dirsch from comment #1)
Thanks. Could you please attach the complete X logfile? Also the output of
inxi -aG
and
prime-select get-current
All logs are attached, if you need anything else let me know. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #864995|text/x-log |text/plain mime type| | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c7 --- Comment #7 from Stefan Dirsch <sndirsch@suse.com> --- Thanks, Vasislis! Why not give it a try ... https://build.suse.de/package/show/home:sndirsch:branches:SUSE:SLE-15-SP4:Up... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c8 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(alexandre.vicenzi | |@suse.com) --- Comment #8 from Stefan Dirsch <sndirsch@suse.com> --- Please give the rebuilded package with the patch a try. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c9 --- Comment #9 from Alexandre Vicenzi <alexandre.vicenzi@suse.com> --- (In reply to Stefan Dirsch from comment #8)
Please give the rebuilded package with the patch a try.
I installed it. I'll test it for a few days as it does not happen every time. I'll report back to you soon. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c10 --- Comment #10 from Stefan Dirsch <sndirsch@suse.com> --- Sounds good. It's an Xserver module which only gets loaded once during Xserver startup. So you at least need to log out your from your Xsession to test it (AFAIK all our displaymanager restart the Xserver when logging our the user). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c11 --- Comment #11 from Alexandre Vicenzi <alexandre.vicenzi@suse.com> --- (In reply to Stefan Dirsch from comment #10)
Sounds good. It's an Xserver module which only gets loaded once during Xserver startup. So you at least need to log out your from your Xsession to test it (AFAIK all our displaymanager restart the Xserver when logging our the user).
Yes, I did logout, and "zypper ps -s" shows nothing also. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c13 Alexandre Vicenzi <alexandre.vicenzi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(alexandre.vicenzi | |@suse.com) | --- Comment #13 from Alexandre Vicenzi <alexandre.vicenzi@suse.com> --- (In reply to Stefan Dirsch from comment #12)
Any first results after 4 days?
Yes, so far so good, no issues. I suspect that the patch solved the issue, I did not update any other packages in the system. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208486 http://bugzilla.opensuse.org/show_bug.cgi?id=1208486#c14 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #14 from Stefan Dirsch <sndirsch@suse.com> --- Thanks for testing and verifying that the issue is fixed with that patch. Just submitted the fixed package to sle15-sp4. I also verified that the fix is already included in the version of xf86-input-libinput for sle15-sp5 and factory/Tumbleweed. Closing as fixed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com