Date: Wed, 6 Oct 2021 12:45:47 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: Tomasz CEDRO <tomek@cedro.info> Cc: questions <questions@freebsd.org> Subject: Re: How do I get a coredump file from an application? Message-ID: <CAAdA2WMuxCZnspfT9Xusw76039oS6s%2Bpj_UkSiB%2BfUjZ6cSFXg@mail.gmail.com> In-Reply-To: <CAM8r67AqEzfwf%2BXv-fLy-mjQ0RZ1zJjaiSk8r1gR7QcsM0cOYQ@mail.gmail.com> References: <CAAdA2WPSfnbWLi3FZYmqONCYGg_7wgEObq8TzKbaY-cd8G13yw@mail.gmail.com> <CAM8r67AqEzfwf%2BXv-fLy-mjQ0RZ1zJjaiSk8r1gR7QcsM0cOYQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000012d7aa05cdac05f9 Content-Type: text/plain; charset="UTF-8" On Tue, Oct 5, 2021 at 11:35 PM Tomasz CEDRO <tomek@cedro.info> wrote: > On Mon, Oct 4, 2021 at 9:45 AM Odhiambo Washington wrote: > > I have my MTA (Exim) crushing, with the following message in its > panic.log: > > (...) > > I need to obtain a coredump file from the crashing process for debugging > > purposes. > > Have you tried running your application under gdb / lldb? Nope. Seems rather involving, no? > That may help you tracing the problem on a live application, you can > backtrace > after crash to see where problem occurred, you can set breakpoint > before problem happens and step by step see why problem occurs, just > remember to compile application in debug mode with debug symbols > enabled so you will trace source code not the assembly :-) > > Here is some stuff that may help: > > https://forums.freebsd.org/threads/how-to-enable-system-daemons-core-dumps.76500/ > > https://www.freebsd.org/cgi/man.cgi?query=dtrace&sektion=1&manpath=freebsd-release-ports > > https://www.freebsd.org/cgi/man.cgi?query=core&sektion=5&manpath=freebsd-release-ports > https://wiki.freebsd.org/lldb > https://www.gnu.org/software/gdb/documentation/ > https://www.cs.umd.edu/~srhuang/teaching/cmsc212/gdb-tutorial-handout.pdf Thanks. I have gone through these, bar for the lldb option. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' :-) --00000000000012d7aa05cdac05f9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WMuxCZnspfT9Xusw76039oS6s%2Bpj_UkSiB%2BfUjZ6cSFXg>