sowm icon indicating copy to clipboard operation
sowm copied to clipboard

core dump

Open ronin49 opened this issue 3 years ago • 3 comments

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 avatar Dec 30 '22 17:12 ronin49

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

ronin49 avatar Dec 30 '22 22:12 ronin49

yeah it happens to me

ghost avatar Mar 10 '23 05:03 ghost

Not entirely sure how to make a patch, but it seems that the issue stems from here: https://github.com/dylanaraps/sowm/blob/f4cb48d7afeda195a73ff2bfdd3f85a016d53cec/sowm.c#L116

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

jamesbtan avatar Sep 10 '23 05:09 jamesbtan