Bug#1036268: gnome-shell: Session crashes, thrown out to login screen, after the session has been idle & screen switched off

2023-06-06 Thread Simon McVittie
Control: forwarded -1 https://gitlab.gnome.org/GNOME/mutter/-/issues/2570
Control: tags -1 + fixed-upstream pending
Control: block -1 by 1036856

On Sat, 03 Jun 2023 at 15:01:10 +, Amr Ibrahim wrote:
> Am Samstag, dem 27.05.2023 um 21:32 +0100 schrieb Simon McVittie:
> > A backtrace from the crash would be very useful information for this or any
> > other crash. Please see 
>
> Thread 1 "gnome-shell" received signal SIGSEGV, Segmentation fault.
> 0x7fed1b2aa963 in wl_closure_invoke (closure=0x55dc1c9283d0, 
> flags=, target=, opcode=0, data= out>) at ../src/connection.c:1021
> Download failed: Das Argument ist ungültig.  Continuing without source file 
> ./build/../src/connection.c.
> 1021  ../src/connection.c: Datei oder Verzeichnis nicht gefunden.
> #0  0x7fed1b2aa963 in wl_closure_invoke (closure=0x55dc1c9283d0, 
> flags=, target=, opcode=0, data= out>) at ../src/connection.c:1021
> count = 0
> cif = {abi = FFI_UNIX64, nargs = 2, arg_types = 0x7ffcf1869ae0, rtype 
> = 0x7fed1a069180 , bytes = 0, flags = 0}
> ffi_types = {0x7fed1a069060 , 0x7fed1a069060 
> , 0x7fed1a0690e0 , 0x7fed19cb6c6d, 
> 0x7fed1a0690e0 , 0x10, 0xc, 0x7ffc000e, 0x55dc1ae55800, 
> 0xd8, 0x55dc220ebe90, 0x10170, 0x7fed19df1c60, 0x0, 0x8, 0x7fed19cb8582 
> , 0x0, 0x0, 0x7ffcf1869ba0, 0x7fed1b2b0cf0 , 
> 0x7fed1b2ac0d1, 0x0}
> ffi_args = {0x7ffcf1869aa0, 0x7ffcf1869aa8, 0x55dc220bb328, 
> 0xd21b64d4776ea700, 0x55dc1ae55830, 0x55dc1ae55800, 0x55dc2114a9a0, 0x0, 
> 0x7fed1b2b0cf0 , 0x7fed1b2aa22b 
> , 0x55dc1c9284a8, 0x55dc215b87a0, 
> 0x55dc220bb3e0, 0x55dc1c9283d0, 0x8f1869c50, 0x55dc220bb3ec, 0x7fed1b2b0cf0 
> , 0x7fed1b2aa696 , 
> 0x7ffcf1869c38, 0x7fed1b2a47b0 , 0x7fed1b2b0cf0 
> , 0x203cde00}
> implementation = 0x0

Thanks, both of the backtraces you provided look like the same issue as
. This was identified
too late to be fixed in the initial release of Debian 12, but I've asked
for permission to include the upstream fix in the Debian 12.1 point release.

Prerelease packages with the backported fix are available at
.

smcv



Bug#1036268: gnome-shell: Session crashes, thrown out to login screen, after the session has been idle & screen switched off

2023-06-04 Thread Amr Ibrahim
Am Samstag, dem 27.05.2023 um 21:32 +0100 schrieb Simon McVittie:
> What is logged in the systemd journal when this crash occurs?

Today another crash. Attached is gnome-logs-important.txt

> A backtrace from the crash would be very useful information for this or any
> other crash. Please see :
> usually the easiest way is to use the systemd-coredump package, as described
> in 

Attached are coredumpctl info and debug.

16:25:59 systemd: Failed to start app-gnome-gnome\x2dkeyring\x2dssh-13893.scope 
- Application launched by gnome-session-binary.
16:02:24 systemd-coredum: Process 2121 (gnome-shell) of user 1000 dumped core.

