ubuntu系统,自己编译的程序,使用自带的modbus-tcp协议。
接入23个设备时候,突然报错。后台neuron卡死,无法再启动。./neuron --log报错如下:
AddressSanitizer:DEADLYSIGNAL
==15469==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000410 (pc 0x7faf83b3ce33 bp 0x7ffd543c68b0 sp 0x7ffd543c6770 T0)
==15469==The signal is caused by a WRITE memory access.
==15469==Hint: address points to the zero page.
#0 0x7faf83b3ce32 in zlog_level_switch /usr/zlog/src/zlog.c:616
#1 0x55e9d5bbcee7 in main /usr/neuron2.6.3/neuron/src/main.c:186
#2 0x7faf8393a082 in __libc_start_main …/csu/libc-start.c:308
#3 0x55e9d5bbbfdd in _start (/usr/neuron2.6.3/neuron/build/neuron+0x54fdd)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /usr/zlog/src/zlog.c:616 in zlog_level_switch
==15469==ABORTING