Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upSIGSEGV Segmentation fault while scrape deleted kubernetes endpoints #5172
Comments
This comment has been minimized.
This comment has been minimized.
|
Tried to reproduce but I couldn't make it crash... Did you reload the Prometheus process? |
This comment has been minimized.
This comment has been minimized.
|
Doesn't getting a segfault in Go mean either a bug in Go, memory corruption, or some bug in cgo libraries? But this crash seems to have happened in Go's HTTP client code, judging by the stack trace above? |
This comment has been minimized.
This comment has been minimized.
|
The stack trace show that the Lines 144 to 148 in e158c53 Lines 236 to 240 in e158c53 |
This comment has been minimized.
This comment has been minimized.
|
Ahh ok, because Go logs |
ferrandinand commentedFeb 1, 2019
Bug Report
What did you do?
We had some config to monitor some kubernetes endpoint but when some files and resources are deleted (e.g. certificate files) prometheus crashes.
What did you expect to see?
Capture and return errors during scrapping preventing prometheus crash.
What did you see instead? Under which circumstances?
When deleting kubernetes cluster and all files associated to that cluster.
Environment
System information:
linux 4.19.9-coreos
Prometheus version:
prometheus version=2.6.0
Prometheus configuration file: