From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B81AC3858C52; Mon, 1 Aug 2022 13:46:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B81AC3858C52 From: "schwab@linux-m68k.org" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/29277] jit_event_handler: Assertion `jiter->jiter_data != nullptr' failed with separate debug files Date: Mon, 01 Aug 2022 13:46:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Mon, 01 Aug 2022 13:46:14 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29277 --- Comment #3 from Andreas Schwab --- I'm seeing this on riscv64: $ gdb/gdb --args qemu-riscv64 /usr/bin/cat GNU gdb (GDB) 13.0.50.20220801-git Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "riscv64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from qemu-riscv64... Reading symbols from /usr/lib/debug/usr/bin/qemu-riscv64-7.0.0-82.1.riscv64.debug... (gdb) r Starting program: /usr/bin/qemu-riscv64 /usr/bin/cat [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/lp64d/libthread_db.so.1". [New Thread 0x3ff7ffb3c0 (LWP 1363)] ../../gdb/gdb/jit.c:1247: internal-error: jit_event_handler: Assertion `jiter->jiter_data !=3D nullptr' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. ----- Backtrace ----- 0x8c5cd gdb_internal_backtrace_1 ../../gdb/gdb/bt-utils.c:122 0x8c5cd _Z22gdb_internal_backtracev ../../gdb/gdb/bt-utils.c:168 0x330621 internal_vproblem ../../gdb/gdb/utils.c:396 0x3307f5 _Z15internal_verrorPKciS0_Pv ../../gdb/gdb/utils.c:476 0x3b50cd _Z14internal_errorPKciS0_z ../../gdb/gdbsupport/errors.cc:55 0x1a9cfd _Z17jit_event_handlerP7gdbarchP7objfile ../../gdb/gdb/jit.c:1247 0x7b1b5 handle_jit_event ../../gdb/gdb/breakpoint.c:5672 0x7b1b5 _Z20bpstat_run_callbacksP6bpstat ../../gdb/gdb/breakpoint.c:5875 0x19ef05 process_event_stop_test ../../gdb/gdb/infrun.c:6651 0x1a22eb handle_stop_requested ../../gdb/gdb/infrun.c:4627 0x1a22eb handle_stop_requested ../../gdb/gdb/infrun.c:4622 0x1a22eb handle_inferior_event ../../gdb/gdb/infrun.c:5883 0x1a3c0d _Z20fetch_inferior_eventv ../../gdb/gdb/infrun.c:4233 0x3b53c9 gdb_wait_for_event ../../gdb/gdbsupport/event-loop.cc:692 0x3b585d _Z16gdb_do_one_eventv ../../gdb/gdbsupport/event-loop.cc:210 0x1d5a29 start_event_loop ../../gdb/gdb/main.c:411 0x1d5a29 captured_command_loop ../../gdb/gdb/main.c:471 0x1d70e9 captured_main ../../gdb/gdb/main.c:1329 0x1d70e9 _Z8gdb_mainP18captured_main_args ../../gdb/gdb/main.c:1344 0x21137 main ../../gdb/gdb/gdb.c:32 --------------------- ../../gdb/gdb/jit.c:1247: internal-error: jit_event_handler: Assertion `jiter->jiter_data !=3D nullptr' failed. (top-gdb) p jit_bp_sym.objfile.jiter_data $2 =3D { _M_t =3D { >> =3D { _M_t =3D { >> =3D { >> =3D {, true>> =3D {_M_head_impl =3D {}}, }, > =3D { _M_head_impl =3D 0x0}, }, }}, <= No data fields>}} (top-gdb) p jit_bp_sym.objfile.separate_debug_objfile_backlink.jiter_data $5 =3D { _M_t =3D { >> =3D { _M_t =3D { >> =3D { >> =3D {, true>> =3D {_M_head_impl =3D {}}, }, > =3D { _M_head_impl =3D 0xa9f8e0}, }, = }}, }} --=20 You are receiving this mail because: You are on the CC list for the bug.=