Waybar: WayBar randomly crashes
Hey guys, so I recently installed sway on my new Fedora 30 machine with waybar. And I have been experiencing quite a lot of crashes, I was wondering if this is a problem on my side or something els.
Thanks GeoDerp
The common crash note:
/usr/include/c++/9/bits/stl_stack.h:200: std::stack<_Tp, _Sequence>::reference std::stack<_Tp, _Sequence>::top() [with _Tp = Json::Value*; _Sequence = std::deque<Json::Value*, std::allocator<Json::Value*> >; std::stack<_Tp, _Sequence>::reference = Json::Value*&]: Assertion '__builtin_expect(!this->empty(), true)' failed.
Aborted (core dumped)
Other crash notes:
* Line 1, Column 21
Missing ',' or ']' in array declaration
Workspaces: in Json::Value::resolveReference(key, end): requires objectValue
/usr/include/c++/9/bits/stl_stack.h:200: std::stack<_Tp, _Sequence>::reference std::stack<_Tp, _Sequence>::top() [with _Tp = Json::Value*; _Sequence = std::deque<Json::Value*, std::allocator<Json::Value*> >; std::stack<_Tp, _Sequence>::reference = Json::Value*&]: Assertion '__builtin_expect(!this->empty(), true)' failed.
Workspaces: * Line 1, Column 2
Missing ':' after object member name
* Line 1, Column 24
Syntax error: value, object or array expect
ed.
double free or corruption (out)
Aborted (core dumped)
From gdb:
Disabling module "backlight", No backlight found
Disabling module "battery", No batteries.
Disabling module "battery#bat2", No battery named BAT2
[New Thread 0x7fffaaffd700 (LWP 28544)]
[Thread 0x7fffe7b79700 (LWP 28514) exited]
/usr/include/c++/9/bits/stl_stack.h:200: std::stack<_Tp, _Sequence>::reference std::stack<_Tp, _Sequence>::top() [with _Tp = Json::Value*; _Sequence = std::deque<Json::Value*, std::allocator<Json::Value*> >; std::stack<_Tp, _Sequence>::reference = Json::Value*&]: Assertion '__builtin_expect(!this->empty(), true)' failed.
Thread 6 "waybar" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe5fe1700 (LWP 28517)]
0x00007ffff6531eb5 in raise () from /lib64/libc.so.6
WayBar version:
Waybar v0.6.0
My WayBar conf’s:
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 21 (9 by maintainers)
Fixed (on my side) with aa385e28b6c2c6e8e261b6b108f3635e86796b01 I’m not a big fan of the fix but it works. Tell me if it’s not fixed for you.
hahaha, aaaaaaah, sorry it’s been a long day. I’m currently using the 0.6.3 tag but ill compile the master into a rpm and try that… Tomorrow 😉