Icinga2 crashed with SEGV_ACCERR
Since version 2.8.2 there are bigger problems when using the API of
Icinga2.
The process crashes with the error message’xxxx’.
I have started several attempts to get a usable debug output, but failed
again and again.
I have summarized my previous results in 2 gists:
https://gist.github.com/bodsch/16d6c96b8dfa6aa48c59eb9599edacef
https://gist.github.com/bodsch/a55bae4347906a3760067ba45626770b
Version 2.8.2 was not available in the community repository at that
time, I built it myself.
However, the current version 2.9.x also shows this problem.
One of Icinga’s developers helped me to detect the problem.
Quotes:
“If you google for ”alpine linux SEGV_ACCERR“, you can find other tools
having the same problem though. Even Golang itself has had troubles with
libmusl somehow using hardening.
https://github.com/golang/go/issues/14851”
and
“The Alpine toolchain enables PIE by default. Since the go linker does
not (yet) support PIE we need to explicitly disable it on Alpine.”
Their solution was a ‘-fno-PIC’ during build.
I would very much like to deliver a core dump, but I haven’t made it
here yet.
If I can, I will provide all the information that is still needed.
Best regards,
Bodo
(from redmine: issue id 9136, created on 2018-07-26)