<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div>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. <br></div><div dir="auto"><br></div><div dir="auto">Am I missing something? Please let me know.<br></div><div dir="auto">Included further details below. <br></div><div dir="auto">Regards,<br></div><div dir="auto">Abhi<br></div><div dir="auto"><br></div><div dir="auto">Core was generated by `./a.out'.<br></div><div dir="auto">Program terminated with signal SIGABRT, Aborted.<br></div><div dir="auto">#0 0x00007fce6feb118b in ?? ()<br></div><div dir="auto">(gdb) bt<br></div><div dir="auto">#0 0x00007fce6feb118b in ?? ()<br></div><div dir="auto">#1 0x730e358d48000001 in ?? ()<br></div><div dir="auto">#2 0x18b58f3d8d480018 in ?? ()<br></div><div dir="auto">#3 0x8d48000070bae800 in ?? ()<br></div><div dir="auto">#4 0x01a4ba0018b0430d in ?? ()<br></div><div dir="auto">#5 0x18727d358d480000 in ?? ()<br></div><div dir="auto">#6 0x0018728a3d8d4800 in ?? ()<br></div><div dir="auto">#7 0xc3894d0000709be8 in ?? ()<br></div><div dir="auto">#8 0xfffffd3de9fa8949 in ?? ()<br></div><div dir="auto">#9 0x894d5741fa1e0ff3 in ?? ()<br></div><div dir="auto">#10 0x55544155415641cf in ?? ()<br></div><div dir="auto">#11 0x48cb894853f58948 in ?? ()<br></div><div dir="auto">#12 0x8b4400000098ec81 in ?? ()<br></div><div dir="auto">#13 0x4450247c8948106e in ?? ()<br></div><div dir="auto">#14 0x48000000d024a48b in ?? ()<br></div><div dir="auto">#15 0x102444894c241489 in ?? ()<br></div><div dir="auto">-------------------<br></div><div dir="auto">$ cat generic.recept.json<br></div><div dir="auto">{<br></div><div dir="auto"><br></div><div dir="auto">{<br></div><div dir="auto"> "stacks": {<br></div><div dir="auto"> "dump_stacks": true,<br></div><div dir="auto"> "first_thread_only": false,<br></div><div dir="auto"> "max_stack_size": 0<br></div><div dir="auto"> },<br></div><div dir="auto"> "maps": {<br></div><div dir="auto"> "dump_by_name": [<br></div><div dir="auto"> "[vdso]",<br></div><div dir="auto"> "*"<br></div><div dir="auto"> ]<br></div><div dir="auto"> },<br></div><div dir="auto"><br></div><div dir="auto">root@guest-VirtualBox:/mnt/host# uname --all<br></div><div dir="auto">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<br></div><div dir="auto"><br></div><div dir="auto"><br></div> </body>
</html>