Module libnss_resolve.so.2 from deb systemd-252.6-1.amd64
Module libudev.so.1 from deb systemd-252.6-1.amd64
Module libsystemd.so.0 from deb systemd-252.6-1.amd64
Stack trace of thread 2121:
#0  0x7fbb351e8963 n/a (libwayland-server.so.0 + 0xd963)
#1  0x7fbb351e3bda n/a (libwayland-server.so.0 + 0x8bda)
#2  0x7fbb351e689a wl_event_loop_dispatch (libwayland-server.so.0 + 0xb89a)
#3  0x7fbb3574d937 n/a (libmutter-11.so.0 + 0x14d937)
#4  0x7fbb3653e7a9 g_main_context_dispatch (libglib-2.0.so.0 + 0x547a9)
#5  0x7fbb3653ea38 n/a (libglib-2.0.so.0 + 0x54a38)
#6  0x7fbb3653ecef g_main_loop_run (libglib-2.0.so.0 + 0x54cef)
#7  0x7fbb356d6eb5 meta_context_run_main_loop (libmutter-11.so.0 + 0xd6eb5)
#8  0x55995c54e924 n/a (gnome-shell + 0x2924)
#9  0x7fbb3544618a n/a (libc.so.6 + 0x2718a)
#10 0x7fbb35446245 __libc_start_main (libc.so.6 + 0x27245)
#11 0x55995c54ebc1 n/a (gnome-shell + 0x2bc1)

Stack trace of thread 2125:
#0  0x7fbb3551afff __poll (libc.so.6 + 0xfbfff)
#1  0x7fbb3653e9ae n/a (libglib-2.0.so.0 + 0x549ae)
#2  0x7fbb3653eacc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
#3  0x7fbb3653eb11 n/a (libglib-2.0.so.0 + 0x54b11)
#4  0x7fbb36568cfd n/a (libglib-2.0.so.0 + 0x7ecfd)
#5  0x7fbb354a7fd4 n/a (libc.so.6 + 0x88fd4)
#6  0x7fbb355285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 2137:
#0  0x7fbb354a4d36 n/a (libc.so.6 + 0x85d36)
#1  0x7fbb354a73f8 pthread_cond_wait (libc.so.6 + 0x883f8)
#2  0x7fbb1e50c059 n/a (iris_dri.so + 0x10c059)
#3  0x7fbb1e4be17b n/a (iris_dri.so + 0xbe17b)
#4  0x7fbb1e50bf97 n/a (iris_dri.so + 0x10bf97)
#5  0x7fbb354a7fd4 n/a (libc.so.6 + 0x88fd4)
#6  0x7fbb355285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 2138:
#0  0x7fbb354a4d36 n/a (libc.so.6 + 0x85d36)
#1  0x7fbb354a73f8 pthread_cond_wait (libc.so.6 + 0x883f8)
#2  0x7fbb1e50c059 n/a (iris_dri.so + 0x10c059)
#3  0x7fbb1e4be17b n/a (iris_dri.so + 0xbe17b)
#4  0x7fbb1e50bf97 n/a (iris_dri.so + 0x10bf97)
#5  0x7fbb354a7fd4 n/a (libc.so.6 + 0x88fd4)
#6  0x7fbb355285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 2140:
#0  0x7fbb354a4d36 n/a (libc.so.6 + 0x85d36)
#1  0x7fbb354a73f8 pthread_cond_wait (libc.so.6 + 0x883f8)
#2  0x7fbb1e50c059 n/a (iris_dri.so + 0x10c059)
#3  0x7fbb1e4be17b n/a (iris_dri.so + 0xbe17b)
#4  0x7fbb1e50bf97 n/a (iris_dri.so + 0x10bf97)
#5  0x7fbb354a7fd4 n/a (libc.so.6 + 0x88fd4)
#6  0x7fbb355285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 2142:
#0  0x7fbb354a4d36 n/a (libc.so.6 + 0x85d36)
#1  0x7fbb354a73f8 pthread_cond_wait (libc.so.6 + 0x883f8)
#2  0x7fbb1e50c059 n/a (iris_dri.so + 0x10c059)
#3  0x7fbb1e4be17b n/a (iris_dri.so + 0xbe17b)
#4  0x7fbb1e50bf97 n/a (iris_dri.so + 0x10bf97)
#5  0x7fbb354a7fd4 n/a (libc.so.6 + 0x88fd4)
#6  0x7fbb355285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 2205:
#0  0x7fbb354a4d36 n/a (libc.so.6 + 0x85d36)
#1  0x7fbb354a73f8 pthread_cond_wait (libc.so.6 + 0x883f8)
#2  0x7fbb332692a7 
_ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE 
(libmozjs-102.so.0 + 0xa692a7)
#3  0x7fbb3326943d 
_ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE
 (libmozjs-102.so.0 + 0xa6943d)
