From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ED5B73858012; Thu, 28 Oct 2021 12:40:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED5B73858012 From: "luis.machado at linaro dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/28512] [aarch64] waitstatus.h:300: internal-error: gdb_signal target_waitstatus::sig() const: Assertion `m_kind == TARGET_WAITKIND_STOPPED || m_kind == TARGET_WAITKIND_SIGNALLED' failed. Date: Thu, 28 Oct 2021 12:40:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: luis.machado at linaro dot 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: 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: Thu, 28 Oct 2021 12:40:20 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28512 --- Comment #6 from Luis Machado --- Thanks. I'll just post the backtrace bit... FAIL: gdb.threads/attach-many-short-lived-threads.exp: iter 9: detach (GDB internal error) Resyncing due to internal error. 0x4c82bb gdb_internal_backtrace_1 /home/tdevries/gdb/src/gdb/bt-utils.c:121 0x4c82bb _Z22gdb_internal_backtracev /home/tdevries/gdb/src/gdb/bt-utils.c:164 0x7dd563 internal_vproblem /home/tdevries/gdb/src/gdb/utils.c:393 0x7dd713 _Z15internal_verrorPKciS0_St9__va_list /home/tdevries/gdb/src/gdb/utils.c:470 0x92ceeb _Z14internal_errorPKciS0_z /home/tdevries/gdb/src/gdbsupport/errors.cc:55 0x63b8d3 _ZNK17target_waitstatus3sigEv /home/tdevries/gdb/src/gdb/target/waitstatus.h:299 0x63b8d3 get_detach_signal /home/tdevries/gdb/src/gdb/linux-nat.c:1271 0x63f8f7 detach_one_lwp /home/tdevries/gdb/src/gdb/linux-nat.c:1341 0x63fb5f detach_callback /home/tdevries/gdb/src/gdb/linux-nat.c:1406 0x63fe07 _ZNK3gdb13function_viewIFiP8lwp_infoEEclES2_ /home/tdevries/gdb/src/gdb/../gdbsupport/function-view.h:247 0x63fe07 _Z17iterate_over_lwps6ptid_tN3gdb13function_viewIFiP8lwp_infoEEE /home/tdevries/gdb/src/gdb/linux-nat.c:937 0x63ff47 _ZN16linux_nat_target6detachEP8inferiori /home/tdevries/gdb/src/gdb/linux-nat.c:1431 0x7787c7 _Z13target_detachP8inferiori /home/tdevries/gdb/src/gdb/target.c:2569 0x603caf _Z14detach_commandPKci /home/tdevries/gdb/src/gdb/infcmd.c:2702 0x4f6a83 _Z8cmd_funcP16cmd_list_elementPKci /home/tdevries/gdb/src/gdb/cli/cli-decode.c:2459 0x785bf7 _Z15execute_commandPKci /home/tdevries/gdb/src/gdb/top.c:670 0x5b3677 _Z15command_handlerPKc /home/tdevries/gdb/src/gdb/event-top.c:597 0x5b39db _Z20command_line_handlerOSt10unique_ptrIcN3gdb13xfree_deleterIcEEE /home/tdevries/gdb/src/gdb/event-top.c:782 0x5b40ef gdb_rl_callback_handler /home/tdevries/gdb/src/gdb/event-top.c:229 0x8595d3 rl_callback_read_char /home/tdevries/gdb/src/readline/readline/callback.c:281 Might be a generic GDB bug or bad signal/ptrace interaction, given I see no immediately obvious interaction with aarch64-specific code. --=20 You are receiving this mail because: You are on the CC list for the bug.=