From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B22E03889808; Tue, 1 Jun 2021 08:32:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B22E03889808 From: "stanislav.simek at siemens dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/27938] New: If "set debug frame" is stet GDB fails Date: Tue, 01 Jun 2021 08:32:28 +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: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stanislav.simek at siemens 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: Tue, 01 Jun 2021 08:32:28 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27938 Bug ID: 27938 Summary: If "set debug frame" is stet GDB fails Product: gdb Version: 10.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: stanislav.simek at siemens dot com Target Milestone: --- Hi, If I enable "set debug frame" and do a step, then GDB crash. Without enabling it is working withou problem. Am I doing something wrong? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D See gdb console: set debug frame 1 { get_prev_frame_always (this_frame=3D-1) -> {level=3D0,type=3DNORMAL_FRAME,unwind=3D0xc66ee0,pc=3D0x4103d9b0,id=3D{stac= k=3D0x41920000,code=3D0x4103d9b0,!special},func=3D0x4103d9b0} // cached=20 { get_prev_frame_always (this_frame=3D-1) -> {level=3D0,type=3DNORMAL_FRAME,unwind=3D0xc66ee0,pc=3D0x4103d9b0,id=3D{stac= k=3D0x41920000,code=3D0x4103d9b0,!special},func=3D0x4103d9b0} // cached=20 { get_prev_frame_always (this_frame=3D-1) -> {level=3D0,type=3DNORMAL_FRAME,unwind=3D0xc66ee0,pc=3D0x4103d9b0,id=3D{stac= k=3D0x41920000,code=3D0x4103d9b0,!special},func=3D0x4103d9b0} // cached=20 { reinit_frame_cache () } { reinit_frame_cache () } { reinit_frame_cache () } { reinit_frame_cache () } { reinit_frame_cache () } { reinit_frame_cache () } { reinit_frame_cache () } { reinit_frame_cache () } { reinit_frame_cache () } { reinit_frame_cache () } { reinit_frame_cache () } { create_sentinel_frame (...) -> {level=3D-1,type=3DSENTINEL_FRAME,unwind=3D0xcd47e0,pc=3D,id=3D{st= ack=3D,!code,special=3D0x0},func=3D} } { frame_unwind_arch (next_frame=3D-1) -> aarch64 } { get_prev_frame_always (this_frame=3D-1) { frame_id_eq (l=3D{stack=3D,!code,special=3D0x0},r=3D{stack=3D,!code,sp= ecial=3D0x0}) -> 0 } -> {level=3D0,type=3D,unwind=3D,pc=3D,id=3D,func=3D} } { get_prev_frame_always (this_frame=3D-1) -> {level=3D0,type=3D,unwind=3D,pc=3D,id=3D,func=3D} // cached=20 { frame_unwind_register_value (frame=3D-1,regnum=3D32(pc),...) -> register= =3D32 bytes=3D[b4d9034100000000] } { frame_unwind_pc (this_frame=3D-1) -> 0x4103d9b4 } { get_prev_frame_always (this_frame=3D-1) -> {level=3D0,type=3D,unwind=3D,pc=3D0x4103d9b4,id=3D,func=3D} // cached=20 { get_prev_frame_always (this_frame=3D-1) -> {level=3D0,type=3D,unwind=3D,pc=3D0x4103d9b4,id=3D,func=3D} // cached=20 { get_prev_frame_always (this_frame=3D-1) -> {level=3D0,type=3D,unwind=3D,pc=3D0x4103d9b4,id=3D,func=3D} // cached=20 { get_prev_frame_always (this_frame=3D-1) -> {level=3D0,type=3D,unwind=3D,pc=3D0x4103d9b4,id=3D,func=3D} // cached=20 { compute_frame_id (fi=3D0) { get_frame_func (this_frame=3D0) -> 0x4103d9b0= } { frame_id_p (l=3D{!stack,!code,!special}) -> 0 } { frame_unwind_register_value (frame=3D-1,regnum=3D31(sp),...) -> register= =3D31 bytes=3D[10ff914100000000] } { frame_unwind_arch (next_frame=3D0) -> aarch64 } { frame_unwind_register_value (frame=3D0,regnum=3D32(pc),...) { frame_unwind_register_value (frame=3D0,regnum=3D30(x30),...) { frame_id_p (l=3D{stack=3D,!code,special=3D0x0}) -> 1 } ->{ frame_id_p (l=3D{stack=3D,!code,special=3D0x0}) -> 1 } { frame_id_eq (l=3D{stack=3D,!code,special=3D0x0},r=3D{stack=3D,!code= ,special=3D0x0}) -> 1 } { frame_unwind_register_value (frame=3D-1,regnum=3D30(x30),...) -> register= =3D30 bytes=3D[f881004100000000] } { frame_id_p (l=3D{stack=3D,!code,special=3D0x0}) -> 1 } { frame_id_eq (l=3D{stack=3D,!code,special=3D0x0},r=3D{stack=3D,!code= ,special=3D0x0}) -> 1 } { get_prev_frame_always (this_frame=3D-1) -> {level=3D0,type=3DNORMAL_FRAME,unwind=3D0xc66ee0,pc=3D0x4103d9b4,id=3D,func=3D0x4103d9b0} // cached=20 ../../../gdb-10.1/gdb/frame.c:626: internal-error: frame_id get_frame_id(frame_info*): Assertion `fi->this_id.p !=3D frame_id_status::COMPUTING' 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] ../../../gdb-10.1/gdb/frame.c:626: internal-error: frame_id get_frame_id(frame_info*): Assertion `fi->this_id.p !=3D frame_id_status::COMPUTING' 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] This is a bug, please report it. For instructions, see: . --=20 You are receiving this mail because: You are on the CC list for the bug.=