#4  0x7fbb32a7d645 n/a (libmozjs-102.so.0 + 0x27d645)
#5  0x7fbb32a7d6f1 n/a (libmozjs-102.so.0 + 0x27d6f1)
#6  0x7fbb32a7c9f7 n/a (libmozjs-102.so.0 + 0x27c9f7)
#7  0x7fbb354a7fd4 n/a (libc.so.6 + 0x88fd4)
#8  0x7fbb355285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 10468:
#0  0x7fbb354a4d36 n/a (libc.so.6 + 0x85d36)
#1  0x7fbb354a73f8 pthread_cond_wait (libc.so.6 + 0x883f8)
#2  0x7fbae14fc99f n/a (librsvg-2.so.2 + 0xfc99f)
#3  0x7fbae14fc3be n/a (librsvg-2.so.2 + 0xfc3be)
#4  0x7fbae16c2c92 n/a (librsvg-2.so.2 + 0x2c2c92)
#5  0x7fbae16c83f1 n/a (librsvg-2.so.2 + 0x2c83f1)
#6  0x7fbae16bebed n/a (librsvg-2.so.2 + 0x2bebed)
#7  0x7fbae1a31153 n/a (librsvg-2.so.2 + 0x631153)
#8  0x7fbb354a7fd4 n/a (libc.so.6 + 0x88fd4)
#9  0x7fbb355285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 10465:
#0  

Bug#1036268: gnome-shell: Session crashes, thrown out to login screen, after the session has been idle & screen switched off

2023-06-03 Thread Amr Ibrahim
Am Samstag, dem 03.06.2023 um 17:01 +0200 schrieb Amr Ibrahim:
> Am Samstag, dem 27.05.2023 um 21:32 +0100 schrieb Simon McVittie:
> > 
> > What is logged in the systemd journal when this crash occurs?
> 
> log.txt (after the crash) is attached.

Attached are the all-log and important-log from gnome-logs.
> 
16:52:27 systemd: Failed to start app-gnome-gnome\x2dkeyring\x2dssh-42029.scope 
- Application launched by gnome-session-binary.
16:52:27 systemd: Failed to start app-gnome-gnome\x2dkeyring\x2dssh-42029.scope 
- Application launched by gnome-session-binary.
16:52:27 systemd: Failed to start 
app-gnome-gnome\x2dkeyring\x2dsecrets-42030.scope - Application launched by 
gnome-session-binary.
16:52:27 systemd: Failed to start 
app-gnome-gnome\x2dkeyring\x2dpkcs11-42027.scope - Application launched by 
gnome-session-binary.
16:52:04 systemd: Failed to start org.gnome.SettingsDaemon.MediaKeys.service - 
GNOME keyboard shortcuts service.
16:52:04 systemd: Failed to start org.gnome.SettingsDaemon.Power.service - 
GNOME power management service.
16:52:04 systemd: Failed to start org.gnome.SettingsDaemon.Color.service - 
GNOME color management service.
16:52:04 systemd: Failed to start org.gnome.SettingsDaemon.Wacom.service - 
GNOME Wacom tablet support service.
16:52:04 systemd: Failed to start org.gnome.SettingsDaemon.Keyboard.service - 
GNOME keyboard configuration service.
16:52:03 systemd-coredum: Process 2117 (gnome-shell) of user 1000 dumped core.

