Bug#932781: gnome-shell crashed on laptop lid close

2019-07-29 Thread Simon McVittie
On Tue, 30 Jul 2019 at 09:49:08 +0530, Vasudev Kamath wrote:
> Increasing severity to serious as this is hampering day to day
> productivity.

I know bugs like this are frustrating, but increasing their severity does
not help to find their root causes and fix them.

The gnome-shell and mutter packages are still at the same version in
stable and testng/unstable, but all the recent reports of GNOME Shell
crashes on suspend, lid-close or monitor plug/unplug seem to have
been with testing/unstable, not stable, so I think this is probably a
regression in some other component, or a GNOME Shell or Mutter bug that
is triggered by a change in some other component. (Unless someone has
information to the contrary?)

If that theory is correct, then selectively downgrading gnome-shell
dependencies to the versions from buster might help; if it does, reporting
which downgrade(s) were successful would be very useful in tracking down
what is wrong and how to fix it.

Based on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932428#10
I would start with the Mesa libraries, GLib or GTK 3.

> Even connecting secondary display causes GNOME shell to
> crash with same crash dump as before.

This *is* useful information: it links the recent reports of crashes
on suspend/lid close with other recent reports of crashes on monitor
hotplug. Please could you send an example backtrace to confirm that it's
the same?

Thanks,
smcv



Bug#932781: gnome-shell crashed on laptop lid close

2019-07-29 Thread Vasudev Kamath
Control: severity -1 serious

Increasing severity to serious as this is hampering day to day
productivity. Even connecting secondary display causes GNOME shell to
crash with same crash dump as before.

Cheers,
Vasudev



Bug#932781: gnome-shell crashed on laptop lid close

2019-07-25 Thread Vasudev Kamath
Simon McVittie  writes:

> Control: tags -1 + moreinfo
>
> On Tue, 23 Jul 2019 at 10:36:59 +0530, Vasudev Kamath wrote:
>> Closing laptop lid normally puts laptop sleep and I get back my session on 
>> reopen. But after recent update
>> I see that I get logged out and closer inspection revealed that gnome-shell 
>> is crashing with following error
>> 
>> [  746.169795] gnome-shell[13847]: segfault at 2300022 ip 
>> 7f3718787e04 sp 7ffd56a0f0b0 error 4 in 
>> libwayland-server.so.0.1.0[7f3718787000+7000]
>
> This looks like the same thing as .
>
>> I managed to get the coredump and backtrace of the same.
>
> To confirm, please could you install libwayland-server-0-dbgsym and
> libmutter-3-0-dbgsym and check this backtrace again?

OK Managed to reproduce same crash and attaching the full backtrace of
the same.

>
>> #2  0x7f9198e77ede in send_xdg_output_events
>> (resource=0x7f9184fc4000, 
>> wayland_output=wayland_output@entry=0x55fa9018cd90, 
>> logical_monitor=logical_monitor@entry=0x55fa926ac9e0, 
>> need_all_events=need_all_events@entry=0, 
>> pending_done_event=pending_done_event@entry=0x7ffca0e09144) at 
>> wayland/meta-wayland-outputs.c:553
>
> If you can type
>
> p *resource

(gdb) p *resource
$1 = {object = {interface = 0x7f5877a155d0, implementation = 0x3c, id = 0}, 
destroy = 0x0, link = {prev = 0x1a0001,
next = 0x7f587831ae60 }, 
deprecated_destroy_signal = {listener_list = {prev = 0x0, next = 
0x564d86380ba0}},
  client = 0x564d85937b40, data = 0x0, version = 0, dispatcher = 
0x7f5808115a10, destroy_signal = {listener_list = {prev = 0x0, next = 0x0}, 
emit_list = {
  prev = 0x0, next = 0x0}}}


Cheers,


