2023-06-05 update broke gnome-shell

Hey,

as mentioned in [Stable Update] 2023-06-04 - Kernels, Gnome 44.1, Plasma 5.27.5, Python 3.11, Toolchain, Firefox - #31 by karolyi, my gnome shell does randomly coredump that leads to a complete restart of my gnome session.

I’ve tried recompiling js102 and gnome-shell (by looking at the tracelogs, I suspected that would be the problem), but to no avail, nothing has changed.

Since it doesn’t seem that I can get help in the update topic (messages flooding it with other problems), I’m opening this topic in hopes of fixing my issue.

I’m using a 3080Ti btw, with the latest nvidia drivers, if that is informational. The used kernel is 6.3.5-2-MANJARO.

I am having continuous Gnome Shell core-dumps as well, mainly while using Google Chrome, but also when using other software: Guake, Emacs, Firefox.

  • Kernel: 6.1.31-2-MANJARO
  • CPU: AMD Ryzen 9 3950X
  • Graphics: GeForce RTX 2080 SUPER, linux61-nvidia 530.41.03-13
  • System: fully updated Manjaro 23.0.0

I forgot to mention that when Gnome Shell crashes, it kills some of the running applications, although not always.

Can either of you reproduce the issue with no extensions enabled?

I’ve disabled all extensions, and I’ve had 2 coredumps ever since. It mustn’t be the culprit.