Module libnss_resolve.so.2 from deb systemd-252.6-1.amd64
Module libudev.so.1 from deb systemd-252.6-1.amd64
Module libsystemd.so.0 from deb systemd-252.6-1.amd64
Stack trace of thread 2117:
#0  0x7fed1b2aa963 n/a (libwayland-server.so.0 + 0xd963)
#1  0x7fed1b2a5bda n/a (libwayland-server.so.0 + 0x8bda)
#2  0x7fed1b2a889a wl_event_loop_dispatch (libwayland-server.so.0 + 0xb89a)
#3  0x7fed19f4d937 n/a (libmutter-11.so.0 + 0x14d937)
#4  0x7fed1ad3e7a9 g_main_context_dispatch (libglib-2.0.so.0 + 0x547a9)
#5  0x7fed1ad3ea38 n/a (libglib-2.0.so.0 + 0x54a38)
#6  0x7fed1ad3ecef g_main_loop_run (libglib-2.0.so.0 + 0x54cef)
#7  0x7fed19ed6eb5 meta_context_run_main_loop (libmutter-11.so.0 + 0xd6eb5)
#8  0x55dc17c96924 n/a (gnome-shell + 0x2924)
#9  0x7fed19c4618a n/a (libc.so.6 + 0x2718a)
#10 0x7fed19c46245 __libc_start_main (libc.so.6 + 0x27245)
#11 0x55dc17c96bc1 n/a (gnome-shell + 0x2bc1)

Stack trace of thread 2127:
#0  0x7fed19d1afff __poll (libc.so.6 + 0xfbfff)
#1  0x7fed1ad3e9ae n/a (libglib-2.0.so.0 + 0x549ae)
#2  0x7fed1ad3ecef g_main_loop_run (libglib-2.0.so.0 + 0x54cef)
#3  0x7fed1af3a8f6 n/a (libgio-2.0.so.0 + 0x1188f6)
#4  0x7fed1ad68cfd n/a (libglib-2.0.so.0 + 0x7ecfd)
#5  0x7fed19ca7fd4 n/a (libc.so.6 + 0x88fd4)
#6  0x7fed19d285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 2125:
#0  0x7fed19d1afff __poll (libc.so.6 + 0xfbfff)
#1  0x7fed1ad3e9ae n/a (libglib-2.0.so.0 + 0x549ae)
#2  0x7fed1ad3eacc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
#3  0x7fed1ad3eb11 n/a (libglib-2.0.so.0 + 0x54b11)
#4  0x7fed1ad68cfd n/a (libglib-2.0.so.0 + 0x7ecfd)
#5  0x7fed19ca7fd4 n/a (libc.so.6 + 0x88fd4)
#6  0x7fed19d285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 2136:
#0  0x7fed19ca4d36 n/a (libc.so.6 + 0x85d36)
#1  0x7fed19ca73f8 pthread_cond_wait (libc.so.6 + 0x883f8)
#2  0x7fed0250c059 n/a (iris_dri.so + 0x10c059)
#3  0x7fed024be17b n/a (iris_dri.so + 0xbe17b)
#4  0x7fed0250bf97 n/a (iris_dri.so + 0x10bf97)
#5  0x7fed19ca7fd4 n/a (libc.so.6 + 0x88fd4)
#6  0x7fed19d285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 2137:
#0  0x7fed19ca4d36 n/a (libc.so.6 + 0x85d36)
#1  0x7fed19ca73f8 pthread_cond_wait (libc.so.6 + 0x883f8)
#2  0x7fed0250c059 n/a (iris_dri.so + 0x10c059)
#3  0x7fed024be17b n/a (iris_dri.so + 0xbe17b)
#4  0x7fed0250bf97 n/a (iris_dri.so + 0x10bf97)
#5  0x7fed19ca7fd4 n/a (libc.so.6 + 0x88fd4)
#6  0x7fed19d285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 2205:
#0  0x7fed19ca4d36 n/a (libc.so.6 + 0x85d36)
#1  0x7fed19ca73f8 pthread_cond_wait (libc.so.6 + 0x883f8)
#2  0x7fed17a692a7 
_ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE 
(libmozjs-102.so.0 + 0xa692a7)
#3  0x7fed17a6943d 
_ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE
 (libmozjs-102.so.0 + 0xa6943d)
#4  0x7fed1727d645 n/a (libmozjs-102.so.0 + 0x27d645)
#5  0x7fed1727d6f1 n/a (libmozjs-102.so.0 + 0x27d6f1)
#6  0x7fed1727c9f7 n/a (libmozjs-102.so.0 + 0x27c9f7)
#7  0x7fed19ca7fd4 n/a (libc.so.6 + 0x88fd4)
#8  0x7fed19d285bc n/a (libc.so.6 + 0x1095bc)

Stack trace of thread 2144:
#0  0x7fed19d1afff __poll (libc.so.6 + 0xfbfff)
#1  0x7fed1ad3e9ae n/a (libglib-2.0.so.0 + 0x549ae)
#2  0x7fed1ad3ecef g_main_loop_run (libglib-2.0.so.0 + 0x54cef)
#3  0x7fed19f9f290 n/a 

Bug#1036268: gnome-shell: Session crashes, thrown out to login screen, after the session has been idle & screen switched off

2023-06-03 Thread Amr Ibrahim
Am Samstag, dem 27.05.2023 um 21:32 +0100 schrieb Simon McVittie:
> 
> What is logged in the systemd journal when this crash occurs?

log.txt (after the crash) is attached.

> A backtrace from the crash would be very useful information for this or any
> other crash. Please see 