[sudo] password for vasudeva.sk:
TIMEPID   UID   GID SIG COREFILE  EXE
Thu 2019-07-25 21:38:01 IST4422  1000  1001  11 present   
/usr/bin/gnome-shell
Fri 2019-07-26 09:15:41 IST   15400  1000  1001   6 present   /usr/bin/emacs-gtk
 vasudeva.sk@bhrigu  ~  sudo coredumpctl gdb 4422 
   ✔  1018  09:16:19
   PID: 4422 (gnome-shell)
   UID: 1000 (vasudeva.sk)
   GID: 1001 (vasudeva.sk)
Signal: 11 (SEGV)
 Timestamp: Thu 2019-07-25 21:37:59 IST (11h ago)
  Command Line: /usr/bin/gnome-shell
Executable: /usr/bin/gnome-shell
 Control Group: /user.slice/user-1000.slice/session-73.scope
  Unit: session-73.scope
 Slice: user-1000.slice
   Session: 73
 Owner UID: 1000 (vasudeva.sk)
   Boot ID: dd6e4472cdef44c284b155d24dafe3e6
Machine ID: feb451d304064b3f8706c8703a20adfd
  Hostname: bhrigu
   Storage: 
/var/lib/systemd/coredump/core.gnome-shell.1000.dd6e4472cdef44c284b155d24dafe3e6.4422.156407087900.lz4
   Message: Process 4422 (gnome-shell) of user 1000 dumped core.

Stack trace of thread 4422:
#0  0x7f5874d53e04 wl_resource_post_event 
(libwayland-server.so.0)
#1  0x7f5877763ede zxdg_output_v1_send_logical_size 
(libmutter-3.so.0)
#2  0x7f58777646fb wayland_output_update_for_output 
(libmutter-3.so.0)
#3  0x7f587776488f on_monitors_changed (libmutter-3.so.0)
#4  0x7f5878318e8d g_closure_invoke (libgobject-2.0.so.0)
#5  0x7f587832c555 signal_emit_unlocked_R 
(libgobject-2.0.so.0)
#6  0x7f58783354ae g_signal_emit_valist 
(libgobject-2.0.so.0)
#7  0x7f5878335b6f g_signal_emit (libgobject-2.0.so.0)
#8  0x7f58776d731f 
meta_monitor_manager_notify_monitors_changed (libmutter-3.so.0)
#9  0x7f58776d9557 meta_monitor_manager_rebuild 
(libmutter-3.so.0)
#10 0x7f584ac6 
meta_monitor_manager_kms_apply_monitors_config (libmutter-3.so.0)
#11 0x7f58776d736c 
meta_monitor_manager_apply_monitors_config (libmutter-3.so.0)
#12 0x7f58776d8334 meta_monitor_manager_ensure_configured 
(libmutter-3.so.0)
#13 0x7f587831b00e g_cclosure_marshal_VOID__BOOLEANv 
(libgobject-2.0.so.0)
#14 0x7f58783190c6 _g_closure_invoke_va 
(libgobject-2.0.so.0)
#15 0x7f587833557d g_signal_emit_valist 
(libgobject-2.0.so.0)
#16 0x7f5878335b6f g_signal_emit (libgobject-2.0.so.0)
#17 0x7f58776c42fd upower_properties_changed 
(libmutter-3.so.0)
#18 0x7f587661e8ee ffi_call_unix64 (libffi.so.6)
#19 0x7f587661e2bf ffi_call (libffi.so.6)
#20 0x7f5878319682 g_cclosure_marshal_generic 
(libgobject-2.0.so.0)
#21 0x7f5878318e8d g_closure_invoke (libgobject-2.0.so.0)
#22 0x7f587832c555 signal_emit_unlocked_R 
(libgobject-2.0.so.0)
#23 0x7f58783354ae g_signal_emit_valist 
(libgobject-2.0.so.0)
   

Bug#932781: gnome-shell crashed on laptop lid close

2019-07-23 Thread Vasudev Kamath
Simon McVittie  writes:

