Open airfield20 opened 2 years ago
to reproduce:
#include "i3ipc++/ipc.hpp"
int main(){
i3ipc::connection conn;
auto tree = conn.get_tree()->nodes;
}
GDB reports it occuring in this function:
inline rect_t parse_rect_from_json(const Json::Value& value) {
return {
.x = value["x"].asInt(),
.y = value["y"].asInt(), //this line specifically
.width = value["width"].asUInt(),
.height = value["height"].asUInt(),
};
}
My system is ubuntu 20 running i3-gaps
It sounds like a really edgy case. Provide result of i3-msg -t get_tree
, if this can still be reproduced