[Cgdb-devel] Crash
Brought to you by:
bobbybrasko,
crouchingturbo
From: Peter K. <pe...@ko...> - 2003-03-06 13:57:04
|
I just updated to this mornings CVS and I got a crash when I try to set a break point: #0 0x08051fef in tgdb_append_command (com=0xbffff500, new_header=BREAKPOINTS_END, buf=0x0, buf2=0x0, buf3=0x0) at ../../tgdb/lib/types.c:85 85 (*com)[command_cur_size] = xmalloc(sizeof(struct Command)); backtrace: #0 0x08051fef in tgdb_append_command (com=0xbffff500, new_header=BREAKPOINTS_END, buf=0x0, buf2=0x0, buf3=0x0) at ../../tgdb/lib/types.c:85 #1 0x08053df4 in commands_set_state (state=BREAKPOINT_TABLE_END, com=0xbffff528) at ../../tgdb/annotate-two-src/commands.c:153 #2 0x0805530f in handle_breakpoints_table_end (buf=0x8068100 "breakpoints-table-end\r", n=22, com=0xbffff528) at ../../tgdb/annotate-two-src/annotate.c:112 #3 0x0805547a in tgdb_parse_annotation (data=0x8068100 "breakpoints-table-end\r", size=22, com=0xbffff528) at ../../tgdb/annotate-two-src/annotate.c:426 #4 0x080535e4 in a2_handle_data ( data=0xbfff04c4 "\r\n\032\032post-prompt\r\n\r\n\032\032breakpoints-headers\r\n\r\n\032\032field 0\r\nNum \r\n\032\032field 1\r\nType", ' ' <repeats 11 times>, "\r\n\032\032field 2\r\nDisp \r\n\032\032field 3\r\nEnb \r\n\032\032field 4\r\nAddress \r\n\032\032field 5\r\nWhat\r\n\r\n\032\032breakpoints-table\r\n\r\n\032\032record\r\n"..., size=443, gui_data=0x80af7a8 "", gui_size=4096, com=0xbffff528) at ../../tgdb/annotate-two-src/state_machine.c:111 #5 0x080530d0 in a2_tgdb_recv (buf=0x80af7a8 "", n=4096, com=0xbffff528) at ../../tgdb/annotate-two-src/a2-tgdb.c:285 #6 0x0804a773 in gdb_input () at cgdb.c:449 #7 0x0804aa50 in main_loop () at cgdb.c:554 #8 0x0804ad7d in main (argc=1, argv=0xbffff648) at cgdb.c:677 It seems as though the com structure got screwed up some how. - Peter |