> Control: tags -1 + moreinfo
>
> On Tue, 23 Jul 2019 at 10:36:59 +0530, Vasudev Kamath wrote:
>> Closing laptop lid normally puts laptop sleep and I get back my session on 
>> reopen. But after recent update
>> I see that I get logged out and closer inspection revealed that gnome-shell 
>> is crashing with following error
>> 
>> [  746.169795] gnome-shell[13847]: segfault at 2300022 ip 
>> 7f3718787e04 sp 7ffd56a0f0b0 error 4 in 
>> libwayland-server.so.0.1.0[7f3718787000+7000]
>
> This looks like the same thing as .

Yes the behavior and even stack trace looked same.

>
>> I managed to get the coredump and backtrace of the same.
>
> To confirm, please could you install libwayland-server-0-dbgsym and
> libmutter-3-0-dbgsym and check this backtrace again?
>
>> #2  0x7f9198e77ede in send_xdg_output_events
>> (resource=0x7f9184fc4000, 
>> wayland_output=wayland_output@entry=0x55fa9018cd90, 
>> logical_monitor=logical_monitor@entry=0x55fa926ac9e0, 
>> need_all_events=need_all_events@entry=0, 
>> pending_done_event=pending_done_event@entry=0x7ffca0e09144) at 
>> wayland/meta-wayland-outputs.c:553
>
> If you can type
>
> p *resource
>
> at the gdb prompt, that would also be useful information.

Sadly I'm not having the old core! I don't know what happened though. I
tried to reproduce the issue but this time I have totally different
stack trace. I installed all dbgsym and captured the backtrace with this
mail. Let me know if you need any more information.

Cheers,

   PID: 26913 (gnome-shell)
   UID: 1000 (vasudeva.sk)
   GID: 1001 (vasudeva.sk)
Signal: 11 (SEGV)
 Timestamp: Tue 2019-07-23 18:24:04 IST (8min ago)
  Command Line: /usr/bin/gnome-shell
Executable: /usr/bin/gnome-shell
 Control Group: /user.slice/user-1000.slice/session-71.scope
  Unit: session-71.scope
 Slice: user-1000.slice
   Session: 71
 Owner UID: 1000 (vasudeva.sk)
   Boot ID: dd6e4472cdef44c284b155d24dafe3e6
Machine ID: feb451d304064b3f8706c8703a20adfd
  Hostname: bhrigu
   Storage: 
/var/lib/systemd/coredump/core.gnome-shell.1000.dd6e4472cdef44c284b155d24dafe3e6.26913.156388644400.lz4
   Message: Process 26913 (gnome-shell) of user 1000 dumped core.

