crash in meta_wayland_transaction_commit

Bug #2061739 reported by Patrice DUROUX
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
mutter (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

Hi,

The system is Ubuntu Noble with a regular daily updates.
This happens many times since few days ago but not clear
at all how to reproduce it.

Regards,
Patrice

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-shell 46.0-0ubuntu4
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Tue Apr 16 09:26:16 2024
DisplayManager: gdm3
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-05-24 (1789 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
ProcEnviron:
 LANG=fr_FR.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
RelatedPackageVersions: mutter-common 46.0-1ubuntu6
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to noble on 2019-05-28 (1785 days ago)

Revision history for this message
Patrice DUROUX (patrice-duroux) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It sounds like some part of the system has crashed. To help us find the cause of the crash please follow these steps:

1. Run these commands:
    journalctl -b0 > journal.txt
    journalctl -b-1 > prevjournal.txt
and attach the resulting text files here.

2. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

3. If step 2 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Patrice DUROUX (patrice-duroux) wrote :
Revision history for this message
Patrice DUROUX (patrice-duroux) wrote :
Revision history for this message
Patrice DUROUX (patrice-duroux) wrote :

Applying:
$ ubuntu-bug /var/crash/_usr_bin_gnome-shell.1001.crash
is failing due to the availability of certain package updates.

Changed in gnome-shell (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please try using apport-cli if ubuntu-bug fails, but I guess both might fail if any packages are out of date.

I'm guessing this crash is due to some extension because nobody else is reporting it, and because you seem to have so many extensions installed. And because the crashing code seems to be called directly from some Javascript. So please try removing gnome-shell extensions from the system.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Patrice DUROUX (patrice-duroux) wrote :

$ apport-cli /var/crash/_usr_bin_gnome-shell.1001.crash
Traceback (most recent call last):
  File "/usr/bin/apport-cli", line 418, in <module>
    if not app.run_argv():
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 925, in run_argv
    self.run_crash(self.args.crash_file)
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 464, in run_crash
    response = self.ui_present_report_details(allowed_to_report)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/apport-cli", line 218, in ui_present_report_details
    _("&Send report (%s)") % self.format_filesize(self.get_complete_size())
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 1238, in get_complete_size
    if self.report[k]:
       ~~~~~~~~~~~^^^
  File "/usr/lib/python3/dist-packages/problem_report.py", line 306, in __len__
    return len(self.get_value())
               ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/problem_report.py", line 273, in get_value
    return _get_zstandard_decompressor().decompress(self.compressed_value)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
zstd.ZstdError: could not determine content size in frame header

But the .crash file is a text file, isn't it?

$ file /var/crash/_usr_bin_gnome-shell.1001.crash
/var/crash/_usr_bin_gnome-shell.1001.crash: Unicode text, UTF-8 text, with very long lines (751)

$ head /var/crash/_usr_bin_gnome-shell.1001.crash
ProblemType: Crash
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: unknown
CrashCounter: 1
CurrentDesktop: GNOME
Date: Tue Apr 16 17:20:45 2024
Dependencies:
 accountsservice 23.13.9-2ubuntu6
 acl 2.3.2-1build1

How do you see «so many extensions»?

$ dpkg -l | grep gnome-shell-extension
ii gnome-shell-extension-appindicator 57-2 all AppIndicator, KStatusNotifierItem and tray support for GNOME Shell
ii gnome-shell-extension-desktop-icons-ng 46+really47.0.9-1 all desktop icon support for GNOME Shell
ii gnome-shell-extension-prefs 46.0-0ubuntu4 amd64 tool to enable / disable GNOME Shell extensions
ii gnome-shell-extension-ubuntu-dock 89ubuntu4 all Ubuntu Dock for GNOME Shell
ii gnome-shell-extension-ubuntu-tiling-assistant 46-1ubuntu1 all extension which adds a Windows-like snap assist to GNOME Shell
ii gnome-shell-extensions 46.0-1 all Extensions to extend functionality of GNOME Shell

Most of them are dependencies of ubuntu-desktop, no?

I know that there is also bijiben installed that is crashing regularly.
I will remove this one for sure.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

A lot of extensions are listed in ShellJournal.txt but maybe they're not active? Looks like they came from 'gnome-shell-extensions' which we don't install by default. So try uninstalling 'gnome-shell-extensions'.

Revision history for this message
Patrice DUROUX (patrice-duroux) wrote :
Download full text (4.3 KiB)

Ok regarding my env:

$ gnome-extensions list --enabled
$ gsettings get org.gnome.shell enabled-extensions
@as []

I did not removed gnome-shell-extensions because this will break the gnome-core installed.

It crashed again this morning:

Wed 2024-04-17 11:34:12 CEST 21874 1001 1001 SIGSEGV present /usr/libexec/bijiben-shell-search-provider
Wed 2024-04-17 11:34:13 CEST 22032 1001 1001 SIGSEGV present /usr/libexec/bijiben-shell-search-provider
Wed 2024-04-17 11:54:07 CEST 3019 1001 1001 SIGTRAP present /usr/share/skypeforlinux/skypeforlinux
Thu 2024-04-18 09:29:46 CEST 2788 1001 1001 SIGSEGV present /usr/bin/gnome-shell

Here is some output:
           PID: 2788 (gnome-shell)
           UID: 1001 (patrice)
           GID: 1001 (patrice)
        Signal: 11 (SEGV)
     Timestamp: Thu 2024-04-18 09:29:43 CEST (48min ago)
  Command Line: /usr/bin/gnome-shell
    Executable: /usr/bin/gnome-shell
 Control Group: /user.slice/user-1001.slice/user@<email address hidden>
          Unit: user@1001.service
     User Unit: <email address hidden>
         Slice: user-1001.slice
     Owner UID: 1001 (patrice)
       Boot ID: 3380f52e7b314c58b021bad0d3b34bd5
    Machine ID: 8f7ec7203f844cfcb13ab189fcaddabf
      Hostname: kos-201907
       Storage: /var/lib/systemd/coredump/core.gnome-shell.1001.3380f52e7b314c58b021bad0d3b34bd5.2788.1713425383000000.zst (present)
  Size on Disk: 19.1M
       Message: Process 2788 (gnome-shell) of user 1001 dumped core.

                Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2.amd64
                Module libudev.so.1 from deb systemd-255.4-1ubuntu7.amd64
                Module libsystemd.so.0 from deb systemd-255.4-1ubuntu7.amd64
                Stack trace of thread 2788:
                #0 0x0000717e58d640e6 meta_wayland_transaction_commit (libmutter-14.so.0 + 0x1640e6)
                #1 0x0000717e58d5c6ca meta_wayland_surface_commit (libmutter-14.so.0 + 0x15c6ca)
                #2 0x0000717e5810db16 ffi_call_unix64 (libffi.so.8 + 0x7b16)
                #3 0x0000717e5810a3ef ffi_call_int (libffi.so.8 + 0x43ef)
                #4 0x0000717e5810d0be ffi_call (libffi.so.8 + 0x70be)
                #5 0x0000717e55e9c393 n/a (libwayland-server.so.0 + 0x9393)
                #6 0x0000717e55ea0bb4 n/a (libwayland-server.so.0 + 0xdbb4)
                #7 0x0000717e55e9f402 wl_event_loop_dispatch (libwayland-server.so.0 + 0xc402)
                #8 0x0000717e58d4152b wayland_event_source_dispatch (libmutter-14.so.0 + 0x14152b)
                #9 0x0000717e591465b5 g_main_dispatch (libglib-2.0.so.0 + 0x5d5b5)
                #10 0x0000717e591a5717 g_main_context_dispatch_unlocked (libglib-2.0.so.0 + 0xbc717)
                #11 0x0000717e59146f77 g_main_loop_run (libglib-2.0.so.0 + 0x5df77)
                #12 0x0000717e58cd38da meta_context_run_main_loop (libmutter-14.so.0 + 0xd38da)
   ...

Read more...

Changed in gnome-shell (Ubuntu):
status: Incomplete → New
affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
Changed in mutter:
status: Unknown → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in mutter (Ubuntu):
status: New → Fix Committed
tags: added: fixed-in-mutter-46.2 fixed-upstream
Changed in mutter:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.