Bug#886154: gnome-shell: segfault in libgobject

2018-01-25 Thread Simon McVittie
Control: tags -1 + moreinfo

On Wed, 03 Jan 2018 at 17:29:00 +, Kjö Hansi Glaz wrote:
> Thread 1 (Thread 0x7fe7bb08d340 (LWP 1981)):
> #0  0x7fe7ba4d0da2 in g_type_check_instance_cast
> (type_instance=0x558a749f68a0, iface_type=94053112939904)
> at ../../../../gobject/gtype.c:4057
> #1  0x7fe7b7c65278 in st_label_set_text (label=0x558a749ee890
> [StLabel], text=0x558a772bcf90 "76") at ../src/st/st-label.c:331
> #2  0x7fe7ba4b2a3e in object_set_property (nqueue=0x558a77cd1230,
> value=, pspec=0x558a732e1cb0 [GParamString],
> object=0x558a749ee890 [StLabel]) at ../../../../gobject/gobject.c:1439

Do you still get this with libgjs0g >= 1.50.2-3? This looks like it might
be the same thing as #881301.

(Unfortunately libgjs0g (>= 1.50.2-3) seems to have solved crashes for
some people, and caused new crashes for others... so be prepared to
downgrade back to 1.50.2-2 if necessary.)

smcv



Bug#886154: gnome-shell: segfault in libgobject

2018-01-02 Thread Kjö Hansi Glaz
Hi again

Simon McVittie:
> On Tue, 02 Jan 2018 at 19:03:12 +0100, Kjö Hansi Glaz wrote:
>> On the journal, I see:
>>
>> janv. 02 15:10:59 debian kernel: gnome-shell[2009]: segfault at 1b 
>> ip 7f775a314da2 sp 7ffc562f53a0 error 4 in libgobject-2.0.
> 
> Is there anything else at a nearby timestamp in the Journal? I'd expect
> to see messages logged from at least Xwayland, followed by all your
> applications crashing as they lose their Wayland or X11 displays. Any
> useful information here would be within a few seconds before or after
> the segfault.

Here it is:

janv. 02 19:18:20 debian gnome-shell[1981]: invalid unclassed pointer in
cast to 'ClutterText'
janv. 02 19:18:20 debian gnome-shell[1981]: clutter_text_get_editable:
assertion 'CLUTTER_IS_TEXT (self)' failed
janv. 02 19:18:20 debian gnome-shell[1981]: clutter_text_get_text:
assertion 'CLUTTER_IS_TEXT (self)' failed
janv. 02 19:18:20 debian gnome-shell[1981]: clutter_text_set_text:
assertion 'CLUTTER_IS_TEXT (self)' failed
janv. 02 19:18:20 debian gnome-shell[1981]: clutter_content_invalidate:
assertion 'CLUTTER_IS_CONTENT (content)' failed
janv. 02 19:18:25 debian gnome-shell[1981]: invalid unclassed pointer in
cast to 'ClutterText'
janv. 02 19:18:25 debian gnome-shell[1981]: clutter_text_get_editable:
assertion 'CLUTTER_IS_TEXT (self)' failed
janv. 02 19:18:25 debian gnome-shell[1981]: clutter_text_get_text:
assertion 'CLUTTER_IS_TEXT (self)' failed
janv. 02 19:18:25 debian gnome-shell[1981]: clutter_text_set_text:
assertion 'CLUTTER_IS_TEXT (self)' failed
janv. 02 19:18:25 debian gnome-shell[1981]: clutter_content_invalidate:
assertion 'CLUTTER_IS_CONTENT (content)' failed

These happen every 5 seconds and doesn't seem related to the crash.

