From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8E7A1385AC19; Tue, 6 Sep 2022 09:13:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E7A1385AC19 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1662455613; bh=epGKD3pnfb+DKn6iSgkzAH0vIVe+iu/2+xMDfufzxbk=; h=From:To:Subject:Date:From; b=uhPYxIx5eT6wTNhr/mh6/ymnAmwEaJUbiN0RdVfq6qCXl/rjkgfqxS/IIC3Vtk1BE gk4DoNxgqnZw3wAB9ckMrjQWwtMGZYrk1KoJJPZmJX3m247crJjo7ErkAGKph09dLe WdlD5eRh9Wujfu+o+vaEIDl+3//U3EjoV/TWSw88= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/29549] New: [gdb/selftest] selftest run_on_main_thread + ^C: terminate called without an active exception Date: Tue, 06 Sep 2022 09:13:32 +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=3D29549 Bug ID: 29549 Summary: [gdb/selftest] selftest run_on_main_thread + ^C: terminate called without an active exception 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: --- [ With gdb build from trunk of today, and with gdb-patches patch "[PATCH,v2] [Arm] Fix endianness handling for arm record self tests" applied, which I assume is unrelated. ] I ran the selftests like this: ... $ ./gdb.sh -q -batch -ex "maint selftest" | grep -i arm ... and pressed ^C a few times. This gave me: ... Running selftest run_on_main_thread. terminate called without an active exception Fatal signal: Aborted ----- Backtrace ----- 0x580e38 gdb_internal_backtrace_1 /home/vries/gdb_versions/devel/src/gdb/bt-utils.c:122 0x580edb _Z22gdb_internal_backtracev /home/vries/gdb_versions/devel/src/gdb/bt-utils.c:168 0x7605c1 handle_fatal_signal /home/vries/gdb_versions/devel/src/gdb/event-top.c:948 0x7fc538f76d6f ??? =20=20=20=20=20=20=20 /usr/src/debug/glibc-2.31-150300.37.1.x86_64/signal/../sysdeps/unix/sysv/li= nux/x86_64/sigaction.c:0 0x7fc538f76cdb __GI_raise ../sysdeps/unix/sysv/linux/raise.c:51 0x7fc538f78374 __GI_abort /usr/src/debug/glibc-2.31-150300.37.1.x86_64/stdlib/abort.c:79 0x7fc5395defc5 ??? 0x7fc5395ea83b ??? 0x7fc5395ea8a6 ??? 0xc394de _ZNSt6threadD2Ev /usr/include/c++/7/thread:135 0xc39118 run_tests =20=20=20=20=20=20=20 /home/vries/gdb_versions/devel/src/gdb/unittests/main-thread-selftests.c:48 0x41be04 _ZNSt17_Function_handlerIFvvEPS0_E9_M_invokeERKSt9_Any_data /usr/include/c++/7/bits/std_function.h:316 0x5f8095 _ZNKSt8functionIFvvEEclEv /usr/include/c++/7/bits/std_function.h:706 0x13bc142 _ZN9selftests9run_testsEN3gdb10array_viewIKPKcEEb /home/vries/gdb_versions/devel/src/gdbsupport/selftest.cc:100 0x8b0f96 maintenance_selftest /home/vries/gdb_versions/devel/src/gdb/maint.c:1164 0x5d7b83 do_simple_func /home/vries/gdb_versions/devel/src/gdb/cli/cli-decode.c:95 0x5dc933 _Z8cmd_funcP16cmd_list_elementPKci /home/vries/gdb_versions/devel/src/gdb/cli/cli-decode.c:2543 0xbc678d _Z15execute_commandPKci /home/vries/gdb_versions/devel/src/gdb/top.c:692 0x8a6748 catch_command_errors /home/vries/gdb_versions/devel/src/gdb/main.c:513 0x8a6920 execute_cmdargs /home/vries/gdb_versions/devel/src/gdb/main.c:608 0x8a7cb0 captured_main_1 /home/vries/gdb_versions/devel/src/gdb/main.c:1299 0x8a7eb3 captured_main /home/vries/gdb_versions/devel/src/gdb/main.c:1320 0x8a7f1e _Z8gdb_mainP18captured_main_args /home/vries/gdb_versions/devel/src/gdb/main.c:1345 0x41506d main /home/vries/gdb_versions/devel/src/gdb/gdb.c:32 --------------------- A fatal error internal to GDB has been detected, further debugging is not possible. GDB will now terminate. This is a bug, please report it. For instructions, see: . ./gdb.sh: line 35: 6508 Aborted (core dumped) $DBG $GDB -nw -iex "add-auto-load-safe-path /home/vries/gdb_versions/devel/build/gdb/gdb-gdb.gdb" -iex "add-auto-load-safe-path /home/vries/gdb_versions/devel/build/gdb/gdb-gdb.p= y" "${flags[@]}" "$@" ... --=20 You are receiving this mail because: You are on the CC list for the bug.=