FS#59262 - [systemd] gnome-shell cannot start after upgrading systemd and libsystemd to 239
Attached to Project:
Arch Linux
Opened by Freddie Chopin (Freddie Chopin) - Saturday, 07 July 2018, 22:57 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 27 September 2018, 09:41 GMT
Opened by Freddie Chopin (Freddie Chopin) - Saturday, 07 July 2018, 22:57 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 27 September 2018, 09:41 GMT
|
Details
Description:
After upgrading systemd and libsystemd to 239.0-2 (from 238) gnome-shell crashes during boot process, right after "starting version 239" and info about root filesystem is printed. System appears to be stuck in the boot process, however it is possible to switch to another tty and use console. Below is the relevant dump from journalctl: -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- lip 08 00:32:19 ... systemd-coredump[606]: Process 566 (gnome-shell) of user 120 dumped core. Stack trace of thread 566: #0 0x00007ff42d0287b5 meta_gpu_kms_new (libmutter-2.so.0) #1 0x00007ff42d02a0dc n/a (libmutter-2.so.0) #2 0x00007ff42f049121 g_initable_new_valist (libgio-2.0.so.0) #3 0x00007ff42f0491da g_initable_new (libgio-2.0.so.0) #4 0x00007ff42cf7a62a n/a (libmutter-2.so.0) #5 0x00007ff42cf7b288 meta_init_backend (libmutter-2.so.0) #6 0x00007ff42cfc4bf8 meta_init (libmutter-2.so.0) #7 0x0000559b326f1cca n/a (gnome-shell) #8 0x00007ff42f7f206b __libc_start_main (libc.so.6) #9 0x0000559b326f213a n/a (gnome-shell) Stack trace of thread 569: #0 0x00007ff42f8bcea9 __poll (libc.so.6) #1 0x00007ff42eaca523 n/a (libglib-2.0.so.0) #2 0x00007ff42eaca63e g_main_context_iteration (libglib-2.0.so.0) #3 0x00007ff42eaca692 n/a (libglib-2.0.so.0) #4 0x00007ff42eaf2a2a n/a (libglib-2.0.so.0) #5 0x00007ff42fb92075 start_thread (libpthread.so.0) #6 0x00007ff42f8c753f __clone (libc.so.6) Stack trace of thread 571: #0 0x00007ff42f8bcea9 __poll (libc.so.6) #1 0x00007ff42eaca523 n/a (libglib-2.0.so.0) #2 0x00007ff42eaca63e g_main_context_iteration (libglib-2.0.so.0) #3 0x00007ff4135f8f4e n/a (libdconfsettings.so) #4 0x00007ff42eaf2a2a n/a (libglib-2.0.so.0) #5 0x00007ff42fb92075 start_thread (libpthread.so.0) #6 0x00007ff42f8c753f __clone (libc.so.6) Stack trace of thread 575: #0 0x00007ff42f8c20f9 syscall (libc.so.6) #1 0x00007ff42eb1152d g_cond_wait_until (libglib-2.0.so.0) #2 0x00007ff42ea9c903 n/a (libglib-2.0.so.0) #3 0x00007ff42eaf3436 n/a (libglib-2.0.so.0) #4 0x00007ff42eaf2a2a n/a (libglib-2.0.so.0) #5 0x00007ff42fb92075 start_thread (libpthread.so.0) #6 0x00007ff42f8c753f __clone (libc.so.6) Stack trace of thread 570: #0 0x00007ff42f8bcea9 __poll (libc.so.6) #1 0x00007ff42eaca523 n/a (libglib-2.0.so.0) #2 0x00007ff42eaca8e2 g_main_loop_run (libglib-2.0.so.0) #3 0x00007ff42f0b9348 n/a (libgio-2.0.so.0) #4 0x00007ff42eaf2a2a n/a (libglib-2.0.so.0) #5 0x00007ff42fb92075 start_thread (libpthread.so.0) #6 0x00007ff42f8c753f __clone (libc.so.6) -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- Downgrading to last installed versions of systemd and libsystemd (238.133-4) solved the issue right away and Gnome starts correctly. Please let me know what additional details I could provide. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Thursday, 27 September 2018, 09:41 GMT
Reason for closing: Fixed
Additional comments about closing: Possibly fixed by GDM, Mutter or Systemd updates.
Thursday, 27 September 2018, 09:41 GMT
Reason for closing: Fixed
Additional comments about closing: Possibly fixed by GDM, Mutter or Systemd updates.
after downgraded below packages the issue is solved:
downgraded libsystemd (239.0-2 -> 238.133-4)
downgraded systemd (239.0-2 -> 238.133-4)
downgraded systemd-sysvcompat (239.0-2 -> 238.133-4)
all others packages are upgraded to latest version:
gnome-shell (3.28.2-1)
gdm (3.28.2-1)
nvidia (396.24-14)
linux (4.17.4-1)
linux-headers (4.17.4-1)
GDM configuration: /etc/gdm/custom.conf
--------------------------------------------------------------------------
[daemon]
# Uncoment the line below to force the login screen to use Xorg
#WaylandEnable=false
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
--------------------------------------------------------------------------
For the record, I have a nvidia gpu with the proprietary drivers.
I've filed an upstream bug. Please help me give details here: https://gitlab.gnome.org/GNOME/gnome-shell/issues/403
Downgrading to systemd 238 and the issue does not occur. No one affected has bisected between 238 and 239 to find the trigger.
Uncommenting #WaylandEnable=false in /etc/gdm/custom.conf also fixes the issue (without using lts kernel), thank you for that recommendation.
Had an update of Mutter 3.28.3-2 today but the problem persists.
When should we expect an updated package for this?
https://gitlab.gnome.org/GNOME/mutter/commits/gnome-3-28
If so can you bisect between 238 and 239 and find which commit triggers the issue?
See https://gitlab.gnome.org/GNOME/mutter/issues/261
This means basically all systems with nvidia graphics cards cant start gdm/gnome at the moment.
Only way right now to make the system start the GUI I found so far is to use nouveau. However this is not really an option (slow, no CUDA, etc.)
Why is this only medium severity? It seems to affect a lot of systems?
Everybody affected can rebuild last systemd package against current libidn (or libidn2).
Interesting that you can not reproduce this ... I have several systems with nvidia graphics cards (at home and at the office) and all of them have the exact same problem. It also occurs on a fresh install with only the bare minimum of packages installed from official repos to make gnome run (and nvidia driver).
It might be better to start a forum thread for the bisection.
<code>
[daemon]
# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false
</code>
in /etc/gdm/custom.conf ?
Because as it turns out, that is the only way I found to be able to get the graphical interface to go up. Commenting out that line brings the problem back.
[daemon]
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false
[2018-09-26 14:35] [ALPM] upgraded systemd (238.133-4 -> 239.2-1)
So I confirmed that issue solved. Hope will solved with other . Thank you developers for your effort.