Not sure if this helps greatly but I’ve been seeing the same crashes with a very similar coredump stack trace and I’ve found nothing else online about it:

           PID: 12797 (gnome-shell)
           UID: 1000 (username)
           GID: 1000 (username)
        Signal: 5 (TRAP)
     Timestamp: Mon 2023-06-05 13:25:21 BST (2h 50min ago)
  Command Line: /usr/bin/gnome-shell
    Executable: /usr/bin/gnome-shell
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@x11.service
          Unit: user@1000.service
     User Unit: org.gnome.Shell@x11.service
         Slice: user-1000.slice
     Owner UID: 1000 (username)
       Boot ID: 65006768195c4bf0b2af66adcfe1e15c
    Machine ID: 636f04968e904f88a9700e66b2103654
      Hostname: username-desktop
       Storage: /var/lib/systemd/coredump/core.gnome-shell.1000.65006768195c4bf0b2af66adcfe1e15c.12797.1685967921000000.zst (present)
  Size on Disk: 38.7M
       Message: Process 12797 (gnome-shell) of user 1000 dumped core.

                Stack trace of thread 12797:
                #0  0x00007faf2509f26c n/a (libc.so.6 + 0x8926c)
                #1  0x00007faf2504fa08 raise (libc.so.6 + 0x39a08)
                #2  0x00005654309d5f19 n/a (gnome-shell + 0x3f19)
                #3  0x00007faf2504fab0 n/a (libc.so.6 + 0x39ab0)
                #4  0x00007faf258def68 g_log_structured_array (libglib-2.0.so.0 + 0x60f68)
                #5  0x00007faf258df263 g_log_default_handler (libglib-2.0.so.0 + 0x61263)
                #6  0x00007faf258e0115 g_logv (libglib-2.0.so.0 + 0x62115)
                #7  0x00007faf258e03e4 g_log (libglib-2.0.so.0 + 0x623e4)
                #8  0x00007faf25317ce7 n/a (libmutter-12.so.0 + 0x117ce7)
                #9  0x00007faf24ce355c _XError (libX11.so.6 + 0x4455c)
                #10 0x00007faf24ce3668 n/a (libX11.so.6 + 0x44668)
                #11 0x00007faf24ce3725 n/a (libX11.so.6 + 0x44725)
                #12 0x00007faf24ce37ba _XEventsQueued (libX11.so.6 + 0x447ba)
                #13 0x00007faf24cd1d08 XPending (libX11.so.6 + 0x32d08)
                #14 0x00007faf258d85ab g_main_context_prepare (libglib-2.0.so.0 + 0x5a5ab)
                #15 0x00007faf25935906 n/a (libglib-2.0.so.0 + 0xb7906)
                #16 0x00007faf258d7f3f g_main_loop_run (libglib-2.0.so.0 + 0x59f3f)
                #17 0x00007faf252cdc6b meta_context_run_main_loop (libmutter-12.so.0 + 0xcdc6b)
                #18 0x00005654309d5526 n/a (gnome-shell + 0x3526)
                #19 0x00007faf25039850 n/a (libc.so.6 + 0x23850)
                #20 0x00007faf2503990a __libc_start_main (libc.so.6 + 0x2390a)
                #21 0x00005654309d5835 n/a (gnome-shell + 0x3835)

                Stack trace of thread 12799:
                #0  0x00007faf251192ed syscall (libc.so.6 + 0x1032ed)
                #1  0x00007faf2592db85 g_cond_wait (libglib-2.0.so.0 + 0xafb85)
                #2  0x00007faf258a3094 n/a (libglib-2.0.so.0 + 0x25094)
                #3  0x00007faf2590d24e n/a (libglib-2.0.so.0 + 0x8f24e)
                #4  0x00007faf2590acc5 n/a (libglib-2.0.so.0 + 0x8ccc5)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12803:
                #0  0x00007faf25113c0f __poll (libc.so.6 + 0xfdc0f)
                #1  0x00007faf25935a9f n/a (libglib-2.0.so.0 + 0xb7a9f)
                #2  0x00007faf258d6032 g_main_context_iteration (libglib-2.0.so.0 + 0x58032)
                #3  0x00007faf20a6ffde n/a (libdconfsettings.so + 0x5fde)
                #4  0x00007faf2590acc5 n/a (libglib-2.0.so.0 + 0x8ccc5)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12802:
                #0  0x00007faf25113c0f __poll (libc.so.6 + 0xfdc0f)
                #1  0x00007faf25935a9f n/a (libglib-2.0.so.0 + 0xb7a9f)
                #2  0x00007faf258d7f3f g_main_loop_run (libglib-2.0.so.0 + 0x59f3f)
                #3  0x00007faf25b3a28c n/a (libgio-2.0.so.0 + 0x11028c)
                #4  0x00007faf2590acc5 n/a (libglib-2.0.so.0 + 0x8ccc5)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12800:
                #0  0x00007faf25113c0f __poll (libc.so.6 + 0xfdc0f)
                #1  0x00007faf25935a9f n/a (libglib-2.0.so.0 + 0xb7a9f)
                #2  0x00007faf258d6032 g_main_context_iteration (libglib-2.0.so.0 + 0x58032)
                #3  0x00007faf258d6082 n/a (libglib-2.0.so.0 + 0x58082)
                #4  0x00007faf2590acc5 n/a (libglib-2.0.so.0 + 0x8ccc5)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12847:
                #0  0x00007faf25099f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007faf2509c7a0 pthread_cond_wait (libc.so.6 + 0x867a0)
                #2  0x00007faf23d95291 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-102.so + 0x1595291)
                #3  0x00007faf23d95192 n/a (libmozjs-102.so + 0x1595192)
                #4  0x00007faf23f4e4be n/a (libmozjs-102.so + 0x174e4be)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12846:
                #0  0x00007faf25099f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007faf2509c7a0 pthread_cond_wait (libc.so.6 + 0x867a0)
                #2  0x00007faf23d95291 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-102.so + 0x1595291)
                #3  0x00007faf23d95192 n/a (libmozjs-102.so + 0x1595192)
                #4  0x00007faf23f4e4be n/a (libmozjs-102.so + 0x174e4be)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12849:
                #0  0x00007faf25099f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007faf2509c7a0 pthread_cond_wait (libc.so.6 + 0x867a0)
                #2  0x00007faf23d95291 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-102.so + 0x1595291)
                #3  0x00007faf23d95192 n/a (libmozjs-102.so + 0x1595192)
                #4  0x00007faf23f4e4be n/a (libmozjs-102.so + 0x174e4be)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12853:
                #0  0x00007faf25099f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007faf2509c7a0 pthread_cond_wait (libc.so.6 + 0x867a0)
                #2  0x00007faf23d95291 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-102.so + 0x1595291)
                #3  0x00007faf23d95192 n/a (libmozjs-102.so + 0x1595192)
                #4  0x00007faf23f4e4be n/a (libmozjs-102.so + 0x174e4be)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12848:
                #0  0x00007faf25099f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007faf2509c7a0 pthread_cond_wait (libc.so.6 + 0x867a0)
                #2  0x00007faf23d95291 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-102.so + 0x1595291)
                #3  0x00007faf23d95192 n/a (libmozjs-102.so + 0x1595192)
                #4  0x00007faf23f4e4be n/a (libmozjs-102.so + 0x174e4be)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 13270:
                #0  0x00007faf251192ed syscall (libc.so.6 + 0x1032ed)
                #1  0x00007faf2592e3a3 g_cond_wait_until (libglib-2.0.so.0 + 0xb03a3)
                #2  0x00007faf258a3065 n/a (libglib-2.0.so.0 + 0x25065)
                #3  0x00007faf258a31c7 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x251c7)
                #4  0x00007faf2590db3e n/a (libglib-2.0.so.0 + 0x8fb3e)
                #5  0x00007faf2590acc5 n/a (libglib-2.0.so.0 + 0x8ccc5)
                #6  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #7  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12852:
                #0  0x00007faf25099f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007faf2509c7a0 pthread_cond_wait (libc.so.6 + 0x867a0)
                #2  0x00007faf23d95291 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-102.so + 0x1595291)
                #3  0x00007faf23d95192 n/a (libmozjs-102.so + 0x1595192)
                #4  0x00007faf23f4e4be n/a (libmozjs-102.so + 0x174e4be)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12851:
                #0  0x00007faf25099f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007faf2509c7a0 pthread_cond_wait (libc.so.6 + 0x867a0)
                #2  0x00007faf23d95291 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-102.so + 0x1595291)
                #3  0x00007faf23d95192 n/a (libmozjs-102.so + 0x1595192)
                #4  0x00007faf23f4e4be n/a (libmozjs-102.so + 0x174e4be)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)

                Stack trace of thread 12850:
                #0  0x00007faf25099f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007faf2509c7a0 pthread_cond_wait (libc.so.6 + 0x867a0)
                #2  0x00007faf23d95291 _ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE (libmozjs-102.so + 0x1595291)
                #3  0x00007faf23d95192 n/a (libmozjs-102.so + 0x1595192)
                #4  0x00007faf23f4e4be n/a (libmozjs-102.so + 0x174e4be)
                #5  0x00007faf2509d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007faf25120e40 n/a (libc.so.6 + 0x10ae40)
                ELF object binary architecture: AMD x86-64

I’m running Arch though and not Manjaro which leads me to believe that the issue may come from upstream and as a result of updating to Gnome 44, same as @karolyi I’ve disabled extensions, reinstalled gnome-shell/gdm/mutter etc. to no avail.

For info I’m on kernel 6.3.5-arch1-1, gnome-shell/mutter 44.2-1 (w.r.t Arch repos), X11/Nvidia if that helps in anyway but I’ll raise an issue on the gnome-shell gitlab when I can today if I don’t get beaten to it.

3 Likes

Thanks for the information, really appreciated. Please keep us updated.

happens mainly when using browsers?

pacman -Qs desktop-portal

I also wonder about foreign packages…

pacman -Qm

Browsers (librewolf and firefox) are always open on my machine, besides a couple electron apps, so I wouln’t know.

I have quite a lot of packages installed:

karolyi@karolyi-desktop ~> pacman -Qs desktop-portal
local/xdg-desktop-portal 1.16.0-3
    Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-gnome 44.1-2 (gnome)
    A backend implementation for xdg-desktop-portal for the GNOME desktop environment
local/xdg-desktop-portal-gtk 1.14.1-1
    A backend implementation for xdg-desktop-portal using GTK
karolyi@karolyi-desktop ~> pacman -Qm
afdko 3.9.5-2
android-studio 2022.2.1.20-1
annotator 1.2.1-1
anydesk-bin 6.2.1-2
bass-fish 1.0-1
celt 0.11.3-6
dynamic-wallpaper-editor 2.7-2
easymp3gain-gtk2 0.5.0-8
electron12 12.2.3-4
eszig 1.6.30-2
etcher 1.7.9-1
flutter 3.10.3-1
fortune-mod-anarchism 1.8.0-2
fortune-mod-anti-jokes-git r4.f75fcc2-1
fortune-mod-archer 4.2-1
fortune-mod-archlinux 1-3
fortune-mod-bofh-excuses 20151113.024512-1
fortune-mod-chucknorris 1-3
fortune-mod-darkknight 20091218-3
fortune-mod-de-git 0.35.r390.g941bb9e-1
fortune-mod-dexterslab 1608291626-1
fortune-mod-discworld 0-3
fortune-mod-entourage 1-3
fortune-mod-entourage-ari_gold 1-2
fortune-mod-ferengi_rules_of_acquisition 20080318-1
fortune-mod-freshprince 1603111444-1
fortune-mod-iasip 1-2
fortune-mod-ku-git r37.3570705-1
fortune-mod-limericks 2021.08.21-1
fortune-mod-marriedwithchildren 1610070705-1
fortune-mod-matrix 20160822-2
fortune-mod-montypython 20140622-2
fortune-mod-portal-game 1.0-2
fortune-mod-protolol-git 9f59ff8-2
fortune-mod-question-answer-jokes 4.3-1
fortune-mod-southpark 1512190317-1
fortune-mod-vimtips 201510719-3
fortune-mod-xfiles 0-3
foxitreader 2.4.5.0727-1
freetube-bin 0.18.0-1
gconf 3.2.6+11+g07808097-10
gfbgraph 0.2.5-1
gnome-session-properties 3.10.1-1
gnome-shell-extension-system-monitor-next-git r1201.2ed5b80-1
gnome-shell-extension-unite 71-1
gnome-system-log 3.9.90+160+g4b07190-2
gopro-webcam 0.0.3-1
gstreamer0.10 0.10.36-20
gstreamer0.10-base 0.10.36-13
gtkhash-nautilus 1.5-2
indicator-sysmonitor-appindicator-git r121.ad81537-1
interlink-bin 52.9.8194-1
java-service-wrapper 3.5.51-1
jdownloader2 latest-17
jetbrains-fleet 1.18.88-1
jitsi-meet-desktop-bin 2023.5.1-1
kvantum-theme-matchama 20191118-1
lbry-desktop-bin 0.53.9-1
lib32-gsm 1.0.22-1
lib32-libwrap 7.6.31-4
lib32-lzo 2.10-2
lib32-openssl-1.0 1.0.2.u-2
libffado-svn r2815-1
libgweather 40.0+r87+g80e5a652-2
librewolf 113.0.2-1
libwrap 7.6.31-5
losslessaudiochecker 2.0.5-3
loudgain v0.6.8-4
manjaro-documentation-en 20181009-1
manjaro-dynamic-wallpaper 1.3-1
manjaro-firmware 20160419-1
manjaro-gnome-postinstall 0.1.1-3
manjaro-gnome-tour 3.38.0+31+gdf1ba86-1
mbrola 1:3.3-1
mingw-w64-tools 10.0.0-1
mp3gain 1.6.2-2
noto-fonts-compat 20151217-1
openssl-1.0 1.0.2.u-6
proton 1:8.0.2.3-6
psautohint 3:2.4.0-2
python-progress 1.6-7
python-setuptools-scm-git-archive 1.4-2
python-ufonormalizer 0.6.1-3
python310 3.10.11-1
python35 3.5.10-3
python36 3.6.15-5
python37 3.7.16-1
python38 3.8.16-3
python39 3.9.16-2
qrc-bin 0.1.1-1
retroshare-git v0.6.6.r573.g1474dfdd6-1
signal-desktop-beta-bin 6.20.0beta.1-1
sublime-text-dev 4.4150-1
systemd-fsck-silent 239-1
teamviewer 15.42.4-1
tracker 1:2.3.6+r7+gb27396252-1
tracker-miners 1:2.3.5+r3+gd9d61d87f-3
ttf-ms-win10 10.0.19043.1055-1
ttf-ms-win10-japanese 10.0.19043.1055-1
ttf-ms-win10-korean 10.0.19043.1055-1
ttf-ms-win10-other 10.0.19043.1055-1
ttf-ms-win10-sea 10.0.19043.1055-1
ttf-ms-win10-thai 10.0.19043.1055-1
ttf-ms-win10-zh_cn 10.0.19043.1055-1
ttf-ms-win10-zh_tw 10.0.19043.1055-1
viber 18.2.0.2-3
vino 3.22.0+74+g7a95e10-1