gnome-shell-gdb.txt is attached.
16:55:25 gnome-character: JS LOG: Characters Application exiting
16:55:19 gnome-shell: Can't update stage views actor 
[:0x55df54b0e720] is on because it needs an allocation.
16:55:18 bijiben-shell-s: Updating resource  urn:bnode:583
16:55:18 gnome-logs: gtk_label_set_label: assertion 'GTK_IS_LABEL (self)' failed
16:55:16 dbus-daemon: [session uid=1000 pid=41854] Successfully activated 
service 'org.gnome.Logs'
16:55:15 bijiben-shell-s: g_object_unref: assertion 'G_IS_OBJECT (object)' 
failed
16:55:15 dbus-daemon: [session uid=1000 pid=41854] Successfully activated 
service 'org.gnome.Notes.SearchProvider'
16:55:15 gnome-character: JS LOG: Characters Application started
16:55:15 dbus-daemon: [session uid=1000 pid=41854] Successfully activated 
service 'org.gnome.Calculator.SearchProvider'
16:54:54 xdg-desktop-por: Realtime error: Could not map pid: Could not 
determine pid namespace: Could not find instance-id in process's /.flatpak-info
16:54:52 evolution: Attempted to add disallowed path to sandbox: 
/home/amr/.local/share/evolution/webkit-editor-plugins
16:54:17 xdg-desktop-por: Realtime error: Could not map pid: Could not 
determine pid namespace: Could not find instance-id in process's /.flatpak-info
16:54:16 gnome-shell: meta_window_set_stack_position_no_sync: assertion 
'window->stack_position >= 0' failed
16:54:16 evolution: Attempted to add disallowed path to sandbox: 
/home/amr/.local/share/evolution/preview-plugins
16:54:14 systemd: Started app-gnome-org.gnome.Evolution-42937.scope - 
Application launched by gnome-shell.
16:53:57 gnome-shell: meta_window_set_stack_position_no_sync: assertion 
'window->stack_position >= 0' failed
16:53:57 dbus-daemon: [session uid=1000 pid=41854] Successfully activated 
service 'org.gnome.TextEditor'
16:52:39 gjs: JS ERROR: Nokia 6.1: Gio.IOErrorEnum: Verbindung fehlgeschlagen
_handleMount/ max 
(10).
16:52:33 systemd: Started xdg-document-portal.service - flatpak document portal 
service.
16:52:33 dbus-daemon: [session uid=1000 pid=41854] Successfully activated 
service 'org.freedesktop.portal.Documents'
16:52:33 systemd: Starting xdg-document-portal.service - flatpak document 
portal service...
16:52:32 dbus-daemon: [session uid=1000 pid=41854] Activating via systemd: 
service name='org.freedesktop.portal.Documents' 
unit='xdg-document-portal.service' requested by ':1.86' (uid=1000 pid=42546 
comm="/usr/libexec/xdg-desktop-portal")
16:52:32 systemd: Reached target graphical-session.target - Current graphical 
user session.
16:52:32 dbus-daemon: [session uid=1000 pid=41854] Activating via systemd: 
service name='org.freedesktop.portal.Desktop' unit='xdg-desktop-portal.service' 
requested by ':1.46' (uid=1000 pid=42199 comm="/usr/bin/nautilus 
--gapplication-service")
16:52:32 systemd: Reached target org.gnome.SettingsDaemon.Color.target - GNOME 
color management target.
16:52:32 dbus-daemon: [session uid=1000 pid=41854] Successfully activated 
service 'org.gnome.Shell.Screencast'
16:52:32 gnome-shell: Window manager warning: Overwriting existing binding of 
keysym 32 with keysym 32 (keycode b).
16:52:31 systemd: Reached target org.gnome.SettingsDaemon.Datetime.target - 
GNOME date & time target.
16:52:31 gsd-usb-protect: Failed to fetch USBGuard parameters: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.usbguard1 
was not provided by any .service files
warning: Currently logging to gnome-shell-gdb.txt.  Turn the logging off and on 
to make the new setting effective.
[Thread 0x7fec627fc6c0 (LWP 12636) exited]
[New Thread 0x7fec627fc6c0 (LWP 12765)]
[Thread 0x7fec627fc6c0 (LWP 12765) exited]
[New Thread 0x7fec627fc6c0 (LWP 12963)]
[New Thread 0x7fec657fd6c0 (LWP 12964)]
[Thread 0x7fec657fd6c0 (LWP 12964) exited]
[Thread 0x7fec627fc6c0 (LWP 12963) exited]
[New Thread 0x7fec627fc6c0 (LWP 13351)]
[New Thread 0x7fec657fd6c0 (LWP 13491)]
[Detaching after fork from child process 13492]
[Thread 0x7fec657fd6c0 (LWP 13491) exited]
[New Thread 0x7fec657fd6c0 (LWP 13594)]
[Thread 0x7fec657fd6c0 (LWP 13594) exited]
[Detaching after fork from child process 13611]
[New Thread 0x7fec657fd6c0 (LWP 13612)]
[Thread 0x7fec627fc6c0 (LWP 13351) exited]
[Thread 0x7fec657fd6c0 (LWP 13612) exited]
[New Thread 0x7fec657fd6c0 (LWP 13936)]
[New Thread 0x7fec627fc6c0 (LWP 13937)]
[Thread 0x7fec657fd6c0 (LWP 13936) exited]
[Thread 0x7fec627fc6c0 (LWP 13937) exited]
[New Thread 0x7fec627fc6c0 (LWP 14002)]
[Thread 0x7fec627fc6c0 (LWP 14002) exited]
[New Thread 0x7fec627fc6c0 (LWP 14093)]
[Thread 0x7fec627fc6c0 (LWP 14093) exited]
[New Thread 0x7fec627fc6c0 (LWP 14372)]
[New Thread 0x7fec657fd6c0 (LWP 14373)]
[Thread 

Bug#1036268: gnome-shell: Session crashes, thrown out to login screen, after the session has been idle & screen switched off

2023-05-27 Thread Simon McVittie
On Thu, 18 May 2023 at 11:47:19 +0200, Amr Ibrahim wrote:
> After I leave the session idle for some time, with some apps open, and the
> screen has switched off, I come back to find that the whole session has been
> thrown out to the login screen, and I have to log myself in again to a new
> session.

This could be .

What is logged in the systemd journal when this crash occurs?

A backtrace from the crash would be very useful information for this or any
other crash. Please see :
usually the easiest way is to use the systemd-coredump package, as described
in .

smcv



Bug#1036268: gnome-shell: Session crashes, thrown out to login screen, after the session has been idle & screen switched off

2023-05-18 Thread Amr Ibrahim
Package: gnome-shell
Version: 43.4-1
Severity: important

Dear Maintainer,

After I leave the session idle for some time, with some apps open, and the
screen has switched off, I come back to find that the whole session has been
thrown out to the login screen, and I have to log myself in again to a new
session. This happens often, but not always!

Steps:

0.1 Set a 5 min timeout to both switch off and lock the screen
0.2 Set a 15 min timeout to automatically suspend the laptop when left idle and
on battery
0.3 Set a 30 min timeout to automatically suspend the laptop when left idle and
connected to a power source
1. On battery, leave a GNOME Shell session idle with some apps open
2. Come back after some minutes and see the screen has switched off, as
expected
3. Shake the mouse or type a key to switch on the screen or wake up the laptop
4. Find that the whole session has been thrown out the login screen
5. Log back in again to a new session, with no open apps

Please advise me to debug this bug further.

Best,
Amr


-- System Information:
Debian Release: 12.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing'), (100, 'unstable'), 
(50, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/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.40.0-4
ii  gir1.2-accountsservice-1.0   22.08.8-6
ii  gir1.2-adw-1 1.2.2-1
ii  gir1.2-atk-1.0   2.46.0-5
ii  gir1.2-atspi-2.0 2.46.0-5
ii  gir1.2-freedesktop   1.74.0-3
ii  gir1.2-gcr-3 3.41.1-1+b1
ii  gir1.2-gdesktopenums-3.0 43.0-1
ii  gir1.2-gdkpixbuf-2.0 2.42.10+dfsg-1+b1
ii  gir1.2-gdm-1.0   43.0-3
ii  gir1.2-geoclue-2.0   2.6.0-2
ii  gir1.2-glib-2.0  1.74.0-3
ii  gir1.2-gnomebluetooth-3.042.5-3
ii  gir1.2-gnomedesktop-3.0  43.2-2
ii  gir1.2-graphene-1.0  1.10.8-1
ii  gir1.2-gstreamer-1.0 1.22.0-2
ii  gir1.2-gtk-3.0   3.24.37-2
ii  gir1.2-gtk-4.0   4.8.3+ds-2
ii  gir1.2-gweather-4.0  4.2.0-2
ii  gir1.2-ibus-1.0  1.5.27-5
ii  gir1.2-mutter-11 43.4-2
ii  gir1.2-nm-1.01.42.4-1
ii  gir1.2-nma-1.0   1.10.6-1
ii  gir1.2-pango-1.0 1.50.12+ds-1
ii  gir1.2-polkit-1.0122-3
ii  gir1.2-rsvg-2.0  2.54.5+dfsg-1
ii  gir1.2-soup-3.0  3.2.2-2
ii  gir1.2-upowerglib-1.00.99.20-2
ii  gir1.2-webkit2-4.1   2.40.1-1
ii  gnome-backgrounds43.1-1
ii  gnome-settings-daemon43.0-4
ii  gnome-shell-common   43.4-1
ii  gsettings-desktop-schemas43.0-1
ii  gstreamer1.0-pipewire0.3.70-2
ii  libatk-bridge2.0-0   2.46.0-5
ii  libatk1.0-0  2.46.0-5
ii  libc62.36-9
ii  libcairo21.16.0-7
ii  libecal-2.0-23.46.4-2
ii  libedataserver-1.2-273.46.4-2
ii  libgcr-base-3-1  3.41.1-1+b1
ii  libgdk-pixbuf-2.0-0  2.42.10+dfsg-1+b1
ii  libgirepository-1.0-11.74.0-3
ii  libgjs0g 1.74.2-1
ii  libgles2 1.6.0-1
ii  libglib2.0-0 2.74.6-2
ii  libglib2.0-bin   2.74.6-2
ii  libgnome-autoar-0-0  0.4.3-1
ii  libgnome-desktop-3-2043.2-2
ii  libgraphene-1.0-01.10.8-1
ii  libgtk-3-0   3.24.37-2
ii  libgtk-4-1   4.8.3+ds-2
ii  libical3 3.0.16-1+b1
ii  libjson-glib-1.0-0   1.6.6-1
ii  libmutter-11-0   43.4-2
ii  libnm0   1.42.4-1
ii  libpango-1.0-0   1.50.12+ds-1
ii  libpangocairo-1.0-0  1.50.12+ds-1
ii  libpolkit-agent-1-0  122-3
ii  libpolkit-gobject-1-0