Summary: | Xorg crashes with xserver-xorg-input-libinput 0.20.0 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Jean-Philippe MENGUAL <texou> | ||||||||||||||
Component: | Input/libinput | Assignee: | Peter Hutterer <peter.hutterer> | ||||||||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||||||
Severity: | major | ||||||||||||||||
Priority: | medium | CC: | peter.hutterer, pochu27, samuel.thibault | ||||||||||||||
Version: | 7.7 (2012.06) | ||||||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||||||
OS: | Linux (All) | ||||||||||||||||
Whiteboard: | |||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||
Attachments: |
|
Description
Jean-Philippe MENGUAL
2016-10-28 01:59:11 UTC
do you get anything else in the log before? looks like this should only happen if the device disappears and that should show up in the log. Can you attach the full log please? Created attachment 127828 [details]
Full Xorg log
Hi, Sorry for delay. I didn't have available what you request, so needed to collect. Here's a full log for Xorg then. FYI: no longer crash since I've patched with attached patch. Regards, Can you install the debuginfo packages please and figure out where exactly this is coming from? I need to know what's triggering this crash so I can reproduce it here. http://who-t.blogspot.com.au/2014/02/making-sense-of-backtraces-with.html Specifically, the two lines between WaitForSomething and XkbComputeControlsNotify are necessary. Thanks Hi, The full log is here: http://paste.debian.net/900499 Tell me if it's helpful, otherwise I need to know what I should install and what files I should examine. Regards, Created attachment 128337 [details] xorg.log Xorg.log from comment #5 Please don't link to pastebins, they have a habit of expiring before we get to read them. hmm, still missing the important bits. Please follow the instruction here to figure out the missing two lines in the backtrace (the two below XkbComputeControlsNotify) http://who-t.blogspot.com.au/2014/02/making-sense-of-backtraces-with.html Hi, Sorry but how should I apply this tool in my case? Once installed. I run it after crash? I run eu-addr2line /usr/bin/Xorg until crash? I'm unable to apply for me: eu-addr2line -e /opt/xorg/bin/Xorg 0x48d1a4 Does it apply on Xorg.log or for a new running session? Regards, you run it against /usr/bin/Xorg but the binary has to be the same as the one that produced the crash. if you updated since, you need to re-produce the log. And then you just run eu-addr2line -e /usr/bin/Xorg 0x555dc55e08c5 eu-addr2line -e /usr/bin/Xorg 0x555dc562bae0 That should give us the two locations of the callstack that matter. Hopefully :) Oh, and now I see that this is during the vt switch, can you try version 0.22 please, that has some extra protections against device removal crashes - this may be the issue here. Hi, ok I'll try this week. Do I have a solution to do this from a Lightdm session manager? To run X in debug mode from login in Lifhtdm? Regards note that to run eu-addr2line you only need the address and the same binary around, i.e. you can still run this now if you haven't updated since, it should only take a minute. as for lightdm debug - sorry, no idea but there is no real "debug" mode in X anyway, the only thing you can do is to increase the verbosity in the log file. Which probably wouldn't help much in this case, the backtrace addresses will be more useful. After a bit of googling, the bug below suggests there's a way to pass commandline flags though, try -logverbose 7 or 10 to see more log messages. https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/932988 Created attachment 128462 [details]
backtrace
I forgot to write: also, the related users have the habit of switching to a text VT and work there with brltty while Xorg is still running in the other VT. Grmbl, it seems that bugzilla ate my comment: Hello, Here is a backtrace obtained in a crash very similar to the situation here, which is what prompted me to write the patch that Jean-Philippe attached to this bug. The proposed patch also did fix the following bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838703 The relation between all these crashes is that the users have brltty running, which runs a uinput device. Jean-Philippe, could you try Debian's xserver-xorg-input-libinput 0.23.0-1, as suggested by Emilio in the Debian bug entry? Samuel (In reply to Samuel Thibault from comment #12) > Created attachment 128462 [details] > backtrace Looks like your backtrace attachment is actually the comment that disappeared. Can you attach the proper backtrace? Thanks. Created attachment 128466 [details]
backtrace
??!!!??
Anyway, here is the backtrace again
backtrace suggests that the device is already NULL by the time the led updated is called, if so that's another high chance that the fix from 0.23 addresses this issue, I really need someone to test that version please. Hello, In http://bugs.debian.org/838703 , Sebastian Humenda reports that 0.23 doesn't fix the issue, and he has to apply the proposed patch to avoid the crashes. Samuel Created attachment 128529 [details] debugging information FYI, I still have the core file, and I have rebuilt a chroot containing the proper versions, which I have uploaded to: http://people.debian.org/~sthibault/tmp/test.tar.xz after chrooting into it, run cd /var/tmp/debug/debug/debug/debug/debug/ gdb /usr/lib/xorg/Xorg core and the source lines are all available and correct. I'm also attaching to this bug some debugging prints from there. I can still confirm the issue with the latest version, 0.23.0. When I apply the patch, the problem is gone. commit f47f78eb0bd9fba455f01c8c6dead3bd75242b2b Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Tue Dec 20 15:36:55 2016 +1000 Ignore LED updates for disabled devices |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.