UtkarshVerma / dwmblocks-async

An efficient, lean, and asynchronous status feed generator for dwm.
GNU General Public License v2.0
232 stars 87 forks source link

unknown signal dwmblocks #10

Closed apprehensions closed 2 years ago

apprehensions commented 2 years ago

to replicate: make dwm from source, patch statuscmd, launch dwmblocks-async, click, get hit with unknown signal. it doesn't even have to run a script! it can just be "echo hello" and it just died!

now i'm not sure if this can be replicated because this might be something wrong with my system. when using torrinfail/dwmblocks with the statuscmd patch in the README.md it won't work. using statuscmd patch from suckless.org works?

apprehensions commented 2 years ago

so in desperation i tried your build of dwm, and it worked? so i moved back to my own dwm build and now it works?! guess its just magic then

apprehensions commented 2 years ago

actually wait no its still there, from looking at strace here's what i got

clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=50000000}, {tv_sec=0, tv_nsec=27880739}) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
--- SIGRT_12 {si_signo=SIGRT_12, si_code=SI_QUEUE, si_pid=5879, si_uid=1000, si_int=1, si_ptr=0x1} ---
+++ killed by SIGRT_12 +++
zsh: unknown signal  strace dwmblocks
apprehensions commented 2 years ago

after trying dwm-flexipatch and bare dwm only with the latest statuscmd patch, it still doesn't work. might be something wrong with my system maybe(?)

apprehensions commented 2 years ago

i was running an old version, git pull and it's now fixed.