[impish live session] gnome-shell crashed with SIGSEGV in libX11.so.6.4.0

Bug #1940532 reported by Bernard Stafford
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Problem in gnome-shell
Live Session Testing Not an Install.
Invalid core dump: BFD: warning: /tmp/approt_core_1pfrwxc is truncated: expected core file size>= 413347840, found: 10551296 warning: can't open file /memfd:pulseaudio (deleted) during file-backed mapping note processing
warning: Can't open file /memfd:xshmfence (deleted) during file-backed mapping note processing
warning: Can't open file /home/ubuntu/.local/share/gvfs-metadata/root-df714f73.log (deleted) during file-backed mapping note processing
warning: Can't open file /home/ubuntu//.local/share/gvfs-metadata/
root (deleted) during file-backed mapping note processing
warning: Error reading shared library list entry at 0x78627225403820
warning: Error reading shared library list entry at 0x2ecdb00000000

QA Testing Impish daily build 20210819 as live UEFI from USB key. USB key flashed with Etcher.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: gnome-shell 40.2-1ubuntu1
ProcVersionSignature: Ubuntu 5.13.0-14.14-generic 5.13.1
Uname: Linux 5.13.0-14-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu67
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.465
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 19 13:07:06 2021
DisplayManager: gdm3
GsettingsChanges:
 b'org.gnome.shell' b'welcome-dialog-last-shown-version' b"'40.2'"
 b'org.gnome.desktop.input-sources' b'sources' b"[('xkb', 'us'), ('xkb', 'au'), ('xkb', 'cm'), ('xkb', 'gb')]"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
 b'org.gnome.desktop.notifications' b'application-children' b"['rhythmbox', 'apport-gtk']"
LiveMediaBuild: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210819)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: mutter-common 40.2.1-1ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Bernard Stafford (bernard010) wrote :
Revision history for this message
Bernard Stafford (bernard010) wrote :

Further Testing after bug report. All applications worked excellent.
Including pulse audio, Terminal and Apport. During Live Testing.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1940532

tags: added: iso-testing
Revision history for this message
Bernard Stafford (bernard010) wrote :

This is the original please refer the:
Invalid core dump: BFD: warning: /tmp/approt_core_1pfrwxc is truncated: expected core file size>= 413347840, found: 10551296 warning: can't open file /memfd:pulseaudio (deleted) during file-backed mapping note processing
warning: Can't open file /memfd:xshmfence (deleted) during file-backed mapping note processing
warning: Can't open file /home/ubuntu/.local/share/gvfs-metadata/root-df714f73.log (deleted) during file-backed mapping note processing
warning: Can't open file /home/ubuntu//.local/share/gvfs-metadata/
root (deleted) during file-backed mapping note processing
warning: Error reading shared library list entry at 0x78627225403820
warning: Error reading shared library list entry at 0x2ecdb00000000
To the Developer for a fix on QA Testing on the Impish Build.
Only to further the progress of the New OS Ubuntu 21.10 Impish.
More testing will need to be accomplished before the due date of 2021-08-19 feature freeze.
Hopefully everything will be finalized before the final release on 2021-10-14.
Time is of the essence. This has to do with the warning after boot only...! within gnome-shell.
Held back because you are a developer and determined it is not retentive, that obviously shows up during a live boot session as described during QA Testing. I suggest Relay this to the developers... Please I will Retest in 2 days..

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

Although it sounds like gnome-shell crashed, truncated core files are not the fault of the program that crashed.

Please delete all core files in /tmp/ and /var/crash/ and then next time gnome-shell crashes,

1. Wait 10 seconds.

2. Reboot.

3. Run this command:

   journalctl -b-1 > prevboot.txt

4. Attach the resulting text file here.

5. Also follow these instructions to check for any new crash reports: https://wiki.ubuntu.com/Bugs/Responses#Missing_a_crash_report_or_having_a_.crash_attachment

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Bernard Stafford (bernard010) wrote :

Did not work on Live "Try Ubuntu" session.. Live session just reboots into another Live session.
This is from a USB during Live QA Testing. Not an Install..

Revision history for this message
Bernard Stafford (bernard010) wrote (last edit ):

QA Testing Using UEFI flashed to USB for Ubuntu 21.10 Impish AMD64 Daily Build 20210824 Gnome-Shell crashed. Testing Failed. Live Session not an install.
Everything else works fine. Including all applications.
Additional information is included by Apport for this instance.
Marked wrong as incomplete bug report.

description: updated
description: updated
summary: - QA TEST Impish amd64 Problem in gnome-shell
+ QA TEST Live Impish amd64 Problem in gnome-shell
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: QA TEST Live Impish amd64 Problem in gnome-shell

In that case please:

1. Reproduce the problem again.

2. Run this command immediately after the problem has happened:

   journalctl -b0 > liveboot.txt

3. Attach the resulting text file here.

4. Also follow these instructions to check for any new crash reports: https://wiki.ubuntu.com/Bugs/Responses#Missing_a_crash_report_or_having_a_.crash_attachment

Revision history for this message
Bernard Stafford (bernard010) wrote :

Exec Path /usr/bin/gnome-shell
Package gnome-shell 40.2-1ubuntu1
Problem Type Crash

Signal 11
Source Package gnome-shell
Linux 5.13/0-14
Unreportable Reason
  You have some obsolete package versions installed
   libgudev-1.0-0, ubuntu-docs
I have attached the liveboot.txt as requested.

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

Thanks. That log only shows the crash as:

Aug 25 14:30:29 ubuntu kernel: gnome-shell[1947]: segfault at 0 ip 00007fb59fb9977f sp 00007ffdb725b070 error 4 in libX11.so.6.4.0[7fb59fb71000+8c000]
Aug 25 14:30:29 ubuntu kernel: Code: 00 49 89 fd 48 89 f5 48 89 d3 48 39 87 b0 00 00 00 75 09 48 85 d2 0f 84 1f 01 00 00 49 8b 85 30 0a 00 00 4d 8b a5 98 00 00 00 <48> 8b 10 8b 48 48 48 89 14 24 48 8b 50 40 85 c9 0f 84 eb 01 00 00

Does your live session have the file /var/lib/whoopsie/whoopsie-id ? If so then what is inside it?

summary: - QA TEST Live Impish amd64 Problem in gnome-shell
+ [impish live session] gnome-shell crashed with SIGSEGV in
+ libX11.so.6.4.0
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The instruction pointer above looks like it might be this bug:

https://errors.ubuntu.com/problem/11d90a7db51d11df7d99a6ef6e5aa31eb678d273

Revision history for this message
Bernard Stafford (bernard010) wrote :

New daily build 20210826
Added a new liveboot.txt file for this new build.
Everything is the same except:
Unreportable Reason:
Invalid core dump: "/tmp/apport_core_p7h59zzh" is not a core dump:
file format not recognized
ubuntu@ubuntu:/var/lib/whoopsie$ sudo cat whoopsie-id
536703e3f7ef2aa189fc1f47606c7c72a894ee297884b2903353ab5441b9c4c43855b1c474e1972f3dc9ac8e5f2d5d1c7767a23f88ac587ab1ae98ed6a9202efubuntu@ubuntu:/var/lib/whoopsie$

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

Thanks again. That confirms the crash happens only in the live session on:

  gnome-shell --sm-disable --mode=ubiquity

but it also confirms the crash is unreportable because "Invalid core dump". Apparently the expected core file size is about 400MB but only 8MB is found. I wonder if you waited long enough after the crash the whole file might be written to /tmp/ ...

Revision history for this message
Bernard Stafford (bernard010) wrote :

QA Testing Live for New daily build 20210827
sudo cat whoopsie-id
536703e3f7ef2aa189fc1f47606c7c72a894ee297884b2903353ab5441b9c4c43855b1c474e1972f3dc9ac8e5f2d5d1c7767a23f88ac587ab1ae98ed6a9202efubuntu@ubuntu:/var/lib/whoopsie$
Problem in gnome-shell
The problem cannot be reported
You have some obsolete package versions installed.
Please upgrade the following packages and check
if the problem still occurs:
gir1.2-nma-1.0, libnma-common, libnma0
Waited 35 minutes after gnome-shell crash this time.
Added a new liveboot.txt file
Apport crashed and would not send information.
Opened terminal and started Apport.

Revision history for this message
Bernard Stafford (bernard010) wrote :

Added gnome-shell.999.crash file

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

Please avoid attaching crash files to bugs as we cannot process them here. Instead please run:

  apport-cli /var/crash/_usr_bin_gnome-shell.999.crash

and then tell us the newly created bug ID.

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

Nevermind. Seems the crash is easy to reproduce but I too cannot get a valid core file :(

All the evidence points to:

  https://errors.ubuntu.com/problem/11d90a7db51d11df7d99a6ef6e5aa31eb678d273

because:

1. The address of the crashing function is always ...77f

2. In the list of gnome-shell crashes on 21.10 that's the only common SEGV in libX11.

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

So until proven otherwise we can treat this as a duplicate of bug 1942031. If they prove to be different though then the bugs will be separated again.

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.