>Number: 152808 >Category: misc >Synopsis: gdb crash on exit >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 03 16:30:15 UTC 2010 >Closed-Date: >Last-Modified: >Originator: kenorb >Release: 8.1-STABLE >Organization: >Environment: FreeBSD kenorb 8.1-STABLE FreeBSD 8.1-STABLE #4: Mon Nov 15 14:40:15 GMT 2010 r...@kenorb:/usr/obj/usr/src/sys/BRO amd64
>Description: (gdb) q The program is running. Exit anyway? (y or n) c Please answer y or n. n ^C ^C^C^C^C ^C^CSegmentation fault (core dumped) > gdb -c gdb.core gdb (gdb) bt full #0 0x0000000800e89e68 in open () from /lib/libc.so.7 No symbol table info available. #1 0x0000000800e3e697 in vasprintf () from /lib/libc.so.7 No symbol table info available. #2 0x000000000049aefd in xvasprintf (ret=0x7fffffffdbc8, format=0x62d20a "%s", ap=0x7fffffffdc30) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/utils.c:1176 status = 32767 #3 0x000000000049c856 in vfprintf_maybe_filtered (stream=0x8010d8f60, format=0x62d20a "%s", args=0x7fffffffdc30, filter=1) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/utils.c:2262 linebuffer = 0x8010d8f60 "�\221\200" old_cleanups = (struct cleanup *) 0x800faf6e0 #4 0x000000000049c8ad in vfprintf_filtered (stream=0x8010d8f60, format=0x62d20a "%s", args=0x7fffffffdc30) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/utils.c:2272 No locals. #5 0x000000000049b229 in query (ctlstr=0x62d20a "%s") at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/utils.c:1292 args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffdd20, reg_save_area = 0x7fffffffdc60}} answer = 67 ans2 = 10 retval = 32767 #6 0x00000000004ad2d9 in quit_confirm () at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:1462 s = 0x62d488 "The program is running. Exit anyway? " #7 0x000000000046c825 in quit_command (args=0x0, from_tty=1) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/cli/cli-cmds.c:307 No locals. #8 0x0000000000487b20 in do_cfunc (c=0x8010d3900, args=0x0, from_tty=1) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/cli/cli-decode.c:57 No locals. #9 0x000000000048a593 in cmd_func (cmd=0x8010d3900, args=0x0, from_tty=1) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/cli/cli-decode.c:1541 No locals. #10 0x00000000004ac0eb in execute_command (p=0x801005081 "", from_tty=1) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:743 arg = 0x0 c = (struct cmd_list_element *) 0x8010d3900 flang = language_unknown line = 0x801005080 "q" warned = 0 #11 0x0000000000454f7b in command_handler (command=0x801005080 "q") at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/event-top.c:500 old_chain = (struct cleanup *) 0x0 stdin_is_tty = 1 arg1 = (struct continuation_arg *) 0x258000140001 arg2 = (struct continuation_arg *) 0xc939d63a4b2dc8ad time_at_cmd_start = 67685240 space_at_cmd_start = 0 #12 0x00000000004558c7 in command_line_handler (rl=0x801075112 "q") at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/event-top.c:793 p = 0x801108fb1 "" p1 = 0x801108fb0 "q" nline = 0x7ecd80 "" got_eof = 0 '\0' repeat = 1 linebuffer = 0x801108fb0 "q" linelength = 80 #13 0x0000000800a28c2f in rl_callback_read_char () from /lib/libreadline.so.8 No symbol table info available. #14 0x0000000000454585 in rl_callback_read_char_wrapper (client_data=0x0) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/event-top.c:166 No locals. #15 0x0000000000454e05 in stdin_event_handler (error=0, client_data=0x0) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/event-top.c:416 No locals. #16 0x0000000000456931 in handle_file_event (event_file_desc=0) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/event-loop.c:721 file_ptr = (file_handler *) 0x8010d9730 mask = 1 error_mask = 56 error_mask_returned = 0 #17 0x0000000000456067 in process_event () at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/event-loop.c:334 event_ptr = (gdb_event *) 0x8010b3f00 prev_ptr = (gdb_event *) 0x8010d9730 proc = (event_handler_func *) 0x4567dd <handle_file_event> fd = 0 #18 0x00000000004560b6 in gdb_do_one_event (data=0x0) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/event-loop.c:371 No locals. #19 0x00000000004abc9c in do_catch_errors (uiout=0x80106ce00, data=0x7fffffffe1a0) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:523 args = (struct catch_errors_args *) 0x7fffffffe1a0 #20 0x00000000004aba33 in catcher (func=0x4abc73 <do_catch_errors>, func_uiout=0x80106ce00, func_args=0x7fffffffe1a0, func_val=0x7fffffffe1bc, func_caught=0x7fffffffe1b8, errstring=0x679f1d "", gdberrmsg=0x0, mask=6) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:430 saved_catch = (sigjmp_buf *) 0x7fffffffe2a0 catch = {{_sjb = {4897299, 6, 140737488347288, 140737488347488, 140737488349184, 140737488349160, 0, 0, 8258431, 0, 0, 140733193388033}}} saved_cleanup_chain = (struct cleanup *) 0x0 saved_error_pre_print = 0x607e08 "" saved_quit_pre_print = 0x607e08 "" saved_uiout = (struct ui_out *) 0x80106ce00 caught = 0 val = 1 #21 0x00000000004abd04 in catch_errors (func=0x45607c <gdb_do_one_event>, func_args=0x0, errstring=0x679f1d "", mask=6) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:535 val = 1 caught = 0 args = {func = 0x45607c <gdb_do_one_event>, func_args = 0x0} #22 0x0000000000576a4b in tui_command_loop (data=0x0) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/tui/tui-interp.c:150 result = 1 length = 7 a_prompt = 0x801004058 "(gdb) " gdb_prompt = 0x801004248 "(gdb) " #23 0x0000000000436453 in current_interp_command_loop () at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/interps.c:277 No locals. #24 0x0000000000435045 in captured_command_loop (data=0x0) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/main.c:97 No locals. #25 0x00000000004abc9c in do_catch_errors (uiout=0x80106ce00, data=0x7fffffffe370) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:523 args = (struct catch_errors_args *) 0x7fffffffe370 #26 0x00000000004aba33 in catcher (func=0x4abc73 <do_catch_errors>, func_uiout=0x80106ce00, func_args=0x7fffffffe370, func_val=0x7fffffffe38c, func_caught=0x7fffffffe388, errstring=0x607e08 "", gdberrmsg=0x0, mask=6) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:430 saved_catch = (sigjmp_buf *) 0x7fffffffe640 catch = {{_sjb = {4897299, 140737488348064, 140737488347752, 140737488347952, 140737488349184, 140737488349160, 0, 0, 140737488290687, 0, 0, 140733193388033}}} saved_cleanup_chain = (struct cleanup *) 0x0 saved_error_pre_print = 0x0 saved_quit_pre_print = 0x0 saved_uiout = (struct ui_out *) 0x80106ce00 caught = 0 val = -1459830401 #27 0x00000000004abd04 in catch_errors (func=0x435034 <captured_command_loop>, func_args=0x0, errstring=0x607e08 "", mask=6) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:535 val = 0 caught = 0 args = {func = 0x435034 <captured_command_loop>, func_args = 0x0} #28 0x0000000000435e84 in captured_main (data=0x7fffffffe770) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/main.c:805 context = (struct captured_main_args *) 0x7fffffffe770 argc = 2 argv = (char **) 0x7fffffffe7e8 count = 1 symarg = 0x7fffffffeac4 "chrome" execarg = 0x7fffffffeac4 "chrome" corearg = 0x0 cdarg = 0x0 ttyarg = 0x0 cmdarg = (char **) 0x801004058 cmdsize = 1 ncmd = 0 dirarg = (char **) 0x801004060 dirsize = 1 ndir = 0 homebuf = {st_dev = 0, st_ino = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0, st_atimespec = {tv_sec = 0, tv_nsec = 0}, st_mtimespec = { tv_sec = 0, tv_nsec = 0}, st_ctimespec = {tv_sec = 0, tv_nsec = 0}, st_size = 0, st_blocks = 0, st_blksize = 0, st_flags = 0, st_gen = 0, st_lspare = 0, st_birthtimespec = {tv_sec = 0, tv_nsec = 0}} cwdbuf = {st_dev = 0, st_ino = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0, st_atimespec = {tv_sec = 0, tv_nsec = 0}, st_mtimespec = { tv_sec = 0, tv_nsec = 0}, st_ctimespec = {tv_sec = 0, tv_nsec = 0}, st_size = 0, st_blocks = 0, st_blksize = 0, st_flags = 0, st_gen = 0, st_lspare = 0, st_birthtimespec = {tv_sec = 0, tv_nsec = 0}} homedir = 0x8010081a5 "/home/kenorb" homeinit = 0x7fffffffe3a0 "/home/kenorb/.gdbinit" i = 0 time_at_startup = 1909 quiet = 0 batch = 0 set_args = 0 print_help = 0 print_version = 0 long_options = {{name = 0x607d20 "async", has_arg = 0, flag = 0x7ae020, val = 1}, {name = 0x607d26 "noasync", has_arg = 0, flag = 0x7ae020, val = 0}, { name = 0x607d2e "tui", has_arg = 0, flag = 0x0, val = 14}, {name = 0x607d32 "xdb", has_arg = 0, flag = 0x7ef2d0, val = 1}, {name = 0x607d36 "dbx", has_arg = 0, flag = 0x7ef2d4, val = 1}, {name = 0x607d3a "readnow", has_arg = 0, flag = 0x80a1a8, val = 1}, {name = 0x607d42 "r", has_arg = 0, flag = 0x80a1a8, val = 1}, { name = 0x607d44 "quiet", has_arg = 0, flag = 0x7ef2f0, val = 1}, {name = 0x607d4a "q", has_arg = 0, flag = 0x7ef2f0, val = 1}, {name = 0x607d4c "silent", has_arg = 0, flag = 0x7ef2f0, val = 1}, {name = 0x607d53 "nx", has_arg = 0, flag = 0x7f0660, val = 1}, {name = 0x607d56 "n", has_arg = 0, flag = 0x7f0660, val = 1}, {name = 0x607d58 "batch", has_arg = 0, flag = 0x7ef2ec, val = 1}, {name = 0x607d5e "epoch", has_arg = 0, flag = 0x809370, val = 1}, {name = 0x607d64 "fullname", has_arg = 0, flag = 0x0, val = 102}, {name = 0x607d6d "f", has_arg = 0, flag = 0x0, val = 102}, {name = 0x607d6f "annotate", has_arg = 1, flag = 0x0, val = 12}, { name = 0x607d78 "help", has_arg = 0, flag = 0x7ef2e4, val = 1}, {name = 0x607d7d "se", has_arg = 1, flag = 0x0, val = 10}, {name = 0x607d80 "symbols", has_arg = 1, flag = 0x0, val = 115}, {name = 0x607d88 "s", has_arg = 1, flag = 0x0, val = 115}, {name = 0x607d8a "exec", has_arg = 1, flag = 0x0, val = 101}, { name = 0x607d8f "e", has_arg = 1, flag = 0x0, val = 101}, {name = 0x607d91 "core", has_arg = 1, flag = 0x0, val = 99}, {name = 0x607d96 "c", has_arg = 1, flag = 0x0, val = 99}, {name = 0x607d98 "pid", has_arg = 1, flag = 0x0, val = 112}, {name = 0x607d9c "p", has_arg = 1, flag = 0x0, val = 112}, { name = 0x607d9e "command", has_arg = 1, flag = 0x0, val = 120}, {name = 0x607da6 "version", has_arg = 0, flag = 0x7ef2e0, val = 1}, {name = 0x607dae "x", has_arg = 1, flag = 0x0, val = 120}, {name = 0x607db0 "ui", has_arg = 1, flag = 0x0, val = 105}, {name = 0x607db3 "interpreter", has_arg = 1, flag = 0x0, val = 105}, {name = 0x607dbf "i", has_arg = 1, flag = 0x0, val = 105}, {name = 0x607dc1 "directory", has_arg = 1, flag = 0x0, val = 100}, {name = 0x607dcb "d", has_arg = 1, flag = 0x0, val = 100}, {name = 0x607dcd "cd", has_arg = 1, flag = 0x0, val = 11}, {name = 0x607dd0 "tty", has_arg = 1, flag = 0x0, val = 116}, { name = 0x607dd4 "baud", has_arg = 1, flag = 0x0, val = 98}, {name = 0x607dd9 "b", has_arg = 1, flag = 0x0, val = 98}, {name = 0x607ddb "nw", has_arg = 0, flag = 0x0, val = 15}, {name = 0x607dde "nowindows", has_arg = 0, flag = 0x0, val = 15}, {name = 0x607de8 "w", has_arg = 0, flag = 0x0, val = 16}, { name = 0x607dea "windows", has_arg = 0, flag = 0x0, val = 16}, {name = 0x607df2 "statistics", has_arg = 0, flag = 0x0, val = 13}, {name = 0x607dfd "write", has_arg = 0, flag = 0x7ef4a8, val = 1}, {name = 0x607e03 "args", has_arg = 0, flag = 0x7ef2e8, val = 1}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}} #29 0x00000000004abc9c in do_catch_errors (uiout=0x7afa80, data=0x7fffffffe710) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:523 args = (struct catch_errors_args *) 0x7fffffffe710 #30 0x00000000004aba33 in catcher (func=0x4abc73 <do_catch_errors>, func_uiout=0x7afa80, func_args=0x7fffffffe710, func_val=0x7fffffffe72c, func_caught=0x7fffffffe728, errstring=0x607e08 "", gdberrmsg=0x0, mask=6) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:430 saved_catch = (sigjmp_buf *) 0x0 catch = {{_sjb = {4897299, 2, 140737488348680, 140737488348880, 140737488349184, 140737488349160, 0, 0, 8258431, 0, 0, 34359738369}}} saved_cleanup_chain = (struct cleanup *) 0x0 saved_error_pre_print = 0x0 saved_quit_pre_print = 0x0 saved_uiout = (struct ui_out *) 0x7afa80 caught = 0 val = -6256 #31 0x00000000004abd04 in catch_errors (func=0x435077 <captured_main>, func_args=0x7fffffffe770, errstring=0x607e08 "", mask=6) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/top.c:535 val = 0 caught = 32 args = {func = 0x435077 <captured_main>, func_args = 0x7fffffffe770} #32 0x0000000000435ef9 in gdb_main (args=0x7fffffffe770) at /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/main.c:814 #33 0x0000000000435030 in main (argc=2, argv=0x7fffffffe7e8) at /usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/gdb.c:35 args = {argc = 2, argv = 0x7fffffffe7e8, use_windows = 0, interpreter_p = 0x607d12 "console"} >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"