<div dir="ltr"><div dir="ltr">On Tue, Jun 15, 2021 at 9:04 AM Ulrich Windl <<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de">Ulrich.Windl@rz.uni-regensburg.de</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>
<br>
I'm developing a program that dumps core on some failed assertions. I noticed that the core dumps are created in the user directory as vgcore.<PID>.</blockquote><div><br></div><div><div>This doesn't sound like a coredumpctl-managed core dump at all. In fact it sounds like the dump was created in userspace by Valgrind. (Systemd-managed core dumps would always go to /var/lib/systemd/coredump, not to the cwd.)<br></div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Where does the name vgcore come from?<br></blockquote><div><br></div><div>I used <a href="http://codesearch.debian.net">codesearch.debian.net</a> to track it down to valgrind's m_coredump component.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
And is it OK to remove just those files, or does coredumpctl store additional infos?<br></blockquote><div><br></div><div>Most likely coredumpctl doesn't have *any* information about this dump, since it didn't go through the kernel or systemd in the first place.</div><div><br></div><div>But in general, coredumpctl is fine with missing/removed coredump files -- that's part of the normal operation; actual dumps are cleaned out much faster than the corresponding journal entries. You'll probably already see some of them marked "missing" in the list.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>