Stack trace of thread 26913:
#0  0x7fbc8cc55dc3 n/a (libgbm.so.1)
#1  0x7fbc8230e7d2 n/a (i965_dri.so)
#2  0x7fbc8230e83c n/a (i965_dri.so)
#3  0x7fbc8825257e n/a (libEGL_mesa.so.0)
#4  0x7fbc88241344 n/a (libEGL_mesa.so.0)
#5  0x7fbc8d5cdab0 n/a (libEGL.so.1)
#6  0x7fbc8fd55a31 _cogl_winsys_egl_make_current 
(libmutter-cogl-3.so)
#7  0x7fbc90333e68 meta_renderer_native_create_view 
(libmutter-3.so.0)
#8  0x7fbc90299380 meta_renderer_create_view 
(libmutter-3.so.0)
#9  0x7fbc90336ac9 meta_stage_native_rebuild_views 
(libmutter-3.so.0)
#10 0x7fbc90329595 meta_backend_native_update_screen_size 
(libmutter-3.so.0)
#11 0x7fbc9027f093 meta_backend_sync_screen_size 
(libmutter-3.so.0)
#12 0x7fbc9027ff29 meta_backend_monitors_changed 
(libmutter-3.so.0)
#13 0x7fbc9029230d 
meta_monitor_manager_notify_monitors_changed (libmutter-3.so.0)
#14 0x7fbc90294557 meta_monitor_manager_rebuild 
(libmutter-3.so.0)
#15 0x7fbc9032fac6 
meta_monitor_manager_kms_apply_monitors_config (libmutter-3.so.0)
#16 0x7fbc9029236c 
meta_monitor_manager_apply_monitors_config (libmutter-3.so.0)
#17 0x7fbc90293334 meta_monitor_manager_ensure_configured 
(libmutter-3.so.0)
#18 0x7fbc90ed600e g_cclosure_marshal_VOID__BOOLEANv 
(libgobject-2.0.so.0)
#19 0x7fbc90ed40c6 n/a (libgobject-2.0.so.0)
#20 0x7fbc90ef057d g_signal_emit_valist 
(libgobject-2.0.so.0)
#21 0x7fbc90ef0b6f g_signal_emit (libgobject-2.0.so.0)
#22 0x7fbc9027f2fd upower_properties_changed 
(libmutter-3.so.0)
#23 0x7fbc8f1d98ee ffi_call_unix64 (libffi.so.6)
#24 0x7fbc8f1d92bf ffi_call (libffi.so.6)
#25 0x7fbc90ed4682 g_cclosure_marshal_generic 
(libgobject-2.0.so.0)
#26 0x7fbc90ed3e8d g_closure_invoke (libgobject-2.0.so.0)
#27 0x7fbc90ee7555 n/a (libgobject-2.0.so.0)
#28 0x7fbc90ef04ae g_signal_emit_valist 
(libgobject-2.0.so.0)
#29 0x7fbc90ef0b6f g_signal_emit (libgobject-2.0.so.0)
#30 0x7fbc91026399 n/a (libgio-2.0.so.0)
#31 0x7fbc91014f24 n/a (libgio-2.0.so.0)
#32 0x7fbc90ded898 g_main_context_dispatch 
(libglib-2.0.so.0)
   

Bug#932781: gnome-shell crashed on laptop lid close

2019-07-23 Thread Simon McVittie
Control: tags -1 + moreinfo

On Tue, 23 Jul 2019 at 10:36:59 +0530, Vasudev Kamath wrote:
> Closing laptop lid normally puts laptop sleep and I get back my session on 
> reopen. But after recent update
> I see that I get logged out and closer inspection revealed that gnome-shell 
> is crashing with following error
> 
> [  746.169795] gnome-shell[13847]: segfault at 2300022 ip 
> 7f3718787e04 sp 7ffd56a0f0b0 error 4 in 
> libwayland-server.so.0.1.0[7f3718787000+7000]

This looks like the same thing as .

> I managed to get the coredump and backtrace of the same.

To confirm, please could you install libwayland-server-0-dbgsym and
libmutter-3-0-dbgsym and check this backtrace again?

> #2  0x7f9198e77ede in send_xdg_output_events
> (resource=0x7f9184fc4000, 
> wayland_output=wayland_output@entry=0x55fa9018cd90, 
> logical_monitor=logical_monitor@entry=0x55fa926ac9e0, 
> need_all_events=need_all_events@entry=0, 
> pending_done_event=pending_done_event@entry=0x7ffca0e09144) at 
> wayland/meta-wayland-outputs.c:553

If you can type

p *resource

at the gdb prompt, that would also be useful information.

Thanks,
smcv



Bug#932781: gnome-shell crashed on laptop lid close

2019-07-22 Thread Vasudev Kamath
Package: gnome-shell
Version: 3.30.2-9
Severity: important

Dear Maintainer,

Closing laptop lid normally puts laptop sleep and I get back my session on 
reopen. But after recent update
I see that I get logged out and closer inspection revealed that gnome-shell is 
crashing with following error

[  746.169795] gnome-shell[13847]: segfault at 2300022 ip 7f3718787e04 
sp 7ffd56a0f0b0 error 4 in libwayland-server.so.0.1.0[7f3718787000+7000]

