When running an eiger with #93 applied, the Odin frame receiver crashes when the detector is triggered. It gives the following error, suggesting it is not happy with the JSON headers:
[vid18871@diamrl6120-linux ~]$ podman logs bl03s-eiger-fr1
log4cxx: Cannot get information about host: graylog2.diamond.ac.uk:12211
log4cxx: Could not find graylog2.diamond.ac.uk:12211. All logging will FAIL.
log4cxx: Cannot get information about host: graylog2.diamond.ac.uk:12211
/build/odin-data/frameReceiver/src/FrameReceiverApp.cpp:334:
09:00:36,497 FR.App INFO - frameReceiver version 1-7-0dls2 starting up
/build/odin-data/frameReceiver/src/FrameReceiverController.cpp:541:
09:00:36,499 FR.Controller INFO - No frame decoder loaded: type not specified
/build/odin-data/frameReceiver/src/FrameReceiverController.cpp:651:
09:00:36,499 FR.Controller INFO - Shared frame buffer manager not configured as no frame decoder configured
/build/odin-data/frameReceiver/src/FrameReceiverController.cpp:735:
09:00:36,499 FR.Controller INFO - RX thread not configured as frame decoder and/or buffer manager configured
/build/odin-data/frameReceiver/src/FrameReceiverController.cpp:493:
09:00:36,499 FR.Controller INFO - Loading decoder plugin EigerFrameDecoder from /usr/local/lib/libEigerFrameDecoder.so
/build/odin-data/frameReceiver/src/FrameReceiverController.cpp:512:
09:00:36,501 FR.Controller INFO - Created EigerFrameDecoder frame decoder instance
/build/eiger-detector/data/frameReceiver/src/EigerFrameDecoder.cpp:50:
09:00:36,501 FR.EigerFrameDecoder INFO - Eiger frame decoder init called
terminate called after throwing an instance of 'OdinData::IpcMessageException'
what(): rapidjson assertion thrown
Caught signal 6 (SIGABRT)
stack trace:
frameReceiver(_ZN8OdinData17print_stack_traceEP8_IO_FILEj+0xca)[0x464ba8]
frameReceiver(_ZN8OdinData13abort_handlerEiP9siginfo_tPv+0xc6)[0x464cd6]
/lib64/libpthread.so.0(+0xf630)[0x7f1d65f46630]
/lib64/libc.so.6(gsignal+0x37)[0x7f1d64202387]
/lib64/libc.so.6(abort+0x148)[0x7f1d64203a78]
/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x165)[0x7f1d64b12a95]
/lib64/libstdc++.so.6(+0x5ea06)[0x7f1d64b10a06]
/lib64/libstdc++.so.6(+0x5ea33)[0x7f1d64b10a33]
/lib64/libstdc++.so.6(+0x5ec53)[0x7f1d64b10c53]
/usr/local/lib/libOdinData.so(_ZNK9rapidjson12GenericValueINS_4UTF8IcEENS_19MemoryPoolAllocatorINS_12CrtAllocatorEEEE8GetInt64Ev+0x96)[0x7f1d66f8aa04]
/usr/local/lib/libEigerFrameDecoder.so(_ZN13FrameReceiver17EigerFrameDecoder21process_image_messageEm+0x65f)[0x7f1d5ae88835]
/usr/local/lib/libEigerFrameDecoder.so(_ZN13FrameReceiver17EigerFrameDecoder15process_messageEm+0xd20)[0x7f1d5ae8737c]
frameReceiver(_ZN13FrameReceiver24FrameReceiverZMQRxThread21handle_receive_socketEv+0x199)[0x4ace9b]
frameReceiver(_ZNK5boost4_mfi3mf0IvN13FrameReceiver24FrameReceiverZMQRxThreadEEclEPS3_+0x65)[0x4ae5a5]
frameReceiver(_ZN5boost3_bi5list1INS0_5valueIPN13FrameReceiver24FrameReceiverZMQRxThreadEEEEclINS_4_mfi3mf0IvS4_EENS0_5list0EEEvNS0_4typeIvEERT_RT0_i+0x4a)[0x4ae39a]
frameReceiver(_ZN5boost3_bi6bind_tIvNS_4_mfi3mf0IvN13FrameReceiver24FrameReceiverZMQRxThreadEEENS0_5list1INS0_5valueIPS5_EEEEEclEv+0x39)[0x4ae2ab]
frameReceiver(_ZN5boost6detail8function26void_function_obj_invoker0INS_3_bi6bind_tIvNS_4_mfi3mf0IvN13FrameReceiver24FrameReceiverZMQRxThreadEEENS3_5list1INS3_5valueIPS8_EEEEEEvE6invokeERNS1_15function_bufferE+0x20)[0x4ae1fd]
/usr/local/lib/libOdinData.so(_ZNK5boost9function0IvEclEv+0x52)[0x7f1d66fa9b46]
/usr/local/lib/libOdinData.so(_ZN8OdinData10IpcReactor3runEv+0x13c)[0x7f1d66fa7228]
frameReceiver(_ZN13FrameReceiver21FrameReceiverRxThread11run_serviceEv+0x5f7)[0x4a1a33]
frameReceiver(_ZNK5boost4_mfi3mf0IvN13FrameReceiver21FrameReceiverRxThreadEEclEPS3_+0x65)[0x4a905f]
frameReceiver(_ZN5boost3_bi5list1INS0_5valueIPN13FrameReceiver21FrameReceiverRxThreadEEEEclINS_4_mfi3mf0IvS4_EENS0_5list0EEEvNS0_4typeIvEERT_RT0_i+0x4a)[0x4a8b64]
frameReceiver(_ZN5boost3_bi6bind_tIvNS_4_mfi3mf0IvN13FrameReceiver21FrameReceiverRxThreadEEENS0_5list1INS0_5valueIPS5_EEEEEclEv+0x39)[0x4a86e7]
frameReceiver(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf0IvN13FrameReceiver21FrameReceiverRxThreadEEENS2_5list1INS2_5valueIPS7_EEEEEEE3runEv+0x1e)[0x4a95d8]
/lib64/libboost_thread-mt.so.1.53.0(+0xd25a)[0x7f1d6616025a]
/lib64/libpthread.so.0(+0x7ea5)[0x7f1d65f3eea5]
/lib64/libc.so.6(clone+0x6d)[0x7f1d642cab0d]
/build/odin-data/frameReceiver/src/FrameReceiverApp.cpp:400:
09:01:50,676 FR.App ERROR - Frame receiver run failed: IpcReactor error while polling: Context was terminated
/build/odin-data/frameReceiver/src/FrameReceiverApp.cpp:411:
09:01:50,677 FR.App INFO - Frame receiver stopped
Caught signal 11 (SIGSEGV)
stack trace:
frameReceiver(_ZN8OdinData17print_stack_traceEP8_IO_FILEj+0xca)[0x464ba8]
frameReceiver(_ZN8OdinData13abort_handlerEiP9siginfo_tPv+0xc6)[0x464cd6]
/lib64/libpthread.so.0(+0xf630)[0x7f1d65f46630]
/lib64/libapr-1.so.0(apr_pool_create_ex+0xa9)[0x7f1d615ea629]
/lib64/liblog4cxx.so.10(_ZN7log4cxx7helpers4PoolC1Ev+0x28)[0x7f1d65579808]
/lib64/liblog4cxx.so.10(_ZN7log4cxx7helpers11IOException13formatMessageEi+0x3a)[0x7f1d65535c5a]
/lib64/liblog4cxx.so.10(_ZN7log4cxx7helpers11IOExceptionC1Ei+0x26)[0x7f1d65535ce6]
/lib64/liblog4cxx.so.10(_ZN7log4cxx7helpers15SocketExceptionC2Ei+0x9)[0x7f1d65536949]
/lib64/liblog4cxx.so.10(_ZN7log4cxx7helpers14DatagramSocket5closeEv+0x4a)[0x7f1d65524aca]
/lib64/liblog4cxx.so.10(_ZN7log4cxx7helpers14DatagramSocketD1Ev+0x1c)[0x7f1d65524c1c]
/lib64/liblog4cxx.so.10(_ZN7log4cxx7helpers14DatagramSocketD0Ev+0x9)[0x7f1d65524d49]
/lib64/liblog4cxx.so.10(_ZN7log4cxx3net14SyslogAppender5closeEv+0x47)[0x7f1d6559c0b7]
/lib64/liblog4cxx.so.10(_ZN7log4cxx3net14SyslogAppenderD1Ev+0x3e)[0x7f1d6559c26e]
/lib64/liblog4cxx.so.10(_ZN7log4cxx3net14SyslogAppenderD0Ev+0x9)[0x7f1d6559c609]
/lib64/liblog4cxx.so.10(_ZN7log4cxx7helpers10ObjectPtrTINS_8AppenderEED1Ev+0x2d)[0x7f1d6551055d]
/lib64/liblog4cxx.so.10(_ZN7log4cxx7helpers22AppenderAttachableImplD0Ev+0x48)[0x7f1d65510808]
/lib64/liblog4cxx.so.10(_ZN7log4cxx6LoggerD1Ev+0x5c)[0x7f1d6555860c]
/lib64/liblog4cxx.so.10(_ZN7log4cxx6LoggerD0Ev+0x9)[0x7f1d655587f9]
/lib64/liblog4cxx.so.10(_ZN7log4cxx6LoggerD1Ev+0xaa)[0x7f1d6555865a]
/lib64/liblog4cxx.so.10(_ZN7log4cxx6LoggerD0Ev+0x9)[0x7f1d655587f9]
frameReceiver(_ZN7log4cxx7helpers10ObjectPtrTINS_6LoggerEED2Ev+0x44)[0x472082]
frameReceiver(_ZN13FrameReceiver16FrameReceiverAppD2Ev+0x45)[0x465171]
frameReceiver(main+0xc0)[0x46a40f]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f1d641ee555]
frameReceiver[0x464a19]
When running an eiger with #93 applied, the Odin frame receiver crashes when the detector is triggered. It gives the following error, suggesting it is not happy with the JSON headers: