-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.4rc1, 5.2.0alpha3
-
None
-
Sprint 68 (Sep 2020)
-
0.25
Steps to reproduce:
- Create host (host001) with at least one SNMP interface
- Add discovery rule for that host
- type: Zabbix trapper
- key: disckey001
- Add host prototype (hostprototype{#DISC}) for that discovery rule
- Send discovery data and wait for the hosts to be discovered
bin/zabbix_sender -z localhost -p 10051 -s host001 -k disckey001 -o '{"data":[{"{#DISC}":"eth0"},{"{#DISC}":"eth1"}]}'
- Remove SNMP interface from host001
- Send discovery data again
bin/zabbix_sender -z localhost -p 10051 -s host001 -k disckey001 -o '{"data":[{"{#DISC}":"eth0"},{"{#DISC}":"eth1"}]}'
Result:
Server crash:
22091:20200916:174347.879 In lld_hosts_save() lld_host.c:2567:35: runtime error: member access within null pointer of type 'struct zbx_lld_interface_snmp_t' 22091:20200916:174347.880 Got signal [signal:11(SIGSEGV),reason:1,refaddr:0x30]. Crashing ...
- causes
-
ZBX-18399 Forbid user from deleting interface on parent host when there are discovered hosts with items that depend on that interface
- Closed