Comments (5)
@su8 Can you leave this running for a day or so?
conky.config = {
out_to_x=true,
out_to_console=false,
own_window=true,
own_window_transparent=true,
}
conky.text = [[
if_mpd_playing // ${if_mpd_playing}PLAYING${else}STOPPED${endif}
album // ${mpd_album}
artist // ${mpd_artist}
albumartist // ${mpd_albumartist}
bar // ${mpd_bar 10,100}
bitrate // ${mpd_bitrate}
date // ${mpd_date}
paused // ${mpd_elapsed}
file // ${mpd_file}
length // ${mpd_length}
name // ${mpd_name}
percent // ${mpd_percent}
random // ${mpd_random}
repeat // ${mpd_repeat}
smart // ${mpd_smart}
status // ${mpd_status}
title // ${mpd_title}
track // ${mpd_track}
vol // ${mpd_vol}
]]
I did that already and hadn't ran into a problem. I'm on Arch Linux x64 too just like this fellow.
EDIT: Invalid.${mpd_bar 0,100}
might be broken too.
from conky.
@lasers I left my pc on overnight and conky was running inside gdb all night and it didn't crashed.
from conky.
@su8 I ran this for several hours and we used almost all variables. Funny thing, I was able to test both old and new version because it updated few days ago archlinux/mpd Last Updated: 2018-08-08
and it didn't crash either. We can close this issue now. 😉
3 years 7 months passed. Thank you for the report. @rathsky 😍
from conky.
Do you still have this problem? Open a terminal. Run gdb conky
then (gdb) run -c ~/conky.conf
... wait for a crash to occur, then run (gdb) bt full
to print a backtrace. We want that backtrace. Thanks.
from conky.
conky: Unknown lua exception
terminate called after throwing an instance of 'lua::exception'
what(): Unknown lua exception
Thread 2 "conky" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffec313700 (LWP 27280)]
0x00007ffff4c0086b in raise () from /usr/lib/libc.so.6
(gdb) bt full
#0 0x00007ffff4c0086b in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007ffff4beb40e in abort () from /usr/lib/libc.so.6
No symbol table info available.
#2 0x00007ffff522744a in __gnu_cxx::__verbose_terminate_handler () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
terminating = true
t = <optimized out>
#3 0x00007ffff522d9d6 in __cxxabiv1::__terminate(void (*)()) () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:47
No locals.
#4 0x00007ffff522da13 in std::terminate () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:57
No locals.
#5 0x00007ffff522dc48 in __cxxabiv1::__cxa_throw (obj=obj@entry=0x7fffe4000dc0, tinfo=tinfo@entry=0x5555557fa148 <typeinfo for lua::exception>, dest=dest@entry=0x55555559e350 <lua::exception::~exception()>)
at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:95
globals = <optimized out>
header = 0x7fffe4000d40
#6 0x0000555555566710 in lua::state::call (this=0x555555848930, nargs=2, nresults=1, errfunc=0) at /usr/include/c++/8.1.1/ext/new_allocator.h:86
r = <optimized out>
#7 0x000055555559f302 in lua::state::gettable (this=this@entry=0x555555848930, index=<optimized out>) at /home/chris/src/conky/src/luamm.cc:379
No locals.
#8 0x000055555559f344 in lua::state::getfield (this=this@entry=0x555555848930, index=<optimized out>, index@entry=-1, k=<optimized out>) at /home/chris/src/conky/src/luamm.cc:358
No locals.
#9 0x0000555555571eba in conky::config_setting_template<unsigned int>::get (this=0x5555557fc520 <text_buffer_size>, l=...) at /usr/include/c++/8.1.1/bits/basic_string.h:2271
guard = {_M_device = @0x555555848930}
s = {L = 0x555555848930, n = 0}
#10 0x00005555555b42d3 in mpd_newReturnElement (value=0x7fffe401783c "2", name=0x7fffe4017832 "playlist") at /usr/include/c++/8.1.1/bits/unique_ptr.h:342
ret = 0x7fffe4000be0
ret = <optimized out>
#11 mpd_getNextReturnElement (connection=connection@entry=0x7fffe400fa00) at /home/chris/src/conky/src/libmpdclient.cc:655
output = <optimized out>
rt = <optimized out>
name = 0x7fffe4017832 "playlist"
value = 0x7fffe401783b " 2"
fds = {fds_bits = {32, 0 <repeats 15 times>}}
tv = {tv_sec = 0, tv_usec = 0}
tok = 0x7fffe401783b " 2"
readed = <optimized out>
bufferCheck = 0x7fffe4017832 "playlist"
err = <optimized out>
pos = <optimized out>
#12 0x00005555555b4a2b in mpd_getStatus (connection=0x7fffe400fa00) at /home/chris/src/conky/src/libmpdclient.cc:787
re = <optimized out>
status = 0x7fffe400f960
#13 0x00005555555b11a1 in (anonymous namespace)::mpd_cb::work() () at /home/chris/src/conky/src/mpd.cc:182
status = <optimized out>
entity = <optimized out>
mpd_info = {title = "", artist = "", albumartist = "", album = "", date = "", status = "", random = "", repeat = "", track = "", name = "", file = "", is_playing = 0, vol = 0, progress = 0, bitrate = 0, length = 0, elapsed = 0}
lock = <optimized out>
#14 0x00005555555a4524 in conky::priv::callback_base::start_routine() () at /home/chris/src/conky/src/update-cb.cc:128
No locals.
#15 0x00007ffff5258d4f in execute_native_thread_routine () at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
__t = std::unique_ptr<std::thread::_State> = {get() = 0x555555890430}
#16 0x00007ffff7bc1075 in start_thread () from /usr/lib/libpthread.so.0
No symbol table info available.
#17 0x00007ffff4cc253f in clone () from /usr/lib/libc.so.6
No symbol table info available.
(gdb)
from conky.
Related Issues (20)
- [Bug]: Conky picks up on "ERROR: Can't get value of subfeature temp3_max: I/O error" from sensors module HOT 1
- [Bug]: Problems building with 'ccmake ..' on MacOS HOT 10
- [Bug]: conky wont start with this config HOT 8
- [Bug]: cairo_xlib_surface_create call exposed to Lua breaks other GUIs
- [Bug]: Do not execute command HOT 1
- [Bug]: execbar
- [Bug]: Conky Failed to display open NVIDIA drivers
- [Bug]: segmentation fault on fresh boot HOT 3
- [Bug]: linux CPU values wrong unless config contains ${top *} because it doesn't detect /proc/stat format HOT 2
- [Bug]: ${image}s are drawn beneath backgrounds drawn with Cairo HOT 5
- [Bug]: general protection fault in liblua5.3.so.0.0.0 HOT 3
- [Bug] [3rd party]: #conky:frens.io unavailable HOT 10
- [Bug]: conky HTTP server hangs forever, cannot serve requests HOT 2
- [Bug]: Loading problem under Fedora 38 HOT 5
- Audacious Variables not being Recognized
- [Web] High CPU usage by LineChart component HOT 2
- [Bug]: goto is not behaving normally under wayland HOT 2
- [Bug]: Problem when I change font in Conky HOT 1
- [Bug]: Infinite loop on some X11 window managers HOT 3
- [Bug]: Execbar cannot access variables (w/o error) that Exec can, on startup. (Lua/Conky_Parse) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conky.