From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2AFAF3857C5B; Sat, 5 Sep 2020 05:42:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2AFAF3857C5B From: "mathieu at pgscada dot com" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/26576] New: infrun.c:5335: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' Date: Sat, 05 Sep 2020 05:42:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mathieu at pgscada dot com 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: 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 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: Sat, 05 Sep 2020 05:42:52 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26576 Bug ID: 26576 Summary: infrun.c:5335: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' Product: gdb Version: 8.3.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: breakpoints Assignee: unassigned at sourceware dot org Reporter: mathieu at pgscada dot com Target Milestone: --- OS: Windows 10 Fatal error when server sends ->~"[New Thread 2]\n" Upgrading to newest version of Arm toolchain doesn't resolve the issue C:\Program Files (x86)\GNU Arm Embedded Toolchain\9 2020-q2-update\bin\arm-none-eabi-gdb.exe: warning: Couldn't determine a path for the index cache directory. GNU gdb (GNU Arm Embedded Toolchain 9-2020-q2-update) 8.3.1.20191211-git Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later=20 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Stack trace of the debug session included below 1: (112559) 1106: elapsed time 2 1: (112560) <-1107-var-create - * "ftp_err" 1: (112569) ->1107^done,name=3D"var30",numchild=3D"0",value=3D"",type=3D"TcpServerStartStatus",thread-id=3D"2",has_more=3D"0" 1: (112570) ->(gdb) 1: (112570) 1107: elapsed time 9 1: (112570) ->&"\n" 1: (112570) ->^done 1: (112570) ->(gdb) <-- C (variables-43): {"command":"variables","arguments":{"variablesReference":1000},"type":"requ= est","seq":43} <-- C (stepIn-44): {"command":"stepIn","arguments":{"threadId":536886584},"type":"request","se= q":44} 1: (114754) <-1108-exec-step 1: (114764) ->1108^running 1: (114764) ->*running,thread-id=3D"all" 1: (114764) 1108: elapsed time 9 1: (114765) ->(gdb) 1: (114765) ->&"\n" 1: (114770) ->^done 1: (114770) ->(gdb) 1: (114895) ->=3Dthread-created,id=3D"7",group-id=3D"i1" 1: (114895) <-1109-thread-info 7 1: (114895) ->~"[New Thread 2]\n" 1: (114896) ->&"/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_2020= 0521_1590053374/src/gdb/gdb/infrun.c:5335: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed.\nA problem internal to G= DB has been detected,\nfurther debugging may prove unreliable.\n" 1: (114897) ->&"\nThis is a bug, please report it." 1: (114897) ->&" For instructions, see:\n." 1: (114897) ->&"\n\n" [New Thread 2] 1: (115046) "C:\Program Files (x86)\GNU Arm Embedded Toolchain\9 2020-q2-update\bin\arm-none-eabi-gdb.exe" exited with code 3 (0x3). 1: (115054) <-logout 1: (115055) <-logout 1: (115062) Send Event AD7MessageEvent ERROR: GDB exited unexpectedly with exit code 3 (0x3). Debugging will now abort. 1: (115065) Send Event AD7ProgramDestroyEvent The program 'C:\Users\mjmen\Documents\vscode\pvconnex\firmware\BUILD\DISCO_F746NG\GCC_A= RM-DEBUG\firmware.elf' has exited with code -1 (0xffffffff). <-- C (disconnect-45): {"command":"disconnect","arguments":{"restart":false},"type":"request","seq= ":45} Possible duplicates : Bug 21497 - FreeBSD: infrun.c:5565: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed Bug 21774 - Ubuntu: infrun.c:5565: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed Bug 22063 - infrun.c:5570: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed. Bug 22925 - gdb assumes target can activate threads at will, causes internal error in infrun.c in 'finish_step_over' Bug 24674 - GDB crash on remote target reconnect: Assertion `ecs->event_thread->control.trap_expected' failed. Bug 26284 - [arm] infrun.c:5312: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed --=20 You are receiving this mail because: You are on the CC list for the bug.=