I managed to get the coredump and backtrace of the same. I'm attaching it with 
this bug report.

Cheers,
Vasudev


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, arm64

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en 
(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  dconf-gsettings-backend [gsettings-backend]  0.30.1-2
ii  evolution-data-server3.30.5-1.1
ii  gir1.2-accountsservice-1.0   0.6.45-2
ii  gir1.2-atspi-2.0 2.30.0-7
ii  gir1.2-freedesktop   1.58.3-2
ii  gir1.2-gcr-3 3.28.1-1
ii  gir1.2-gdesktopenums-3.0 3.33.1-1
ii  gir1.2-gdm-1.0   3.30.2-3
ii  gir1.2-geoclue-2.0   2.5.3-1
ii  gir1.2-glib-2.0  1.58.3-2
ii  gir1.2-gnomebluetooth-1.03.28.2-3
ii  gir1.2-gnomedesktop-3.0  3.30.2.1-2
ii  gir1.2-gtk-3.0   3.24.10-1
ii  gir1.2-gweather-3.0  3.28.3-1
ii  gir1.2-ibus-1.0  1.5.19-4+b1
ii  gir1.2-mutter-3  3.30.2-7
ii  gir1.2-nm-1.01.18.0-3
ii  gir1.2-nma-1.0   1.8.22-2
ii  gir1.2-pango-1.0 1.42.4-6
ii  gir1.2-polkit-1.00.105-25
ii  gir1.2-rsvg-2.0  2.44.10-2.1
ii  gir1.2-soup-2.4  2.64.2-2
ii  gir1.2-upowerglib-1.00.99.10-1
ii  gjs  1.54.3-1+b1
ii  gnome-backgrounds3.30.0-1
ii  gnome-settings-daemon3.30.2-3
ii  gnome-shell-common   3.30.2-9
ii  gsettings-desktop-schemas3.28.1-1
ii  libatk-bridge2.0-0   2.30.0-5
ii  libatk1.0-0  2.30.0-2
ii  libc62.28-10
ii  libcairo21.16.0-4
ii  libcanberra-gtk3-0   0.30-7
ii  libcanberra0 0.30-7
ii  libcroco30.6.12-3
ii  libecal-1.2-19   3.30.5-1.1
ii  libedataserver-1.2-233.30.5-1.1
ii  libgcr-base-3-1  3.28.1-1
ii  libgdk-pixbuf2.0-0   2.38.1+dfsg-1
ii  libgirepository-1.0-11.58.3-2
ii  libgjs0g 1.54.3-1+b1
ii  libglib2.0-0 2.60.5-1
ii  libglib2.0-bin   2.60.5-1
ii  libgstreamer1.0-01.16.0-2
ii  libgtk-3-0   3.24.10-1
ii  libical3 3.0.5-1
ii  libjson-glib-1.0-0   1.4.4-2
ii  libmutter-3-03.30.2-7
ii  libnm0   1.18.0-3
ii  libpango-1.0-0   1.42.4-6
ii  libpangocairo-1.0-0  1.42.4-6
ii  libpolkit-agent-1-0  0.105-25
ii  libpolkit-gobject-1-00.105-25
ii  libpulse-mainloop-glib0  12.2-4
ii  libpulse012.2-4
ii  libsecret-1-00.18.7-1
ii  libstartup-notification0 0.12-6
ii  libsystemd0  241-7
ii  libx11-6 2:1.6.7-1
ii  libxfixes3   1:5.0.3-1
ii  mutter   3.30.2-7
ii  python3  3.7.3-1

Versions of packages gnome-shell recommends:
ii  bolt  0.7-2
ii  chrome-gnome-shell10.1-5
ii  gdm3  3.30.2-3
ii  gkbd-capplet  3.26.1-1
ii  gnome-control-center  1:3.30.3-1
ii  gnome-user-docs   3.30.2-1
ii  iio-sensor-proxy  2.4-2
ii