janv. 02 19:18:30 debian kernel: gnome-shell[1981]: segfault at 60 ip
7fe7ba4d0da2 sp 7fff897c1cb0 error 4 in libgobject-2.0.so.0.540
janv. 02 19:18:30 debian systemd[1]: Created slice
system-systemd\x2dcoredump.slice.
janv. 02 19:18:30 debian systemd[1]: Started Process Core Dump (PID
21041/UID 0).
janv. 02 19:18:32 debian gnome-terminal-[11504]: Error reading events
from display: Connexion ré-initialisée par le correspondant
janv. 02 19:18:32 debian gnome-calendar[19855]: Error reading events
from display: Relais brisé (pipe)
janv. 02 19:18:32 debian nautilus[18249]: Error reading events from
display: Relais brisé (pipe)
janv. 02 19:18:32 debian evolution-alarm[2270]: Error reading events
from display: Relais brisé (pipe)
janv. 02 19:18:32 debian parcimonie-appl[2279]: Error reading events
from display: Relais brisé (pipe)
janv. 02 19:18:32 debian systemd[1929]: gnome-terminal-server.service:
Main process exited, code=exited, status=1/FAILURE
janv. 02 19:18:32 debian systemd[1929]: gnome-terminal-server.service:
Failed with result 'exit-code'.
janv. 02 19:18:32 debian org.gnome.Shell.desktop[1981]: (EE)
janv. 02 19:18:32 debian org.gnome.Shell.desktop[1981]: Fatal server error:
janv. 02 19:18:32 debian org.gnome.Shell.desktop[1981]: (EE) failed to
read Wayland events: Connection reset by peer
janv. 02 19:18:32 debian org.gnome.Shell.desktop[1981]: (EE)
janv. 02 19:18:32 debian gnome-session[1950]:
gnome-session-binary[1950]: WARNING: Application
'org.gnome.Shell.desktop' killed by signal 11
janv. 02 19:18:32 debian polkitd(authority=local)[983]: Unregistered
Authentication Agent for unix-session:1 (system bus name :1.36, object p
janv. 02 19:18:32 debian gedit[18518]: Error reading events from
display: Relais brisé (pipe)
janv. 02 19:18:32 debian gnome-session-binary[1950]: WARNING:
Application 'org.gnome.Shell.desktop' killed by signal 11
janv. 02 19:18:32 debian gnome-session-binary[1950]: Unrecoverable
failure in required component org.gnome.Shell.desktop
janv. 02 19:18:32 debian libvirtd[1101]: 2018-01-02 18:18:32.249+:
1101: error : virNetSocketReadWire:1810 : End of file while reading da
janv. 02 19:18:32 debian sudo[20902]: pam_unix(sudo:session): session
closed for user root
janv. 02 19:18:32 debian pulseaudio[2060]: ICE default IO error handler
doing an exit(), pid = 2060, errno = 11
janv. 02 19:18:32 debian thunderbird.desktop[19178]:
xcb_connection_has_error() a retourné une valeur true
janv. 02 19:18:32 debian audit[19178]: AVC apparmor="DENIED"
operation="open" profile="thunderbird"
name="/etc/pulse/client.conf.d/00-disable
janv. 02 19:18:32 debian upowerd[1985]: unhandled action 'unbind' on
/sys/devices/pci:00/:00:14.0/usb3/3-1/3-1:1.0
janv. 02 19:18:32 debian bluetoothd[1544]: Endpoint unregistered:
sender=:1.41 path=/MediaEndpoint/A2DPSource
janv. 02 19:18:32 debian bluetoothd[1544]: Endpoint unregistered:
sender=:1.41 path=/MediaEndpoint/A2DPSink
janv. 02 19:18:32 debian systemd[1929]: pulseaudio.service: Main process
exited, code=exited, status=1/FAILURE
janv. 02 19:18:32 debian systemd[1929]: pulseaudio.service: Failed with
result 'exit-code'.
janv. 02 19:18:32 debian gsd-rfkill[2150]: g_object_notify: object class
'CcRfkillGlib' has no property 

Bug#886154: gnome-shell: segfault in libgobject

2018-01-02 Thread Simon McVittie
On Tue, 02 Jan 2018 at 19:03:12 +0100, Kjö Hansi Glaz wrote:
> On the journal, I see:
> 
> janv. 02 15:10:59 debian kernel: gnome-shell[2009]: segfault at 1b ip 
> 7f775a314da2 sp 7ffc562f53a0 error 4 in libgobject-2.0.

Is there anything else at a nearby timestamp in the Journal? I'd expect
to see messages logged from at least Xwayland, followed by all your
applications crashing as they lose their Wayland or X11 displays. Any
useful information here would be within a few seconds before or after
the segfault.

smcv



Bug#886154: gnome-shell: segfault in libgobject

2018-01-02 Thread Kjö Hansi Glaz
Package: gnome-shell
Version: 3.26.2-2
Severity: normal

Dear Maintainer,

A few times a day, gnome-shell (used as a wayland compositor) crashes,
ending the whole user session. I failed to determine a pattern in the
crash.

On the journal, I see:

janv. 02 15:10:59 debian kernel: gnome-shell[2009]: segfault at 1b ip 
7f775a314da2 sp 7ffc562f53a0 error 4 in libgobject-2.0.

2nd time:

janv. 02 16:01:18 debian kernel: gnome-shell[20253]: segfault at c0573 ip 
7f534d926da2 sp 7ffcb92eb860 error 4 in libgobject-2.0.

I found a core file with the same timastamp:

-rw--- 1 user user 122M janv.  2 16:01 core

Opening it with gdb --core

Core was generated by `/usr/bin/Xwayland :0 -rootless -terminate -core -listen 
4 -listen 5 -displayfd'.
Program terminated with signal SIGABRT, Aborted.
#0  0x7f0012018a70 in ?? ()
[Current thread is 1 (LWP 20272)]
(gdb) bt
#0  0x7f0012018a70 in ?? ()
#1  0x0a392000 in ?? ()
#2  0x in ?? ()

I installed -dbgsym packages for all xwayland package dependencies, but
it doesn't help. Please provide guidance if you need more informations.

Also, I don't know if I should file this bug under gnome-shell or xwayland.

Thanks for maintaining gnome-shell


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-shell depends on:
ii  caribou  0.4.21-4
ii  dconf-gsettings-backend [gsettings-backend]  0.26.1-2
ii  evolution-data-server3.26.3-4
ii  gir1.2-accountsservice-1.0   0.6.45-1
ii  gir1.2-atspi-2.0 2.26.2-2
ii  gir1.2-caribou-1.0   0.4.21-4
ii  gir1.2-freedesktop   1.54.1-4
ii  gir1.2-gcr-3 3.20.0-6
ii  gir1.2-gdesktopenums-3.0 3.24.1-2
ii  gir1.2-gdm-1.0   3.26.2.1-3
ii  gir1.2-geoclue-2.0   2.4.7-1
ii  gir1.2-glib-2.0  1.54.1-4
ii  gir1.2-gnomebluetooth-1.03.26.1-2
ii  gir1.2-gnomedesktop-3.0  3.26.2-4
ii  gir1.2-gtk-3.0   3.22.26-2
ii  gir1.2-gweather-3.0  3.26.1-2
ii  gir1.2-ibus-1.0  1.5.17-3
ii  gir1.2-mutter-1  3.26.2-1
ii  gir1.2-networkmanager-1.01.10.2-1
ii  gir1.2-nmgtk-1.0 1.8.10-1
ii  gir1.2-pango-1.0 1.40.14-1
ii  gir1.2-polkit-1.00.105-18
ii  gir1.2-rsvg-2.0  2.40.20-2
ii  gir1.2-soup-2.4  2.60.2-2
ii  gir1.2-upowerglib-1.00.99.7-1
ii  gjs  1.50.2-2
ii  gnome-backgrounds3.26.2-2
ii  gnome-settings-daemon3.26.2-1
ii  gnome-shell-common   3.26.2-2
ii  gsettings-desktop-schemas3.24.1-2
ii  libasound2   1.1.3-5
ii  libatk-bridge2.0-0   2.26.1-1
ii  libatk1.0-0  2.26.1-2
ii  libc62.25-6
ii  libcairo21.15.8-3
ii  libcanberra-gtk3-0   0.30-6
ii  libcanberra0 0.30-6
ii  libcroco30.6.12-2
ii  libdbus-glib-1-2 0.108-3
ii  libecal-1.2-19   3.26.3-4
ii  libedataserver-1.2-223.26.3-4
ii  libgcr-base-3-1  3.20.0-6
ii  libgdk-pixbuf2.0-0   2.36.11-1
ii  libgirepository-1.0-11.54.1-4
ii  libgjs0g [libgjs0-libmozjs-52-0] 1.50.2-2
ii  libglib2.0-0 2.54.2-5
ii  libglib2.0-bin   2.54.2-5
ii  libgstreamer1.0-01.12.4-1
ii  libgtk-3-0   3.22.26-2
ii  libical3 3.0.1-5
ii  libjson-glib-1.0-0   1.4.2-3
ii  libmutter-1-03.26.2-1
ii  libnm-glib4  1.10.2-1
ii  libnm-util2  1.10.2-1
ii  libpango-1.0-0   1.40.14-1
ii  libpangocairo-1.0-0  1.40.14-1
ii  libpolkit-agent-1-0  0.105-18
ii