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

Coredump when using dpms #111

Open
desdic opened this issue Nov 22, 2023 · 2 comments
Open

Coredump when using dpms #111

desdic opened this issue Nov 22, 2023 · 2 comments

Comments

@desdic
Copy link

desdic commented Nov 22, 2023

so when the monitor does dpms and I wake it up swaylock-effects is crashed with

Stack trace of thread 17834:
#0  0x00007f3255a2caa9 wl_list_insert (libwayland-client.so.0 + 0x7aa9)
#1  0x00007f3255a2ece1 n/a (libwayland-client.so.0 + 0x9ce1)
#2  0x00007f3255a2ee31 wl_proxy_marshal_array_flags (libwayland-client.so.0 + 0x9e31)
#3  0x00007f3255a2fbda wl_proxy_marshal_flags (libwayland-client.so.0 + 0xabda)
#4  0x000055deaa510bcc n/a (swaylock + 0x8bcc)
#5  0x00007f32550d54f6 n/a (libffi.so.8 + 0x74f6)
#6  0x00007f32550d1f5e n/a (libffi.so.8 + 0x3f5e)
#7  0x00007f32550d4b73 ffi_call (libffi.so.8 + 0x6b73)
#8  0x00007f3255a2c645 n/a (libwayland-client.so.0 + 0x7645)
#9  0x00007f3255a2ce73 n/a (libwayland-client.so.0 + 0x7e73)
#10 0x00007f3255a2d13c wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x813c)
#11 0x00007f3255a2fcf0 wl_display_roundtrip_queue (libwayland-client.so.0 + 0xacf0)
#12 0x00007f32550d54f6 n/a (libffi.so.8 + 0x74f6)
#13 0x00007f32550d1f5e n/a (libffi.so.8 + 0x3f5e)
#14 0x00007f32550d4b73 ffi_call (libffi.so.8 + 0x6b73)
#15 0x00007f3255a2c645 n/a (libwayland-client.so.0 + 0x7645)
#16 0x00007f3255a2ce73 n/a (libwayland-client.so.0 + 0x7e73)
#17 0x00007f3255a2d13c wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x813c)
#18 0x000055deaa510995 n/a (swaylock + 0x8995)
#19 0x000055deaa510407 n/a (swaylock + 0x8407)
#20 0x000055deaa50e799 n/a (swaylock + 0x6799)
#21 0x00007f32557e3cd0 n/a (libc.so.6 + 0x27cd0)
#22 0x00007f32557e3d8a __libc_start_main (libc.so.6 + 0x27d8a)
#23 0x000055deaa50eba5 n/a (swaylock + 0x6ba5)
ELF object binary architecture: AMD x86-64
# swaylock -v
swaylock version 1.6-4
@manu0600
Copy link

I had something similar happening in hyprland when I turn off one of my external displays using dpms off: the display would do some sort of reboot and reconnect: when this happens while swaylock is active, on the second reboot of the screen, swaylock would crash with a red screen.
This only happened to me with one of my external monitors, not with the others which is strange. On my side I think the issue can be fixed with a debounce timeout on the dpms off command, which is not related to swaylock. I hope that this information could help you trobleshoot your issue

@jacobmichels
Copy link

@manu0600 do you mind popping into hyprwm/Hyprland#4134 and sharing your findings? Seems they're discussing a similar issue

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

No branches or pull requests

3 participants