From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E2D483858D20; Fri, 29 Mar 2024 09:34:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E2D483858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711704870; bh=1MyHh3/bdLD3grXdiE/9rBdVPrr+2iKZGdmldP/799w=; h=From:To:Subject:Date:From; b=kez24gE+tduukSrr3VZIePoSEtqbJE09D37DHzPwdYGa5ShXQZ8RC2pn2E1nr3zm0 asutOZnJlJBxWi5Cs585elYUXNksbR1vFs9+gJWcd9qmhheWfimalNeUjSHcYOQojW BcVA2N8Q7t/iQeHLYSKKeQWsq6GW0TCJjE9xeSDg= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31577] New: [gdb] terminate called after throwing an instance of 'gdb_exception_error' Date: Fri, 29 Mar 2024 09:34:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31577 Bug ID: 31577 Summary: [gdb] terminate called after throwing an instance of 'gdb_exception_error' Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- I ran test-case gdb.server/connect-with-no-symbol-file.exp in an opensuse l= eap 15.5 container on an fedora asahi aarch64-linux system. I ran into: ... (gdb) detach^M Detaching from program: target:/data/vries/gdb/build/gdb/testsuite/outputs/gdb.server/connect-with-= no-symbol-file/connect-with-no-symbol-file, process 185104^M Ending remote debugging.^M terminate called after throwing an instance of 'gdb_exception_error'^M ^M ^M Fatal signal: Aborted^M ----- Backtrace -----^M 0x5b6603 gdb_internal_backtrace_1^M /data/vries/gdb/src/gdb/bt-utils.c:121^M 0x5b66c3 _Z22gdb_internal_backtracev^M /data/vries/gdb/src/gdb/bt-utils.c:167^M 0x7a85d3 handle_fatal_signal^M /data/vries/gdb/src/gdb/event-top.c:903^M 0xffff75aa87ff ???^M 0xffff74b977b4 ???^M 0xffff74b98c17 ???^M 0xffff74ea26f3 ???^M 0xffff74ea011b ???^M 0xffff74ea017f ???^M 0xffff74ea0463 ???^M 0x154886f throw_it^M /data/vries/gdb/src/gdbsupport/common-exceptions.cc:203^M 0x154891f _Z12throw_verror6errorsPKcSt9__va_list^M /data/vries/gdb/src/gdbsupport/common-exceptions.cc:211^M 0x15489ff _Z11throw_error6errorsPKcz^M /data/vries/gdb/src/gdbsupport/common-exceptions.cc:226^M 0xac8f2b _ZN13remote_target8readcharEi^M /data/vries/gdb/src/gdb/remote.c:9856^M 0xac9f03 _ZN13remote_target6getpktEPSt6vectorIcN3gdb22default_init_allocatorIcSaIcEE= EEbPb^M /data/vries/gdb/src/gdb/remote.c:10326^M 0xacf3cf _ZN13remote_target26remote_hostio_send_commandEiiP12fileio_errorPPKcPi^M /data/vries/gdb/src/gdb/remote.c:12567^M 0xad03bb _ZN13remote_target12fileio_fstatEiP4statP12fileio_error^M /data/vries/gdb/src/gdb/remote.c:12979^M 0xc39877 _Z19target_fileio_fstatiP4statP12fileio_error^M /data/vries/gdb/src/gdb/target.c:3315^M 0x7eee5b _ZN20target_fileio_stream4statEP3bfdP4stat^M /data/vries/gdb/src/gdb/gdb_bfd.c:467^M 0x7f012b operator()^M /data/vries/gdb/src/gdb/gdb_bfd.c:955^M 0x7f015b _FUN^M /data/vries/gdb/src/gdb/gdb_bfd.c:956^M 0xf9b837 opncls_bstat^M /data/vries/gdb/src/bfd/opncls.c:665^M ---------------------^M A fatal error internal to GDB has been detected, further^M debugging is not possible. GDB will now terminate.^M This is a bug, please report it. For instructions, see:^M .^M ^M ERROR: GDB process no longer exists GDB process exited with wait status 185065 exp84 0 0 CHILDKILLED SIGABRT SIGABRT UNRESOLVED: gdb.server/connect-with-no-symbol-file.exp: sysroot=3Dtarget:: action=3Dpermission: detach ... --=20 You are receiving this mail because: You are on the CC list for the bug.=