Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Using network variables causes conky to crash #175

Closed
rbx opened this issue Nov 30, 2015 · 4 comments
Closed

Using network variables causes conky to crash #175

rbx opened this issue Nov 30, 2015 · 4 comments

Comments

@rbx
Copy link

rbx commented Nov 30, 2015

I've recently updated two systems from Xubuntu 15.04 to 15.10.
On one of them conky kept working fine as before, while on another it seems to crash immediately after the start.

On the system where it crashes I could narrow it down to several variables which cause it to crash.
These are:

downspeedf upspeedf addr upspeedgraph downspeedgraph totalup totaldown

Removing these from my config allows conky to run normally.

This must be something in my environment, since on the first machine everything works fine with these variables. But so far I was unable to narrow it down what is causing the crash.

Any ideas what is going wrong?

Conky version is 1.10.0 compiled Wed Jul 1 11:26:33 UTC 2015 for Linux 3.2.0-77-generic x86_64

@marcpayne
Copy link
Contributor

Hi @rbx, do you have ipv6 disabled on the machine that is crashing? Your issue might be related to #105, although your conditions seem to be a little different.

If any of your repos carry version 1.10.1, please try that first to see if it resolves your problem. If version 1.10.1 is not available to you, I recommend compiling conky from source. Several crashes and other bugs have been fixed since 1.10.0.

If your issue still exists after trying a more recent version, can you please provide a minimal working config that triggers the crash so I may try to reproduce it?

@rbx
Copy link
Author

rbx commented Dec 1, 2015

Using 1.10.1 with BUILD_IPV6=OFF (and BUILD_XDBE=ON) indeed eliminated the crashes. On the machine where it crashed ipv6 is not available.

There's just a little problem with this new version - it doesn't understand these two variables:

conky: unknown variable '$wireless_link_qual_perc'
conky: unknown variable '$wireless_link_bar'

Is this the consequence of compiling without ipv6?

@marcpayne
Copy link
Contributor

To enable the $wireless variables, you will have to set BUILD_WLAN=ON, since it is off by default.

Also, it shouldn't be necessary to compile with BUILD_IPV6=OFF anymore. Cmake will output a warning if ipv6 is not available on your machine, but it will continue to build (it used to abort).

Hope this helps!

@rbx
Copy link
Author

rbx commented Dec 2, 2015

With BUILD_WLAN=ON now everything works.

Thanks for the awesome tool!

@rbx rbx closed this as completed Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants