From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x935.google.com (mail-ua1-x935.google.com [IPv6:2607:f8b0:4864:20::935]) by sourceware.org (Postfix) with ESMTPS id 6005D3857816 for ; Thu, 20 Jan 2022 19:37:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6005D3857816 Received: by mail-ua1-x935.google.com with SMTP id m90so12904563uam.2 for ; Thu, 20 Jan 2022 11:37:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=veeS9NmwHpq5fM8CgtH7dxSSJSHO6s8fnqQTMSzTKno=; b=GwZPgsxbgEs2mWiHfofuwD15sgNmVlUYa1zvivOimBS9iOmtamFQT9TnsPbjMcLjaN t/6sZZ8sWaPWwuXBwJbjBB3X4dOMb93whYGo443FkgiP6bDQ1FU9Kkm5wK/oA2OMWs3y j9AGcAl5zUsF/zfPc75t/Z1gzbTT+ZrHRttiKKcwWa2FQakSnW7H1TUFupwCV1Ue9d/F 5Z50R2M+YM+Ttpmucd16/HbHrLwegW1QZDBvHpJj8Sz4D6opfsFEpsNDebM1VPy9ujfP MNOo/k5iDNTojjfgGh3fkT4vmfNJdUEHMpxMiuwKCgvzzPYilxSPKb7wQEadjjn+xj3T 5K6g== X-Gm-Message-State: AOAM532YJ56LIE+Go4wdymaOLvX7HeAZ/aybRdI+mrjCND+uj8xC64ej WRACivnK030CXe+0hyQMWzNWvAEFjPE9eOY5FlIXwb4nPwE= X-Google-Smtp-Source: ABdhPJxcUlSO7ipwkvU+7WsFg1KvW3El6hHe3015HAGuH32HfQs3O+izkaGgo7s96hP5QeNq81uY+YAwhx2KoNHrtyA= X-Received: by 2002:ab0:4962:: with SMTP id a31mr377421uad.0.1642707442549; Thu, 20 Jan 2022 11:37:22 -0800 (PST) MIME-Version: 1.0 From: V Bruce Hunt Date: Thu, 20 Jan 2022 11:37:11 -0800 Message-ID: Subject: GDB asked me to report the following: To: overseers@sourceware.org X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: overseers@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Overseers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2022 19:37:25 -0000 I did a brief search of the bugbase and used the fields "gccbuild:gdb-10.1" and "component;infrun.c:5690" along with "internal error". I got no intelligible response. Reporting the bug requires a user account, but creation is restricted. Below is a copy of the interaction leading to the bug. I'm happy to share the full program source leading to the bug. The bug appears on a 4GB Raspberry Pi 4 running the latest version of the full version of Raspberry Pi OS. I'm using it with OpenOCD to debug a Raspberry Pi Pico through a Picoprobe. The software is an under-development port of KU Trace by Richard Sites that uses the Raspberry Pi Pico SDK and the SMP port for the Pico/Rp2040 of FreeRTOS running on the RP2040 MPU ( A dual core ARM Cortex V6 processor). I will report this bug and others that may occur as I work to commission KUtrace for the RP2040 with FreeRTOS if you think it appropriate by allowing me to create a gdb bugzilla account. I have run development teams at Apple( Apple Consulting Engineering, Apple Integrated Systems) and Adobe ( Director of Engineering, Adobe Photoshop Album, Manager of Internet Technology for Adobe's Advanced Technology Group.) -----------gdb transcript leading to the "internal error"---------------------------- Please check TERMINAL tab (gdb-server) for output from /home/vbhunt/pico/openocd/src/openocd Launching server: "/home/vbhunt/pico/openocd/src/openocd" "-c" "gdb_port 50000" "-c" "tcl_port 50001" "-c" "telnet_port 50002" "-s" "/home/vbhunt/pico/openocd/tcl" "-f" "interface/picoprobe.cfg" "-f" "target/rp2040.cfg" Launching GDB: "/bin/gdb-multiarch" "-q" "--interpreter=mi2" "/home/vbhunt/projects/kutrace/build/main.elf"Set "showDevDebugOutput": true in your "launch.json" to see verbose GDB transactions here. Helpful to debug issues or report problems Reading symbols from /home/vbhunt/projects/kutrace/build/main.elf... warning: multi-threaded target stopped without sending a thread-id, using first non-exited thread isr_hardfault () at /home/vbhunt/pico/pico-sdk/src/rp2_common/pico_standard_link/crt0.S:98 98 decl_isr_bkpt isr_hardfault Program stopped, probably due to a reset and/or halt issued by debugger target halted due to debug-request, current mode: Thread xPSR: 0xf1000000 pc: 0x000000ee msp: 0x20041f00 target halted due to debug-request, current mode: Thread xPSR: 0xf1000000 pc: 0x000000ee msp: 0x20041f00 target halted due to debug-request, current mode: Thread xPSR: 0xf1000000 pc: 0x000000ee msp: 0x20041f00 target halted due to debug-request, current mode: Thread xPSR: 0xf1000000 pc: 0x000000ee msp: 0x20041f00 Note: automatically using hardware breakpoints for read-only addresses. target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x00000178 msp: 0x20041f00 Thread 1 hit Temporary breakpoint 3, main () at /home/vbhunt/projects/kutrace/main.c:197 197 { target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x10000fcc psp: 0x20025740 Thread 1 hit Breakpoint 1, prvKUtraceTask (pvParameters=0x20010438 ) at /home/vbhunt/projects/kutrace/ku_initial.c:511 511 { target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x10000fcc psp: 0x20025740 Thread 1 hit Breakpoint 2, prvKUtestTask (pvParameters=0x200001c8 ) at /home/vbhunt/projects/kutrace/ku_initial.c:646 646 { target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x10000fcc psp: 0x20025740 target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x10000fcc psp: 0x20025740 [Switching to Thread 2] Thread 2 hit Breakpoint 1, prvKUtraceTask (pvParameters=0x20010434 ) at /home/vbhunt/projects/kutrace/ku_initial.c:511 511 { /build/gdb-vC73A7/gdb-10.1/gdb/infrun.c:5690: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) [answered Y; input not from terminal] *This is a bug, please report it. For instructions, see:>./build/gdb-vC73A7/gdb-10.1/gdb/infrun.c:5690: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed.A problem internal to GDB has been detected,further debugging may prove unreliable.* Create a core file of GDB? (y or n) [answered Y; input not from terminal] -----------------End of Transcript ------------------------------------------- Regards V Bruce Hunt mailto: vbhunt@silverfox.com, vbhunt@gmail.com