Date: Tue, 24 Nov 2020 23:46:58 +0530 From: "bhargav M.P" <mpbhargav@gmail.com> To: freebsd-testing@freebsd.org Subject: Memory mapped region is not present in core dump Message-ID: <CADie3t7v69Q2boqdJa8YRhsHu2gn96bArPz9qcaeEBnkMCMCfQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
We have application software running on freebsd 10 and it has memory mapped region(mapped using mmap, used for IPC) and those addresses are not in the core file. Wierd thing is we don't see this when the core dump is collected using gcore and all the memory mapped region are present in the core file. But if the program crashes (seg fault or abort) the core dump doesn't contain memory mapped addresses. application software is NOT setting MAP_NOCORE when memory mapping. Why this behavior.?whats different when the core file collected when the program crashes.?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADie3t7v69Q2boqdJa8YRhsHu2gn96bArPz9qcaeEBnkMCMCfQ>