[minicoredumper] Invalid stack when all memory regions are dumped

Abhi Arjun abhiarjun at tutanota.com
Thu Jul 8 21:51:25 CEST 2021


Im the recept file, under maps section if only "[vdso]" is present  then I get proper stack in gdb. However if I add "*" to include all memory regions (that's my requirement), then stack becomes invalid/corrupted as shown below.  I just have main() function in the program. 

Am I missing something? Please let me know.
Included further details below. 
Regards,
Abhi

Core was generated by `./a.out'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fce6feb118b in ?? ()
(gdb) bt
#0  0x00007fce6feb118b in ?? ()
#1  0x730e358d48000001 in ?? ()
#2  0x18b58f3d8d480018 in ?? ()
#3  0x8d48000070bae800 in ?? ()
#4  0x01a4ba0018b0430d in ?? ()
#5  0x18727d358d480000 in ?? ()
#6  0x0018728a3d8d4800 in ?? ()
#7  0xc3894d0000709be8 in ?? ()
#8  0xfffffd3de9fa8949 in ?? ()
#9  0x894d5741fa1e0ff3 in ?? ()
#10 0x55544155415641cf in ?? ()
#11 0x48cb894853f58948 in ?? ()
#12 0x8b4400000098ec81 in ?? ()
#13 0x4450247c8948106e in ?? ()
#14 0x48000000d024a48b in ?? ()
#15 0x102444894c241489 in ?? ()
-------------------
$ cat generic.recept.json
{

{
    "stacks": {
        "dump_stacks": true,
        "first_thread_only": false,
        "max_stack_size": 0
    },
    "maps": {
        "dump_by_name": [
            "[vdso]",
            "*"
        ]
    },

root at guest-VirtualBox:/mnt/host# uname --all
Linux guest-VirtualBox 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linutronix.de/pipermail/minicoredumper/attachments/20210708/4c8ab47a/attachment.htm>


More information about the minicoredumper mailing list