Problem getting a valid BT from minidump when ptrace is disabled

21 views
Skip to first unread message

Manav Soneja

unread,
Oct 26, 2024, 6:05:24 AM10/26/24
to Google Breakpad Discuss
Hi All,
I'm trying to get a BT from minidump when ptrace is disabled.
I am trying to generate the minidump using the core_handler.
https://chromium.googlesource.com/breakpad/breakpad/+/master/docs/linux_core_handler.md

I convert the the <minidump.md> file that I get to a core file using the minidump-2-core converter. However, when I try to load the core using gdb I just get this:
#0  0x000014ea955f0913 in ?? ()
[Current thread is 1 (LWP 58969)]
(gdb) bt
#0  0x000014ea955f0913 in ?? ()
#1  0xabababababababab in ?? ()
#2  0xabababababababab in ?? ()
#3  0xabababababababab in ?? ()
#4  0xabababababababab in ?? ()
#5  0xabababababababab in ?? ()

The same thing works without ptrace. I do get a legit BT when ptrace is enabled.

Do we need any extra config to ensure that we get a valid BT from minidump when ptrace is disabled?
If not, is there a way to get a valid minidump when ptrace is disabled?

Thanks and Regards,
Manav Soneja
Reply all
Reply to author
Forward
0 new messages