Crash regression for gdb.base/ending-run.exp [Re: creating the gdb-7.4 branch tomorrow (?)]

Jan Kratochvil
2011-12-09T16:47:36Z

On Tue, 06 Dec 2011 18:41:32 +0100, Tom Tromey wrote:
> the "ambiguous linespec" series

Regression on Fedoras, such as F-15 x86_64 using .debug_types:

DEJAGNU=$HOME/src/runtest-valgrind/site.exp runtest CC_FOR_TARGET="gcc -gdwarf-4 -fdebug-types-section -g0" CXX_FOR_TARGET="g++ -gdwarf-4 -fdebug-types-section -g0" --target_board valgrind gdb.base/ending-run.exp

Invalid read of size 4
at 0x6827BA: clear_command (breakpoint.c:10143)
by 0x6242E0: do_cfunc (cli-decode.c:67)
by 0x6274EE: cmd_func (cli-decode.c:1810)
by 0x4927D2: execute_command (top.c:443)
by 0x70269D: command_handler (event-top.c:435)
by 0x702D2F: command_line_handler (event-top.c:636)
by 0x833FDD: rl_callback_read_char (callback.c:220)
by 0x702144: rl_callback_read_char_wrapper (event-top.c:169)
by 0x7025AF: stdin_event_handler (event-top.c:375)
by 0x7010E5: handle_file_event (event-loop.c:828)
by 0x7005AB: process_event (event-loop.c:402)
by 0x70064D: gdb_do_one_event (event-loop.c:454)
by 0x7006C3: start_event_loop (event-loop.c:491)
by 0x70216E: cli_command_loop (event-top.c:182)
by 0x6FAC68: current_interp_command_loop (interps.c:309)
by 0x487831: captured_command_loop (main.c:234)
by 0x6FA43C: catch_errors (exceptions.c:504)
by 0x4888AF: captured_main (main.c:944)
by 0x6FA43C: catch_errors (exceptions.c:504)
by 0x4888E5: gdb_main (main.c:953)
by 0x487532: main (gdb.c:35)
Address 0x85b2a6c is 28 bytes inside a block of size 176 free'd
at 0x4C255FE: free (vg_replace_malloc.c:366)
by 0x4AA4F0: xfree (common-utils.c:109)
by 0x68472C: delete_breakpoint (breakpoint.c:11328)
by 0x6827D9: clear_command (breakpoint.c:10144)
by 0x6242E0: do_cfunc (cli-decode.c:67)
by 0x6274EE: cmd_func (cli-decode.c:1810)
by 0x4927D2: execute_command (top.c:443)
by 0x70269D: command_handler (event-top.c:435)
by 0x702D2F: command_line_handler (event-top.c:636)
by 0x833FDD: rl_callback_read_char (callback.c:220)
by 0x702144: rl_callback_read_char_wrapper (event-top.c:169)
by 0x7025AF: stdin_event_handler (event-top.c:375)
by 0x7010E5: handle_file_event (event-loop.c:828)
by 0x7005AB: process_event (event-loop.c:402)
by 0x70064D: gdb_do_one_event (event-loop.c:454)
by 0x7006C3: start_event_loop (event-loop.c:491)
by 0x70216E: cli_command_loop (event-top.c:182)
by 0x6FAC68: current_interp_command_loop (interps.c:309)
by 0x487831: captured_command_loop (main.c:234)
by 0x6FA43C: catch_errors (exceptions.c:504)
by 0x4888AF: captured_main (main.c:944)
by 0x6FA43C: catch_errors (exceptions.c:504)
by 0x4888E5: gdb_main (main.c:953)
by 0x487532: main (gdb.c:35)

It is a core file without valgrind.

Thanks,
Jan