jovanlanik / gtklock

GTK-based lockscreen for Wayland
GNU General Public License v3.0
315 stars 22 forks source link

Crash and Red Screen at Unlock from Sleep #92

Closed xi-pinmping closed 2 weeks ago

xi-pinmping commented 3 months ago

Not sure if anyone else is having this issue, but after my laptop locks and begins to go to sleep I am no longer able to unlock without a kernel segfault and the entire screen turning red. The end of my journal logs shows


May 19 09:35:43 blabs gtklock[91036]: pam_winbind(gtklock:auth): getting password (0x00000000)
May 19 09:35:43 blabs gtklock[91036]: pam_winbind(gtklock:auth): request wbcLogonUser failed: WBC_ERR_WINBIND_NOT_AVAILABLE, PAM error: PAM_AUTHINFO_UNAVAIL (9)!
May 19 09:35:43 blabs gtklock[91036]: pam_winbind(gtklock:auth): internal module error (retval = PAM_AUTHINFO_UNAVAIL(9), user = 'user')
May 19 09:35:43 blabs unix_chkpwd[91097]: password check failed for user (user)
May 19 09:35:43 blabs gtklock[91036]: gkr-pam: the password for the login keyring was invalid.
May 19 09:35:44 blabs kernel: gtklock[91035]: segfault at ffffffffffffffff ip 000057ca9d647725 sp 00007068ffdffb70 error 7 in gtklock[57ca9d646000+4000] likely on CPU 15 (core 7, socket 0)
May 19 09:35:44 blabs kernel: Code: ef ff 15 26 67 00 00 48 89 da 8b 3d 55 6d 00 00 48 89 c6 48 89 05 5b 6d 00 00 48 89 e9 ff 15 a2 68 00 00 48 8b 15 4b 6d 00 00 <c6> 04 02 00 b8 03 00 00 00 48 8b 54 24 38 64 48 2b 14 25 28 00 00
lines 4873-4921/4921 (END)

Im not sure if maybe its a config im missing possibly but this only occurred in the last month with no notable config changes

sway --version 
sway version 1.9-8aa59c8 (Apr 10 2024, branch 'HEAD')

uname -a 
Linux blabs 6.9.1-2-cachyos #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 14:24:05 +0000 x86_64 GNU/Linux

paru -Qi gtklock
Installed From  : None
Name            : gtklock
Version         : 3.0.0-1
loganswartz commented 3 months ago

I'm also getting this, it seems to happen for me only when the userinfo-module is enabled.

xi-pinmping commented 3 months ago

I just tried removing the userinfo-module but it still occurs even without the package installed and it disabled

jovanlanik commented 1 month ago

Do you have the same issue after d22127f?

xi-pinmping commented 1 month ago

Do you have the same issue after d22127f?

I do still have the issue occurring. If I get to it soon enough (within minute or two) the issue does not appear but after going into deeper sleep the issue seems to reappear.

xi-pinmping commented 1 month ago

I just tried today and it finally didn't red screen but did just a day or two ago. Hopefully resolved but leaving open for a few more days incase its something else causing it

LoneWolf4713 commented 3 weeks ago

hey umm, can anyone tell me how to fix this? I mean, this happened on gtklock (aur) 3.0.0-1 . I switched to gtklock-git (aur) to get the latest package, but now it's incompatible with all the modules (playerctl, powerbar and userinfo) they all support 3.0.0.-1, not the git version. so how can I fix this?

xi-pinmping commented 2 weeks ago

I believe it to be fixed now, my last few boots have seen extended sleep sessions without issue. Thanks a ton!