mate-desktop / mate-screensaver

MATE screen saver and locker
https://mate-desktop.org
GNU General Public License v2.0
48 stars 40 forks source link

Segfault when screensaver autostarts (Ubuntu Mate Impish) prevents system from entering sleep. And prevents returning to GUI #255

Closed jonpolak closed 2 years ago

jonpolak commented 2 years ago

Expected behaviour

Upon reaching specified amount of time of no activity, screen-saver engages

Actual behaviour

Screensaver crashes with SegFault. Blackscreen results, system cannot enter sleep, and cannot return to the GUI. Syslog reveals this error

Oct 20 10:59:03 JoniT14 kernel: [16156.775058] mate-screensave[23782]: segfault at 0 ip 00007fcea887fb07 sp 00007fff33a62e98 error 6 in libmate-menu.so.2.4.9[7fcea887c000+d000]
Oct 20 10:59:03 JoniT14 kernel: [16156.775073] Code: da fe ff ff e8 8a d6 ff ff 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 f0 83 07 01 c3 0f 1f 40 00 f3 0f 1e fa 48 89 f8 <f0> 83 07 01 c3 0f 1f 40 00 f3 0f 1e fa f0 83 2f 01 74 06 c3 0f 1f
Oct 20 10:59:03 JoniT14 mate-session[2133]: WARNING: Detected that screensaver has left the bus
Oct 20 10:59:08 JoniT14 dbus-daemon[2132]: [session uid=1000 pid=2132] Activating service name='org.mate.ScreenSaver' requested by ':1.46' (uid=1000 pid=2488 comm="mate-power-manager " label="unconfined")
Oct 20 10:59:08 JoniT14 dbus-daemon[2132]: [session uid=1000 pid=2132] Successfully activated service 'org.mate.ScreenSaver'

Steps to reproduce the behaviour

allow the screensaver timeout to elapse. Screensaver should turn on. Instead it gives black-screen and prevents sleep from starting

MATE general version

1.26

Package version

Starting occuring with 1.26.0-0ubuntu / previous packages were ok

Linux Distribution

Ubuntu Mate 21.10

Link to bugreport of your Distribution (requirement)

https://bugs.launchpad.net/ubuntu/+source/mate-screensaver/+bug/1947905

joakim-tjernlund commented 2 years ago

I just saw this SEGV as well on 1.26.0, I upgraded from 1.24 to 1.26 just a few days ago.

joakim-tjernlund commented 2 years ago

This could be same as https://github.com/mate-desktop/mate-screensaver/issues/263 I will retest 1.26 once that fix is all finished.

raveit65 commented 2 years ago

Probably fixed with https://github.com/mate-desktop/mate-screensaver/commit/8297a0f47b43f5e051ad2696d0843d23b236e7ec