[minicoredumper] Infinite loop while executing read_remote
Jos Hulzink (Ellips B.V.)
jos.hulzink at ellips.com
Tue Aug 3 17:04:02 CEST 2021
Hello,
We run into the following issue when using the minicoredumper: Sometimes, minicoredumper fills /var/log completely when processing a crashed process with the following messages:
<snip>
4 Jul 9 08:54:14 TrueSort minicoredumper: recept: /etc/minicoredumper/generic.recept.json
5 Jul 9 08:54:14 TrueSort minicoredumper: dump: auxv phdrs: 560 bytes @ 0x400040
6 Jul 9 08:54:14 TrueSort minicoredumper: read_remote failed: len=4, addr=0x2094c80, dest=0xf47c6fc, errno="Success"
7 Jul 9 08:54:14 TrueSort minicoredumper: read_remote failed: len=4, addr=0x2094c90, dest=0xf47c6fc, errno="Success"
8 Jul 9 08:54:14 TrueSort minicoredumper: read_remote failed: len=4, addr=0x2094ca0, dest=0xf47c6fc, errno="Success"
9 Jul 9 08:54:14 TrueSort minicoredumper: read_remote failed: len=4, addr=0x2094cb0, dest=0xf47c6fc, errno="Success"
10 Jul 9 08:54:14 TrueSort minicoredumper: read_remote failed: len=4, addr=0x2094cc0, dest=0xf47c6fc, errno="Success"
11 Jul 9 08:54:14 TrueSort minicoredumper: read_remote failed: len=4, addr=0x2094cd0, dest=0xf47c6fc, errno="Success"
<continue until disk full>
Note the increments in the addr field, and the errno="Succes" is a classic :)
Unfortunately we can't come up with an easy way to reproduce this issue. Also we can't share the original application easily since it requires multiple servers to start.
When it happens the system becomes unusable since minicoredumper keeps on running, and syslogd keeps filling the disk.
It would be great if we can at least get minicoredumper to quit with an error message, instead of looping forever... Any ideas what goes wrong here ?
Kind regards,
Jos Hulzink, Ellips
More information about the minicoredumper
mailing list