-
Incident report
-
Resolution: Fixed
-
Major
-
3.4.7
-
Mac OSX 10.13.3
-
Sprint 28, Sprint 29, Sprint 30
-
1
Steps to reproduce:
Configure the Log item to monitor a log file as follows:
log[/Library/FileMaker Server/Logs/Event.log,Warning]
The Zabbix Agent crashes every time this command is run.
Here is the crash log:
60483:20180226:145814.062 Starting Zabbix Agent [67x100.filemaker.com]. Zabbix 3.4.7 (revision 77720). 60483:20180226:145814.062 **** Enabled features **** 60483:20180226:145814.063 IPv6 support: YES 60483:20180226:145814.063 TLS support: YES 60483:20180226:145814.063 ************************** 60483:20180226:145814.063 using configuration file: /usr/local/etc/zabbix/zabbix_agentd.conf 60483:20180226:145814.065 agent #0 started [main process] 60484:20180226:145814.065 agent #1 started [collector] 60485:20180226:145814.066 agent #2 started [listener #1] 60486:20180226:145814.066 agent #3 started [listener #2] 60487:20180226:145814.067 agent #4 started [listener #3] 60488:20180226:145814.067 agent #5 started [active checks #1] 60488:20180226:145814.073 no active checks on server [17.184.100.87:10051]: host [67x100.filemaker.com] not monitored 60488:20180226:150014.218 Got signal [signal:11(SIGSEGV),reason:1,refaddr:0x42]. Crashing ... 60488:20180226:150014.218 ====== Fatal information: ====== 60488:20180226:150014.218 program counter not available for this architecture 60488:20180226:150014.219 === Registers: === 60488:20180226:150014.219 register dump not available for this architecture 60488:20180226:150014.219 === Backtrace: === 60488:20180226:150014.219 13: 0 zabbix_agentd 0x0000000103b73794 zbx_log_fatal_info + 168 60488:20180226:150014.219 12: 1 zabbix_agentd 0x0000000103b73bda fatal_signal_handler + 27 60488:20180226:150014.219 11: 2 libsystem_platform.dylib 0x00007fff68683f5a _sigtramp + 26 60488:20180226:150014.220 10: 3 libdyld.dylib 0x00007fff68402392 dyld_stub_binder + 282 60488:20180226:150014.220 9: 4 zabbix_agentd 0x0000000103b7000a regexp_sub + 117 60488:20180226:150014.220 8: 5 zabbix_agentd 0x0000000103b706d6 regexp_match_ex_regsub + 38 60488:20180226:150014.220 7: 6 zabbix_agentd 0x0000000103b70616 regexp_sub_ex + 578 60488:20180226:150014.220 6: 7 zabbix_agentd 0x0000000103b62e46 process_logrt + 6565 60488:20180226:150014.220 5: 8 zabbix_agentd 0x0000000103b5e28a active_checks_thread + 3278 60488:20180226:150014.221 4: 9 zabbix_agentd 0x0000000103b72b46 zbx_thread_start + 32 60488:20180226:150014.221 3: 10 zabbix_agentd 0x0000000103b649a0 MAIN_ZABBIX_ENTRY + 670 60488:20180226:150014.221 2: 11 zabbix_agentd 0x0000000103b7304d daemon_start + 441 60488:20180226:150014.221 1: 12 zabbix_agentd 0x0000000103b64f88 main + 869 60488:20180226:150014.221 0: 13 libdyld.dylib 0x00007fff68402115 start + 1 60488:20180226:150014.221 === Memory map: === 60488:20180226:150014.221 memory map not available for this platform 60488:20180226:150014.222 ================================ 60483:20180226:150014.222 One child process died (PID:60488,exitcode/signal:1). Exiting ... 60483:20180226:150014.223 cannot remove shared memory for collector: [22] Invalid argument 60483:20180226:150014.223 Zabbix Agent stopped. Zabbix 3.4.7 (revision 77720).
Side Notes:
- The crash only happens with log[], not with log.count[].
- If the regex field is left empty, the crash doesn't happen and the item works as expected.
- PCRE is installed on the Mac.