From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 228BC384A8AD; Fri, 10 Sep 2021 19:40:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 228BC384A8AD From: "mehmetgelisin at aol dot com" To: gdb-prs@sourceware.org Subject: [Bug backtrace/27147] [GNU/Linux, sparc64] GDB is unable to print full stack trace (got "previous frame inner to this frame" errors) Date: Fri, 10 Sep 2021 19:40:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: backtrace X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mehmetgelisin at aol dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 10.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2021 19:40:39 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27147 Mehmet gelisin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mehmetgelisin at aol dot c= om --- Comment #25 from Mehmet gelisin --- outputs/gdb.fortran/function-calls/function-calls \ -ex "break 241" \ -ex "run" \ -ex "p c_nd" \ http://www-look-4.com/ -ex "p derived_types_and_module_calls::pass_cart_nd(c_nd)" +break 241 Breakpoint 1 at 0x4018bc: file function-calls.f90, line 241. +run (2.09999990,3.29999995) http://www.compilatori.com/ 4 5 23 (2.09999990,3.29999995) 3.40000010 http://www.wearelondonmade.com/ 6 Breakpoint 1, function_calls () at function-calls.f90:241 241 deallocate(c_nd%d) ! post_init http://www.jopspeech.com/ +p c_nd Cannot access memory at address 0x4 +p derived_types_and_module_calls::pass_cart_nd(c_nd) http://joerg.li/ Program received signal SIGSEGV, Segmentation fault.=20 0x0000000000400f93 in derived_types_and_module_calls::pass_cart_nd (c=3D) at http://connstr.n= et/=20 /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.fortran/function-calls= .f90:130 http://embermanchester.uk/=20 130 pass_cart_nd =3D ubound(c%d,1,4) The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. http://www.slipstone.co.uk/=20 To change this behavior use "set unwindonsignal on". Evaluation of the expression containing the function (derived_types_and_module_calls::pass_cart_nd) will be abandoned. http://www.logoarts.co.uk/=20 5b6d1e4fa4fc: $ ./binutils-gdb/gdb/gdb --data-directory binutils-gdb/gdb/data-directory -batch a.out -ex "b puts" -ex "r" -ex "bt" Breakpoint 1 at 0x1021a0 http://www.acpirateradio.co.uk/=20 Breakpoint 1, 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #0 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #1 0x000007feffdee2d9 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) At 5b6d1e4fa4fc^: https://waytowhatsnext.com/ ./binutils-gdb/gdb/gdb --data-directory binutils-gdb/gdb/data-directory -ba= tch a.out -ex "b puts" -ex "r" -ex "bt" Breakpoint 1 at 0x1021a0 Breakpoint 1, 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 https://www.webb-dev.co.uk/=20 #0 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #1 0x00000100000007f8 in hello () at test.c:4 #2 0x0000010000000810 in main () at test.c:8 http://www.iu-bloomington.com/=20 Since this is a 9 -> 10 regression, I'll mark it with the 10.2 milestone. I don't plan to look more into it at the moment. Note: I tried to generate a core file, to be able to analyze further on my local machine, but I wasn't able to load it. GDB doesn't find the 5b6d1e4fa4fc: $ ./binutils-gdb/gdb/gdb --data-directory binutils-gdb/gdb/data-directory -batch a.out -ex "b puts" -ex "r" -ex "bt" Breakpoint 1 at 0x1021a0=20 Breakpoint 1, 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #0 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #1 0x000007feffdee2d9 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) At 5b6d1e4fa4fc^: https://komiya-dental.com/ ./binutils-gdb/gdb/gdb --data-directory binutils-gdb/gdb/data-directory -ba= tch a.out -ex "b puts" -ex "r" -ex "bt" Breakpoint 1 at 0x1021a0 Breakpoint 1, 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #0 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #1 0x00000100000007f8 in hello () at test.c:4 #2 0x0000010000000810 in main () at test.c:8 Since this is a 9 -> 10 regression, I'll mark it with the 10.2 milestone. I don't plan to look more into it at the moment. Note: I tried to generate a core file, to be able to analyze further on my local machine, but I wasn't able to load it. GDB doesn't find the --=20 You are receiving this mail because: You are on the CC list for the bug.=