Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

core dump #112

Open
ronin49 opened this issue Dec 30, 2022 · 3 comments · May be fixed by #116
Open

core dump #112

ronin49 opened this issue Dec 30, 2022 · 3 comments · May be fixed by #116

Comments

@ronin49
Copy link

ronin49 commented Dec 30, 2022

1.launch system
2.create one window(mod+enter)
3.close it(mod+q)
4.alt-tab
5.crash
for me this scenario can be easily repeated
so I think this is something with memory(pointers) can be wrong
I will mention that if you will skip 2 action crash will not appear
but once you create at least one window than don't try to alt-tab if you don't have windows
also it is in scope of one workspace trying alt-tab on new, empty workspaces won't cause crashes

BTW thanks for this cool wm(especially alt-tab functionality and rounded corners and center and fullscreen)

@ronin49
Copy link
Author

ronin49 commented Dec 30, 2022

BTW there is bud mentioned in readme and config as "wallpaper cycler" I searched, but cannot find it anywhere

@ghost
Copy link

ghost commented Mar 10, 2023

yeah it happens to me

@jamesbtan
Copy link

jamesbtan commented Sep 10, 2023

Not entirely sure how to make a patch, but it seems that the issue stems from here:

sowm/sowm.c

Line 116 in f4cb48d

if (x->prev == x) list = 0;

I replaced it with list = cur = 0, so that cur can properly be set to null

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants