** Description changed:

+ [ Impact ]
+ GNOME Flashback has several use-after-free bugs that may cause it to crash 
when the lock screen is activated.
+ 
+ [ Test Plan ]
+ 1. Install gnome-session-flashback.
+ 2. Log in into GNOME Flashback (Metacity) session.
+ 3. Make sure the user has a password, so the screen does not unlock 
automatically.
+ 4. Leave the system idle for a few hours, so that the lock screen is 
activated and some time passes after that.
+ 
+ Expected behavior: no crash.
+ 
+ Actual behavior currently happening on some Noble systems: gnome-flashback 
crashes with segmentation fault, the stack trace is here:
+ 
https://bugs.launchpad.net/ubuntu/+source/gnome-flashback/+bug/2086706/comments/22
+ 
+ [ Where problems could occur ]
+ The fixes are mostly about disconnecting signals from dead objects. Potential 
regressions may be related to some functionality not working because the 
disconnect was wrong or happened too early.
+ 
+ [ Other Info ]
+ The proposed fixes are copied from upstream gnome-3-52 branch, namely these 
commits:
+ - 
https://gitlab.gnome.org/GNOME/gnome-flashback/-/commit/981081fc7325f1bb4b987eddde8997b35f7908f4
+ - 
https://gitlab.gnome.org/GNOME/gnome-flashback/-/commit/d0b7f431babe59d2c7daf44d88197d282d88829e
+ - 
https://gitlab.gnome.org/GNOME/gnome-flashback/-/commit/637c3d97c466ad94805a5a0c5b50de1b35c30d3c
+ 
+ The same fixes are applied in 3.54.0-1ubuntu2 upload in Plucky.
+ 
+ Note: ~steffel created a PPA with the same three patches applied. For
+ him and for ~andre-bacao this PPA helped (see comment #24), no
+ regressions were reported.
+ 
+ 
--------------------------------------------------------------------------------
+ 
  Gnome flashback crashes randomly while unlock screen it prints 'ops
  something gone wrong...' and then must log out and login again.
  
  gnome-session-flashback version 1:3.52.1-2ubuntu1
  
  In logs only:
  тра 07 15:49:02 tepl-svv gnome-flashback[5019]: double free or corruption 
(out)
  тра 07 15:49:03 tepl-svv systemd[4207]: gnome-flashback.service: Main process 
exited, code=dumped, status=6/ABRT
  тра 07 15:49:03 tepl-svv LightSideAssistant[4753]: org.gnome.ScreenSaver 
disappeared
  тра 07 15:49:03 tepl-svv systemd[4207]: gnome-flashback.service: Failed with 
result 'core-dump'.
  тра 07 15:49:03 tepl-svv systemd[4207]: gnome-flashback.service: Triggering 
OnFailure= dependencies.
  тра 07 15:49:03 tepl-svv systemd[4207]: gnome-flashback.service: Consumed 
2.979s CPU time.
  тра 07 15:49:03 tepl-svv systemd[4207]: gnome-flashback.service: Scheduled 
restart job, restart counter is at 1.
  тра 07 15:49:03 tepl-svv systemd[4207]: Stopped target gnome-flashback.target 
- GNOME Flashback.
  тра 07 15:49:03 tepl-svv systemd[4207]: Stopping gnome-flashback.target - 
GNOME Flashback...
  тра 07 15:49:03 tepl-svv systemd[4207]: Stopped target 
gnome-session-x11@gnome-flashback-metacity.target - GNOME X11 Session (session: 
gnome-flashback-metacity).
  тра 07 15:49:03 tepl-svv systemd[4207]: Stopping 
gnome-session-x11@gnome-flashback-metacity.target - GNOME X11 Session (session: 
gnome-flashback-metacity)...
  тра 07 15:49:03 tepl-svv systemd[4207]: Stopped target 
gnome-session@gnome-flashback-metacity.target - GNOME Session (session: 
gnome-flashback-metacity).
  тра 07 15:49:03 tepl-svv systemd[4207]: Stopping 
gnome-session@gnome-flashback-metacity.target - GNOME Session (session: 
gnome-flashback-metacity)...
  тра 07 15:49:03 tepl-svv systemd[4207]: Reached target 
gnome-session@gnome-flashback-metacity.target - GNOME Session (session: 
gnome-flashback-metacity).
  тра 07 15:49:03 tepl-svv systemd[4207]: Reached target 
gnome-session-x11@gnome-flashback-metacity.target - GNOME X11 Session (session: 
gnome-flashback-metacity).
  тра 07 15:49:03 tepl-svv systemd[4207]: Starting gnome-flashback.service - 
GNOME Flashback...
  тра 07 15:49:03 tepl-svv systemd[4207]: Started gnome-session-failed.service 
- GNOME Session Failed lockdown screen (user).
  тра 07 15:49:03 tepl-svv systemd[4207]: Reached target 
gnome-session-failed.target - GNOME Session Failed.
  тра 07 15:49:03 tepl-svv gnome-flashback[10503]: Property 'libinput Accel 
Profiles Available' for device 'Logitech USB Optical Mouse' returned 3 items, 
expected 2
  тра 07 15:49:03 tepl-svv gnome-flashback[10503]: Property 'libinput Accel 
Profile Enabled Default' for device 'Logitech USB Optical Mouse' returned 3 
items, expected 2
  тра 07 15:49:03 tepl-svv gnome-flashback[10503]: Property 'libinput Accel 
Profiles Available' for device 'GXTP5100:00 27C6:01E0 Mouse' returned 3 items, 
expected 2
  тра 07 15:49:03 tepl-svv gnome-flashback[10503]: Property 'libinput Accel 
Profile Enabled Default' for device 'GXTP5100:00 27C6:01E0 Mouse' returned 3 
items, expected 2
  тра 07 15:49:03 tepl-svv dbus-daemon[4331]: [session uid=200463 pid=4331] 
Activating service name='org.freedesktop.portal.IBus' requested by ':1.124' 
(uid=200463 pid=10525 comm="ibus-daemon --xim --panel disable" 
label="unconfined")
  тра 07 15:49:03 tepl-svv dbus-daemon[4331]: [session uid=200463 pid=4331] 
Successfully activated service 'org.freedesktop.portal.IBus'
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: The XKEYBOARD 
keymap compiler (xkbcomp) reports:
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86CameraAccessEnable
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86CameraAccessDisable
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86CameraAccessToggle
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86NextElement
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86PreviousElement
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86AutopilotEngageToggle
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86MarkWaypoint
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86Sos
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86NavChart
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86FishingChart
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86SingleRangeRadar
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86DualRangeRadar
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86RadarOverlay
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86TraditionalSonar
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86ClearvuSonar
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86SidevuSonar
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: > Warning:        
  Could not resolve keysym XF86NavInfo
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10550]: Errors from 
xkbcomp are not fatal to the X server
  тра 07 15:49:03 tepl-svv systemd[4207]: Started gnome-flashback.service - 
