Metricbeat vsphere/virtualmachine crash #18996
Labels
bug
help wanted
Indicates that a maintainer wants help on an issue or pull request
Metricbeat
Metricbeat
Team:Integrations
Label for the Integrations team
For confirmed bugs, please report:
For some users the vSphere module is crashing randomly with:
These is the location of the invalid memory access (line 175):
beats/metricbeat/module/vsphere/virtualmachine/virtualmachine.go
Lines 167 to 175 in e3fcb7e
Looks to me like the access to
vm.Summary.Runtime.Host.Reference
should be done inside the!= nil
check in line 167. Alternatively the (debug) log message in 170 suggests that maybe processing should be terminated if.Host
is nil.The text was updated successfully, but these errors were encountered: