-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
Random crash depending on locale settings #132
Comments
3 years passed. Can you determine if you're still having this problem today on If it's still hapening, run |
@su8 Yesterday, I tried this for few hours running both |
@lasers Valgrind trace is not useful in this case, you can close this issue. |
Closing this stale issue that occurred on Please comment if you're still having this problem on |
Sorry for the delay, I was on vacation. |
Hi,
I experience random crashes since I switched to conky 1.10 (Debian sid package).
It occurs a few seconds after start. I am not quite sure it is not related to #103 and #106, but it looks different.
I get no specific error message except:
conky: attempt to index a nil value
Exit 1
and gdb gives "No stack."
I investigated with valgrind, and got a bunch of:
==11981== Invalid read of size 1
==11981== at 0x8147260: __GI_strcmp (strcmp.S:180)
==11981== by 0x80F3ECA: nl_load_locale_from_archive (loadarchive.c:161)
==11981== by 0x80F32B1: nl_find_locale (findlocale.c:154)
==11981== by 0x80F2BF2: setlocale (setlocale.c:417)
==11981== by 0x46CAB0: fscanf_no_i18n(IO_FILE, char const, ...) (in /usr/bin/conky)
==11981== by 0x46CB16: update_load_average() (in /usr/bin/conky)
==11981== by 0x46A776: conky::priv::callback_base::start_routine() (in /usr/bin/conky)
==11981== by 0x7930DEF: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
==11981== by 0x4E3D0A3: start_thread (pthread_create.c:309)
==11981== by 0x81AD07C: clone (clone.S:111)
==11981== Address 0xfad0e40 is 0 bytes inside a block of size 6 free'd
==11981== at 0x4C29E90: free (vg_replace_malloc.c:473)
==11981== by 0x80F2C82: setname (setlocale.c:201)
==11981== by 0x80F2C82: setlocale (setlocale.c:455)
==11981== by 0x46CA6D: fscanf_no_i18n(IO_FILE, char const, ...) (in /usr/bin/conky)
==11981== by 0x46CB16: update_load_average() (in /usr/bin/conky)
==11981== by 0x46A776: conky::priv::callback_base::start_routine() (in /usr/bin/conky)
==11981== by 0x7930DEF: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
==11981== by 0x4E3D0A3: start_thread (pthread_create.c:309)
==11981== by 0x81AD07C: clone (clone.S:111)
Since it seems related to locales, I tried with LC_ALL=C. No more errors detected by valgrind, no crash. I tried again with LC_ALL=fr_FR, lots of errors in valgrind, crash.
So there is definitely a problem that appears only when changing locales.
The text was updated successfully, but these errors were encountered: