From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19537 invoked by alias); 24 Nov 2004 03:55:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19499 invoked from network); 24 Nov 2004 03:55:00 -0000 Received: from unknown (HELO farnswood.snap.net.nz) (202.124.110.113) by sourceware.org with SMTP; 24 Nov 2004 03:55:00 -0000 Received: by farnswood.snap.net.nz (Postfix, from userid 501) id C81A4627EE; Wed, 24 Nov 2004 03:48:06 +0000 (GMT) From: Nick Roberts Message-ID: <16804.1142.136766.593493@farnswood.snap.net.nz> Date: Wed, 24 Nov 2004 04:02:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable To: gdb@sources.redhat.com Subject: internal-error: insert_step_resume_breakpoint_at_sal X-SW-Source: 2004-11/txt/msg00233.txt.bz2 Debugging emacs in CVS with gdb in CVS, I often get an error if I try to st= ep through the program after setting a breakpoint: To reproduce: gdb emacs GNU gdb 6.3.50_2004-11-24-cvs ... (gdb) b Fsplit_window (for example) (gdb) run `C-x 2' in Emacs (gdb) n infrun.c:2763: internal-error: insert_step_resume_breakpoint_at_sal: Assert= ion `step_resume_breakpoint =3D=3D NULL' failed. A problem internal to GDB has been detected, GDB then offers to create a core. As few people on this list have CVS Emacs, I attach it below. There appears to be no problem with older versions of GDB e.g 5.2.1. Nick #0 0x400babf1 in kill () from /lib/libc.so.6 #1 0x400baa05 in raise () from /lib/libc.so.6 #2 0x400bc01b in abort () from /lib/libc.so.6 #3 0x08085630 in internal_vproblem (problem=3D0x8270950,=20 file=3D0x8220d17 "infrun.c", line=3D2763,=20 fmt=3D0x81eed01 "%s: Assertion `%s' failed.", ap=3D0xbfffed5c " =FC!\b") at utils.c:853 #4 0x08085650 in internal_verror (file=3D0x8220d17 "infrun.c", line=3D2763= ,=20 fmt=3D0x81eed01 "%s: Assertion `%s' failed.", ap=3D0xbfffed5c " =FC!\b") at utils.c:867 #5 0x0808567a in internal_error (file=3D0x8220d17 "infrun.c", line=3D2763,= =20 string=3D0x81eed01 "%s: Assertion `%s' failed.") at utils.c:876 #6 0x080fc68a in insert_step_resume_breakpoint_at_sal (sr_sal=3D {symtab =3D 0x0, section =3D 0x0, line =3D 0, pc =3D 134815836, end = =3D 0},=20 sr_id=3D {stack_addr =3D 3221220768, code_addr =3D 134815824, special_addr =3D= 0, stack_ad dr_p =3D 1, code_addr_p =3D 1, special_addr_p =3D 0}) at infrun.c:2767 #7 0x080fc6ff in insert_step_resume_breakpoint_at_frame (return_frame=3D0x= 0) at infrun.c:2794 #8 0x080faeac in handle_inferior_event (ecs=3D0xbfffeec0) at infrun.c:2044 #9 0x080fa43b in wait_for_inferior () at infrun.c:986 #10 0x080fa1f7 in proceed (addr=3D1, siggnal=3DTARGET_SIGNAL_HUP, step=3D1) at infrun.c:806 #11 0x080f79a9 in step_1 (skip_subroutines=3D1, single_inst=3D0,=20 count_string=3D0x0) at infcmd.c:688 #12 0x080f7833 in next_command (count_string=3D0x0, from_tty=3D1) at infcmd.c:585 #13 0x080afa54 in do_cfunc (c=3D0x0, args=3D0x0, from_tty=3D1) at cli/cli-decode.c:57 #14 0x080b16f4 in cmd_func (cmd=3D0x82aef20, args=3D0x0, from_tty=3D1) at cli/cli-decode.c:1627 #15 0x08083632 in execute_command (p=3D0x8296c51 "", from_tty=3D1) at top.c= :733 #16 0x08106f42 in command_handler (command=3D0x8296c50 "n") at event-top.c:= 500 #17 0x08107378 in command_line_handler (rl=3D0x1
) at event-top.c:793 #18 0x081d6419 in rl_callback_read_char () at callback.c:123 #19 0x081068fa in rl_callback_read_char_wrapper (client_data=3D0x0) at event-top.c:166 #20 0x08106e3f in stdin_event_handler (error=3D0, client_data=3D0x0) at event-top.c:416 #21 0x081061dd in handle_file_event (event_file_desc=3D1075480440) at event-loop.c:721 #22 0x08105ce4 in process_event () at event-loop.c:334 #23 0x08105d46 in gdb_do_one_event (data=3D0x0) at event-loop.c:371 #24 0x0808328f in do_catch_errors (uiout=3D0x82c3f18, data=3D0x0) at top.c:= 524 #25 0x08083165 in catcher (func=3D0x8083280 ,=20 func_uiout=3D0x82c3f18, func_args=3D0xbffff2a0, func_val=3D0xbffff298,= =20 func_caught=3D0xbffff29c, errstring=3D0x0, gdberrmsg=3D0x0, mask=3D6) at top.c:431 #26 0x080832d8 in catch_errors (func=3D0, func_args=3D0x0,=20 errstring=3D0x81ed1dc "", mask=3D6) at top.c:536 #27 0x080bd243 in tui_command_loop (data=3D0x0) at tui/tui-interp.c:150 #28 0x08103e19 in current_interp_command_loop () at interps.c:277 #29 0x0807b02a in captured_command_loop (data=3D0x0) at main.c:91 #30 0x0808328f in do_catch_errors (uiout=3D0x82c3f18, data=3D0x0) at top.c:= 524 #31 0x08083165 in catcher (func=3D0x8083280 ,=20 func_uiout=3D0x82c3f18, func_args=3D0xbffff450, func_val=3D0xbffff448,= =20 func_caught=3D0xbffff44c, errstring=3D0x0, gdberrmsg=3D0x0, mask=3D6) at top.c:431 #32 0x080832d8 in catch_errors (func=3D0, func_args=3D0x0,=20 errstring=3D0x81ed1dc "", mask=3D6) at top.c:536 #33 0x0807bb56 in captured_main (data=3D0x8296970) at main.c:801 #34 0x0808328f in do_catch_errors (uiout=3D0x8276400, data=3D0x0) at top.c:= 524 #35 0x08083165 in catcher (func=3D0x8083280 ,=20 func_uiout=3D0x8276400, func_args=3D0xbffff6f0, func_val=3D0xbffff6e8,= =20 func_caught=3D0xbffff6ec, errstring=3D0x0, gdberrmsg=3D0x0, mask=3D6) at top.c:431 #36 0x080832d8 in catch_errors (func=3D0, func_args=3D0x0,=20 errstring=3D0x81ed1dc "", mask=3D6) at top.c:536 #37 0x0807bc72 in gdb_main (args=3D0x401a8778) at main.c:810 #38 0x0807b00f in main (argc=3D0, argv=3D0x0) at gdb.c:35