-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
sway crashes instantly (segmentation fault) #5686
Labels
bug
Not working as intended
Comments
Same here.
|
Same here, instant segfault |
The |
Emantor
added a commit
to Emantor/sway
that referenced
this issue
Sep 15, 2020
We can't arm the timer during cursor creation since the config may not be ready yet. Instead arm the timer while applying the input configuration, cursor_get_timeout() can now handle this even if the configuration is not ready yet: Return NULL in calls to seat_get_config*() if the config is not initialized yet. This is required since we try to retrieve the hide timeout from the cursor config, even if the config is not initialized. Return 0 if we can't find any input configuration. This is okay even if a timeout is configured, since the config will reapply the seat configuration after load and sets up the correct timer with the correct timeout. Fixes swaywm#5686
#5689 Fixes the segmentation fault, and arms the timeout of hide_cursor after login. |
Emantor
added a commit
to Emantor/sway
that referenced
this issue
Sep 15, 2020
We can't arm the timer during cursor creation since the config may not be ready yet. Instead arm the timer while applying the input configuration, cursor_get_timeout() can now handle this even if the configuration is not ready yet: Return NULL in calls to seat_get_config*() if the config is not initialized yet. This is required since we try to retrieve the hide timeout from the cursor config, even if the config is not initialized. Return 0 if we can't find any input configuration. This is okay even if a timeout is configured, since the config will reapply the seat configuration after load and sets up the correct timer with the correct timeout. Fixes swaywm#5686
Emantor
added a commit
to Emantor/sway
that referenced
this issue
Sep 16, 2020
We can't arm the timer during cursor creation since the config may not be ready yet. Instead arm the timer while applying the input configuration, by this time the configuration has been parsed and we can arm the hide timer. Fixes swaywm#5686
emersion
pushed a commit
that referenced
this issue
Sep 16, 2020
We can't arm the timer during cursor creation since the config may not be ready yet. Instead arm the timer while applying the input configuration, by this time the configuration has been parsed and we can arm the hide timer. Fixes #5686
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sway Version:
sway version 1.5-7aea4692 (Sep 15 2020, branch 'master')
Debug Log:
sway.log
Configuration File:
config
Stack Trace:
journalctl
coredump
Description:
Starting sway from tty, instantly crashes with segmentation fault.
The text was updated successfully, but these errors were encountered: