Date: Wed, 6 Oct 2021 22:05:23 +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: <CAAdA2WNGZ0Urn=H3ZGCg_F9rv4HU%2BN3=f3Hy1%2B4nJRf-zEnxqg@mail.gmail.com> In-Reply-To: <CAM8r67BYOp4LNG_5sgwp%2Bgue2TU5uhebiOuLpzH3gd3c0gcMnQ@mail.gmail.com> References: <CAAdA2WPSfnbWLi3FZYmqONCYGg_7wgEObq8TzKbaY-cd8G13yw@mail.gmail.com> <CAM8r67AqEzfwf%2BXv-fLy-mjQ0RZ1zJjaiSk8r1gR7QcsM0cOYQ@mail.gmail.com> <CAAdA2WMuxCZnspfT9Xusw76039oS6s%2Bpj_UkSiB%2BfUjZ6cSFXg@mail.gmail.com> <CAM8r67BYOp4LNG_5sgwp%2Bgue2TU5uhebiOuLpzH3gd3c0gcMnQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000003f302805cdb3d69b Content-Type: text/plain; charset="UTF-8" On Wed, Oct 6, 2021 at 5:00 PM Tomasz CEDRO <tomek@cedro.info> wrote: > On Wed, Oct 6, 2021 at 11:46 AM Odhiambo Washington wrote: > > On Tue, Oct 5, 2021 at 11:35 PM Tomasz CEDRO 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? > > To read / analyze a core dump you need to use debugger anyway :-) > I know how to do that. How to analyze a coredump. Question is what you will do with the core dump file, if you want to > send it to someone for analysis then you do not need a debugger just > enable core dump and configure application so it dumps on crash,. That is the only thing I need help with. The rest I am capable of handling. > if you want to analyze coredump yourself then you will have to use > debugger anyway :-) > > Having a core dump is like having a "static" postmortem snapshot of > the application, you cannot do a lot except you perfectly know the > application internals already or you can guess what the problem is > based on backtrace from a generated core dump. > > Running application under debugger will bring you to the same point > except you are having control over live application, so you can see > where problem occurred, put a breakpoint in a problematic function, > restart application, then step by step track the problem cause leading > to fix that you can verify at hand straight away yourself :-) > > Its not that hard with open source and skillset comes handy in various > situations :-) > > Have fun! :-) > > Thanks for your time looking into this. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' :-) --0000000000003f302805cdb3d69b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WNGZ0Urn=H3ZGCg_F9rv4HU%2BN3=f3Hy1%2B4nJRf-zEnxqg>