dreamcat4 / skippy-xd

A full-screen Exposé-style standalone task switcher for X11.
GNU General Public License v2.0
100 stars 12 forks source link

Daemon crashes(Segmentation fault) #43

Closed cezaris13 closed 1 year ago

cezaris13 commented 1 year ago

System Info:

Kernel: 6.1.12-arch1-1 
WM: dwm

I recently updated skippy-xd package (great work!), animation feature looks really nice, but I found out that running the command: skippy-xd --start-daemon returns: image

By checking the commits, found that after https://github.com/dreamcat4/skippy-xd/commit/90509426c78b636f28fe40585077bc79b935635c commit the segmentation fault problem occurs.

I'll try to look into this problem, if I have some time.

dreamcat4 commented 1 year ago

thanks so much for your bug report!

i am aware that felix is still working in this general area (deamon mode). It's some new code of his - maybe trying to access a struct member behind a pointer of something similar (for example if the -> item being pointed to is NULL instead of actually valid allocated memory). Things like this.

Thanks so much for tracking down the commit! Please feel free if you get the inclination, otherwise maybe @felixfung about it. And hopefully one of us can git it fixed sometime soon.

felixfung commented 1 year ago

Thanks for the bug report.

Commit https://github.com/dreamcat4/skippy-xd/pull/41/commits/aac46173e657d3d831e8a8957bc990436642e9d6 from should fix it.

Please feel free to create new PR and merge this commit.

dreamcat4 commented 1 year ago

closed by commit 61f979b