Open romange opened 1 month ago
Also, there is this one: https://github.com/diamon/minicoredumper
Its library is licensed under https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html but it seems that LGPL allows us linking the library and keep the BUSD license we have in place.
Another caveat: we saw problems with using a piped /proc/sys/kernel/core_pattern
when a proactor thread crashes. In other words when a kill signal is sent to a ProactorXX
thread and not a "main" thread. We have not investigated it further.
The last one looks promising: https://tracingsummit.org/ts/2016/files/Ogness_minicoredumper.pdf
Corefiles are important so we could iterate and fix datarace/segfault bugs
Unfortunately with in-memory stores, linux-created corefiles can reach dozens, hundreds of gigabytes.
I would like to explore two alternatives:
These are the challenges I see with coredumpers:
The goal is to investigate what can be the simplest and the least intrusive way to integrate mini-coredumper into Dragonfly.