Which version of gnome-shell did you compile? 44.1 or 44.2?

So … another candidate for the known-issues of xdg-desktop-portal-gnome I guess?

Then also you have a lot of deprecated packages.
They seem ‘foreign’ but are probably actually entirely missing from repos and aur.

… so … um … you should probably have a look at all of those.

I have created a new user and used it for a while with no problems. I’ll try to migrate to a new user account.

or so …

I’ve deinstalled these:

manjaro-documentation-en 20181009-1
manjaro-dynamic-wallpaper 1.3-1
manjaro-firmware 20160419-1
manjaro-gnome-postinstall 0.1.1-3
manjaro-gnome-tour 3.38.0+31+gdf1ba86-1
python35 3.5.10-3
python36 3.6.15-5
python37 3.7.16-1
python38 3.8.16-3

Since I work with python quite extensively (been working with python since 2002), I was using the older versions at some point in time.

I’m not sure deinstalling xdg-desktop-portal-gnome would make a difference.

On any other Gtk desktop besides GNOME, you should only have xdg-desktop-portal-gtk. Since we are apparently talking about GNOME, you should have xdg-desktop-portal-gnome installed.

Despite the initial report affecting non-gnome desktops … I think we have seen the bug negatively impacting gnome DE users as well, if I’m not mistaken.

Im not sure anymore and theres too many to go back sifting through. I suppose it remins ‘worth mentioning’.

Nope. It was fixed with xdg-desktop-portal 1.16.0-3.

1 Like

I went ahead and reported this bug on Arch bugs: FS#78720 : Frequent coredumps from gnome-shell

Update: my bugreport was denied, “because I’m not an Arch user”. I guess I’ve hit a dead end here.

@ehb00, if you could make another bugreport, that would be appreciated.

1 Like

@karolyi maybe create a new user profile and see if that helps.

For me Gnome won’t start at all. After login, I get the “Oh no! Something has gone wrong” screen. I’ve logged in with Plasma to see the journal and it looks like gnome is throwing core dumps during start.

Logging in with a new user is possible, though. But I hope some fix comes through so I don’t need to recreate my normal user.

I’d rather get to the bottom of this problem, as I have a huge amount of stuff installed (I use this desktop to work and I do a lot), and moving everything over to another user would

  • either result in the same problems because of moving everything over
  • cost so much time it wouldn’t be worth it.