-
Documentation task
-
Resolution: Fixed
-
Critical
-
4.0.4
-
None
-
Ubuntu 18.04.2
-
Sprint 49 (Feb 2019), Sprint 50 (Mar 2019), Sprint 51 (Apr 2019)
-
0.25
Steps to reproduce:
- Create a new "text" data type and get the attached file (this would be the parent item)
- Configure a dependent item and set "preprocessing" to "regular expression"
- Input the following regular expression: 'node2(.|\n)*?rollupStatus": "(.*)"\n'
- Configure the output to be '\2'
Result:
As soon as data is received from a proxy by the server, it crashes (due to one of child processes crashing)
Logs show:
392:20190222:110914.069 server #33 started [preprocessing worker #3] 390:20190222:110914.145 server #31 started [preprocessing worker #1] 391:20190222:110914.146 server #32 started [preprocessing worker #2] 350:20190222:110916.458 One child process died (PID:392,exitcode/signal:11). Exiting ... zabbix_server [350]: Error waiting for process with PID 392: [10] No child processes 350:20190222:110916.512 syncing history data... 350:20190222:110918.675 syncing history data... 100.000000% 350:20190222:110918.675 syncing history data done 350:20190222:110918.675 syncing trend data... 350:20190222:110921.382 syncing trend data done 350:20190222:110921.383 Zabbix Server stopped. Zabbix 4.0.4 (revision 89349).
Expected:
Zabbix server properly handles the valid PCRE regex for preprocessing and does not crash