Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle null timers in destructors #350

Merged
merged 1 commit into from
May 26, 2024

Conversation

andresilva
Copy link
Contributor

@andresilva andresilva commented May 26, 2024

Fixes crash on unlock:

Stack trace of thread 28180:
#0  0x00007f90566a2efc __pthread_kill_implementation (libc.so.6 + 0x8fefc)
#1  0x00007f9056652e86 raise (libc.so.6 + 0x3fe86)
#2  0x00007f905663b9bf abort (libc.so.6 + 0x289bf)
#3  0x00000000004412cb _ZL20handleCriticalSignali (hyprlock + 0x412cb)
#4  0x00007f9056652f30 __restore_rt (libc.so.6 + 0x3ff30)
#5  0x0000000000439e60 _ZN6CTimer6cancelEv (hyprlock + 0x39e60)
#6  0x0000000000470d81 _ZN6CLabelD1Ev (hyprlock + 0x70d81)
#7  0x00000000004710e9 _ZN6CLabelD0Ev (hyprlock + 0x710e9)
#8  0x0000000000444562 _ZN9CRendererD1Ev (hyprlock + 0x44562)
#9  0x00000000004430ac _ZN9CHyprlock3runEv (hyprlock + 0x430ac)
#10 0x0000000000416529 main (hyprlock + 0x16529)
#11 0x00007f905663d10e __libc_start_call_main (libc.so.6 + 0x2a10e)
#12 0x00007f905663d1c9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a1c9)
#13 0x00000000004172e5 _start (hyprlock + 0x172e5)

@vaxerski vaxerski merged commit 768cd3e into hyprwm:main May 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants