IRATI / stack

RINA implementation for OS/Linux
http://irati.github.io/stack
73 stars 39 forks source link

JSON error crash IPCM without trace #1378

Open fdgonthier opened 2 years ago

fdgonthier commented 2 years ago

IPCM crashes loudly in case of JSON error in one of the configuration files. There is no trace of this crash in the logfile.

2104(1662744389)#ipcm (DBG): Config file is: /home/vagrant/irati-config/eth.rina/ipcmanager.conf
2104(1662744389)#librina.timer (DBG): Timer with ID -1381158576 started
2104(1662744389)#ipcm (DBG): Child IPC Process Daemon 2106 died, removed from process table
2104(1662744389)#ipcm (DBG): Child IPC Process Daemon 2110 died, removed from process table
2104(1662744389)#ipcm (ERR): logPath=/var/log/rina/eth
2104(1662744389)#ipcm (ERR): consoleSocket=/var/run/rina/ipcm.sock
2104(1662744389)#ipcm (ERR): grpcSocket=/var/run/rina/ipcm-grpc.sock
2104(1662744389)#librina.logs (DBG): New log level: debug
ipcm: jsoncpp/json_value.cpp:1065: const Json::Value& Json::Value::operator[](const char*) const: Assertion `type_ == nullValue || type_ == objectValue' failed.
Aborted