Bug 19019 - Random X crashes in Plasma5
Summary: Random X crashes in Plasma5
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-22 12:21 CEST by Wim Coulier
Modified: 2016-08-06 15:08 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Full output of journalctl (386.71 KB, text/plain)
2016-07-22 18:09 CEST, Wim Coulier
Details
targeted output of journalctl (about 10 minutes before till 2 minutes after the crash) (41.83 KB, text/plain)
2016-07-22 18:10 CEST, Wim Coulier
Details
Xorg.0.log (29.40 KB, text/x-log)
2016-07-22 18:11 CEST, Wim Coulier
Details
Xorg.0.log.old (5.75 KB, text/plain)
2016-07-22 18:20 CEST, Wim Coulier
Details
xsession-errors (230.72 KB, text/plain)
2016-07-22 18:24 CEST, Wim Coulier
Details

Description Wim Coulier 2016-07-22 12:21:24 CEST
X crashes sometimes at random, leaving the user in command mode, having lost any work in open applications.
This happened twice. Both times while typing (but not clear if that is related to the crashes).
Comment 1 David Walser 2016-07-22 16:09:52 CEST
You'll need to provide a lot more information for this bug report to be useful.

Things to look at:
/var/log/Xorg.0.log
/var/log/Xorg.0.log.old
~/.xsession-errors (for the user that was logged in)
journalctl -b

Try to find some information that can narrow down the cause of the crash.  If you can find a stack trace, that'd be great.

Keywords: (none) => NEEDINFO

Comment 2 Marja Van Waes 2016-07-22 17:28:18 CEST
If you still remember at what time and date those X crashes happened: there might be something related in the journalctl logs from just before and around that time ("journalctl -b" only shows the logs since last time the system was booted).

Try (with adjusted times + date) as root:

  journalctl -a --since="2016-07-21 10:15" --until="2016-07-21 10:30" > log.txt

and attach log.txt to this report if there's anything in it that might be useful.

That doesn't replace the information asked for in Comment #1, though!

This can't be a release blocker, unless it happens a lot with Mga6 sta1 or RC Live isos in Live mode, because for all other cases it can be fixed with an update.

Priority: release_blocker => Normal
CC: (none) => marja11

Comment 3 Wim Coulier 2016-07-22 18:09:02 CEST
Created attachment 8227 [details]
Full output of journalctl
Comment 4 Wim Coulier 2016-07-22 18:10:15 CEST
Created attachment 8228 [details]
targeted output of journalctl (about 10 minutes before till 2 minutes after the crash)
Comment 5 Wim Coulier 2016-07-22 18:11:11 CEST
Created attachment 8229 [details]
Xorg.0.log
Comment 6 Wim Coulier 2016-07-22 18:20:08 CEST
Created attachment 8230 [details]
Xorg.0.log.old
Comment 7 Wim Coulier 2016-07-22 18:24:06 CEST
Created attachment 8231 [details]
xsession-errors
Comment 8 Wim Coulier 2016-07-22 18:28:18 CEST
All requested info in the files attached. If it is only me having this problem, then it might indeed not be a release blocker. Since I'm using Mga6 on a brand new laptop, that is certainly a possibility. But if others have the same experience, I think it should better be fixed: 6 crashes in 1 day is not going to give a good image of the distro.
Comment 9 Marja Van Waes 2016-07-22 22:56:21 CEST
Comment on attachment 8230 [details]
Xorg.0.log.old

(changing attachment type to text/plain, so it can be seen in a browser)

Attachment 8230 mime type: application/x-trash => text/plain

Comment 10 Marja Van Waes 2016-07-22 22:57:36 CEST
Thanks, Wim

@ Nicolas 

Do you mind having a look, and reassigning if needed?

Keywords: NEEDINFO => (none)
Assignee: bugsquad => mageia

Marja Van Waes 2016-07-22 22:58:00 CEST

Summary: Random X crashes => Random X crashes in Plasma5

Comment 11 Nicolas Lécureuil 2016-07-22 23:37:45 CEST
seems more a kernel or driver issue to me.
Comment 12 Marja Van Waes 2016-07-23 08:53:08 CEST
(In reply to Nicolas Lécureuil from comment #11)
> seems more a kernel or driver issue to me.

Thx. Guessing it's kernel and reassigning to tmb, then.

@ tmb

Sorry for assigning yet another bug to you of which I don't know whether you're the maintainer of the package that's the real culprit.

Please reassign if needed.

Assignee: mageia => tmb

Comment 13 Rémi Verschelde 2016-07-23 10:02:59 CEST
Might be related to bug 18822. Do you input accented characters when it crashes?
Comment 14 Wim Coulier 2016-07-23 10:37:05 CEST
Up till now it happened each time during typing. Not really when entering accented characters, but often when entering special characters. Also I"m typing on a physical Qwerty keyboard with Azerty layout settings (I'm used to blind typing on Azerty).
Comment 15 Wim Coulier 2016-07-23 10:40:09 CEST
Just tried the ⬠and é characters. No problem when I type them according to the other bug, that would lead immediately to a crash. So I suppose it is not related after all.
In my case I have not yet found out how to surely trigger a crash.
Comment 16 Rémi Verschelde 2016-07-24 10:03:52 CEST
Could you try again with a fully updated Cauldron Wim?

It seems that we had a major Xorg update on July 22nd, and all its reverse dependencies/drivers still needed to be rebuilt, what was done yesterday by tmb.
On my end it fixed the crashes I was experiencing.
Comment 17 Wim Coulier 2016-07-24 12:00:23 CEST
OK, I did a full update of my system. Will take a while to be sure if that solves the problem though, as I have no sure trigger to reproduce a crash. So confirming that the issue is definitely solved is a matter of waiting long enough going without crashes I guess.
Comment 18 Wim Coulier 2016-07-24 21:12:40 CEST
Not yet fixed. Just had another crash. Again while typing, but this time in Thunderbird, not in Chrome.
Adrien Guichard 2016-07-28 09:45:29 CEST

CC: (none) => guichard.adrien

Comment 19 Wim Coulier 2016-07-30 11:39:27 CEST
OK, found out what is the culprit and how to reproduce: I have a consistent crash when I use the key with the "0" on the row with the numbers, but not if I use it for typing a "0" but when typing the other character.
As I have a Dutch qwerty keyboard, but I'm used to type on a Belgian azerty keyboard, I tested with both layouts, and it does it both with the "(" character in the Dutch qwerty layout and the "à" in the Belgian azerty layout. It also seems the be consistent over any X based situation: in the logon screen, in KDE, in Gnome, with the keyboard of the laptop but also with an external keyboard. Obviously nothing happens in tty, it is only X which crashes.
Comment 20 Wim Coulier 2016-07-30 11:59:23 CEST
Further testing shows that this now happens also with the "â¬" and "é" characters, which did not give issues during my tests of 23/07. This is on a fully Cauldron updated system up to today. Also the "è" character seems to trigger the crash now. So now it looks like the same bug as bug 18822.
Comment 21 Wim Coulier 2016-08-06 15:08:06 CEST
At this moment I can happiliy type à é ⬠ç and so on without X crashing on me, so I guess that the bug has been solved with one of the more recent updates. I've put the status on resolved.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.