robm / dzen

Dzen is a general purpose messaging, notification and menuing program for X11.
MIT License
607 stars 81 forks source link

dzen2 segfaults when invoked from cron #48

Open benalb opened 6 years ago

benalb commented 6 years ago

benalb@t410 ~
dzen2 -v dzen-0.9.5-svn, (C)opyright 2007-2009 Robert Manea Enabled optional features: XFT XINERAMA

crontab -l 0 /4 export DISPLAY=:0 && echo "something something, something" | dzen2 -fg black -bg white -geometry 500x80 -p -e 'button1=exit'

While the same command in a terminal will work as expected, showing in the screen a white rectangle with the "something" text, and when clicked, disappears, when invoked by cron, it segfaults, thought it also shows the rectangle and respond to the click.

I managed to get a core dump and a backtrace with gdb: https://pastebin.com/qLHk4d1W