Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

dzen2 segfaults when invoked from cron #48

Open
benalb opened this issue Jul 5, 2018 · 0 comments
Open

dzen2 segfaults when invoked from cron #48

benalb opened this issue Jul 5, 2018 · 0 comments

Comments

@benalb
Copy link

benalb commented Jul 5, 2018

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant