<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div>I bumped up stack size of minicoredumper by modifying main() of corestripper.c to 128MB. Still I see the issue. <br></div><div dir="auto"><br></div><div dir="auto">Pls note that, I have removed compression section from recept file completely, as I was seeing below errors while trying to decompress.<br></div><div dir="auto"><br></div><div dir="auto">debug.txt file is sane. I don't see any debugs recursively printed there.<br></div><div dir="auto">Regards,<br></div><div dir="auto">Abhi<br></div><div dir="auto"><br></div><div dir="auto">root# gzip -d core.tar.gz <br></div><div dir="auto">root# ls<br></div><div dir="auto">core core.tar debug.txt<br></div><div dir="auto">root# tar -xvf core.tar<br></div><div dir="auto">core<br></div><div dir="auto">tar: core: invalid sparse archive member<br></div><div dir="auto">tar: Exiting with failure status due to previous errors<br></div><div dir="auto"><br></div><div><br></div><div>Jul 19, 2021, 22:00 by abhiarjun@tutanota.com:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div><br></div><div dir="auto">Thanks for your reply. <br></div><div dir="auto">I just use a simple test program. Stack size is 8KB<br></div><div dir="auto">Regards,<br></div><div dir="auto">Abhi<br></div><div dir="auto"><br></div><div dir="auto">~/mini$ cat cd.c<br></div><div dir="auto">#include <stdio.h><br></div><div dir="auto">#include <stdlib.h><br></div><div dir="auto">#include <assert.h><br></div><div dir="auto"><br></div><div dir="auto">int main()<br></div><div dir="auto">{<br></div><div dir="auto"> int a=10;<br></div><div dir="auto"> printf("Test Program\n");<br></div><div dir="auto"> assert(0);<br></div><div dir="auto">}<br></div><div dir="auto">~/mini$ ulimit -a<br></div><div dir="auto">stack size (kbytes, -s) 8192<br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"> <br></div><div><br></div><div>-- <br></div><div>Sent with Tutanota, the secure & ad-free mailbox: <br></div><div>https://tutanota.com<br></div><div><br></div><div><br></div><div>Jul 19, 2021, 21:09 by john.ogness@linutronix.de:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>Hello Abhi Arjun,<br></div><div><br></div><div>On 2021-07-08, Abhi Arjun <abhiarjun@tutanota.com> wrote:<br></div><blockquote><div>Im the recept file, under maps section if only "[vdso]" is present<br></div><div>then I get proper stack in gdb. However if I add "*" to include all<br></div><div>memory regions (that's my requirement), then stack becomes<br></div><div>invalid/corrupted as shown below. I just have main() function in the<br></div><div>program.<br></div></blockquote><div><br></div><div>I could not reproduce the problem. When using a wildcard, the matching<br></div><div>function uses recursion. Maybe you are having stack space issues?<br></div><div><br></div><div>Can you provide an example program that causes this?<br></div><div><br></div><div>John Ogness<br></div></blockquote><div dir="auto"><br></div></blockquote><div dir="auto"><br></div> </body>
</html>