Bug 1598358 - gnome-shell crashes on Dell XPS 13 w/ Fedora 28 when plugging USB-C dock
Summary: gnome-shell crashes on Dell XPS 13 w/ Fedora 28 when plugging USB-C dock
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 28
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-05 08:08 UTC by Brem BELGUEBLI
Modified: 2019-05-28 22:18 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 22:18:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
fwupd verbose output (96.96 KB, text/plain)
2018-08-20 21:58 UTC, Matthew Hagan
no flags Details
journalctl output (184.62 KB, text/plain)
2018-08-20 21:59 UTC, Matthew Hagan
no flags Details
fwupd verbose output - dell plugin disabled (81.11 KB, text/plain)
2018-08-20 22:11 UTC, Matthew Hagan
no flags Details
journalctl output - Dell fwupd plugin disabled (142.78 KB, text/plain)
2018-08-20 22:12 UTC, Matthew Hagan
no flags Details

Description Brem BELGUEBLI 2018-07-05 08:08:21 UTC
Description of problem:
On Dell XPS 13 9350, upgraded from Fedora 27 to Fedora 28, lots of instability problems related to gnome-shell that keeps on crashing when plugging or unplugging WD15 dock (USB-C). Same behavior happens when using a different dock (Startech w/ video output only).Many ABRT reports were uploaded.
It was pretty stable with F27.
Gnome-shell crashes (killed by SIGSEGV).


Version-Release number of selected component (if applicable):
F28 with latest updates (kernel 4.17.3-200.fc28.x86_64, gnome-shell-3.28.2-1.fc28.x86_64 )



How reproducible:


Steps to Reproduce:
1. Plug the WD15 dock 
1'. unplug the WD15 dock

Actual results:
1. gnome-shell crashes
1'. gnome-shell crashes 
It happens that the computer reboots.

Expected results:
Remain stable...

Additional info:

Comment 1 Matthew Hagan 2018-08-18 23:30:48 UTC
Some additional information for this bug.
I have been affected on 3 Dell laptops, XPS 9550,9560,9570 using WD15 dock.

The issue began in FC27 after some updates. It did not occur up to and including fwupd-0.9.7-1.fc27, libdfu-0.9.7-1.fc27 and libsmbios-2.3.0-6.fc27. 

The crashes occur in the following way; Secure boot disabled, with WD15 USB-C plugged in when booting, or when plugged in with Gnome running. Screen flashes several times and machine is not responsive during that period. Dock attached USB peripherals stop and start 2-3 times. Around 25% of the time the machine hangs requiring hard reset.

The issue does not present itself in the gdm login screen, nor within a liveUSB boot scenario.

If secure boot is turned on, the issue does not occur.

Therefore there are two mitigations.
1. Stay on FC27 and downgrade to fwupd and libsmbios versions mentioned above. After, use "dnf update --exclude=libsmbios,fwupd" when updating. Secure boot can remain disabled.
2. Turn on secure boot. May not be practical for many users. Update to latest libsmbios/fwupd/fc28 can take place.

Given that the reporter stated they had tested a non Dell dock and experienced the same issue, along with the secure boot mitigation possibly preventing some form of access, is this issue potentially SMBIOS related?

Comment 2 Matthew Hagan 2018-08-19 00:18:43 UTC
Please can the original reporter try the following, leaving secure boot disabled:

In /etc/fwupd/daemon.conf change the line
BlacklistPlugins=test
to this
BlacklistPlugins=test;dell
and report back.
Thanks

Comment 3 Matthew Hagan 2018-08-20 21:58:26 UTC
Created attachment 1477372 [details]
fwupd verbose output

Standard fc28 setup with standard fwupd config. USB-C inserted at 22:41 and bug occurred. System did not hang

Comment 4 Matthew Hagan 2018-08-20 21:59:44 UTC
Created attachment 1477373 [details]
journalctl output

journalctl output when USB-C was inserted and bug occurred.

Comment 5 Matthew Hagan 2018-08-20 22:11:40 UTC
Created attachment 1477376 [details]
fwupd verbose output - dell plugin disabled

Dell fwupd plugin disabled. No crashing symptoms occurred when plugging in USB-C at 23:06

Comment 6 Matthew Hagan 2018-08-20 22:12:36 UTC
Created attachment 1477377 [details]
journalctl output - Dell fwupd plugin disabled

Comment 7 Brem BELGUEBLI 2018-09-03 13:03:28 UTC
The issue occurs even with secure boot enabled. Actually it's been "always" enabled .

Will try the changes you suggest in /etc/fwupd.conf and will update you

Comment 8 Brem BELGUEBLI 2018-09-03 13:19:03 UTC
with the dell plugin disabled in /etc/fwupd.conf, it seems to be more stable, gnome-shell could survive approx 20 consecutive plug/unplug, but it finally crashed with:
gnome-shell[6419]: segfault at 10 ip 00007f0d6e9287f4 sp 00007fff1f0038a8 error 4 in libmutter-2.so.0.0.0[7f0d6e8b0000+190000]

Comment 9 Ben Cotton 2019-05-02 20:59:40 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2019-05-28 22:18:31 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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