GNOME Flashback.
  тра 07 15:49:03 tepl-svv systemd[4207]: Reached target gnome-flashback.target 
- GNOME Flashback.
  тра 07 15:49:03 tepl-svv gnome-flashback[5016]: Failed to grab accelerators: 
GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Об'єкта зі шляхом 
«/org/gnome/Shell» не існує
  тра 07 15:49:03 tepl-svv gsd-media-keys[5383]: Failed to grab accelerators: 
GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Об'єкта зі шляхом 
«/org/gnome/Shell» не існує
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: The XKEYBOARD 
keymap compiler (xkbcomp) reports:
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86CameraAccessEnable
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86CameraAccessDisable
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86CameraAccessToggle
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86NextElement
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86PreviousElement
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86AutopilotEngageToggle
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86MarkWaypoint
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86Sos
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86NavChart
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86FishingChart
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86SingleRangeRadar
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86DualRangeRadar
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86RadarOverlay
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86TraditionalSonar
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86ClearvuSonar
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86SidevuSonar
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: > Warning:        
  Could not resolve keysym XF86NavInfo
  тра 07 15:49:03 tepl-svv /usr/libexec/gdm-x-session[10635]: Errors from 
xkbcomp are not fatal to the X server
  тра 07 15:49:04 tepl-svv gsd-media-keys[5383]: Failed to grab accelerator for 
keybinding settings:playback-random
  тра 07 15:49:04 tepl-svv gsd-media-keys[5383]: Failed to grab accelerator for 
keybinding settings:screen-brightness-cycle
  тра 07 15:49:04 tepl-svv gsd-media-keys[5383]: Failed to grab accelerator for 
keybinding settings:playback-repeat
  тра 07 15:49:04 tepl-svv gsd-media-keys[5383]: Failed to grab accelerator for 
keybinding settings:rfkill
  тра 07 15:49:04 tepl-svv gsd-media-keys[5383]: Failed to grab accelerator for 
keybinding settings:hibernate
  тра 07 15:49:04 tepl-svv gsd-media-keys[5383]: Failed to grab accelerator for 
keybinding settings:rotate-video-lock

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065048

Title:
  gnome-flashback randomly crash while unlock screen dialog on ubuntu
  24.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-flashback/+bug/2065048/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to