From owner-freebsd-current@FreeBSD.ORG Sat Mar 20 13:47:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B31B16A4CE for ; Sat, 20 Mar 2004 13:47:27 -0800 (PST) Received: from mailbox.univie.ac.at (mail.univie.ac.at [131.130.1.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96EDC43D2D for ; Sat, 20 Mar 2004 13:47:26 -0800 (PST) (envelope-from le@FreeBSD.org) Received: from leelou (adslle.cc.univie.ac.at [131.130.102.11]) i2KLlHf31286336 for ; Sat, 20 Mar 2004 22:47:19 +0100 Date: Sat, 20 Mar 2004 22:47:17 +0100 (CET) From: Lukas Ertl To: current@FreeBSD.org In-Reply-To: <20040320222035.U9649@leelou.in.tern> Message-ID: <20040320224556.S9649@leelou.in.tern> References: <20040320222035.U9649@leelou.in.tern> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-DCC-ZID-Univie-Metrics: mailbox 4261; Body=0 Fuz1=0 Fuz2=0 Subject: Re: kgdb segfaulting X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 21:47:27 -0000 On Sat, 20 Mar 2004, Lukas Ertl wrote: > # gdb -k kernel.0 vmcore.0 > [...] > Segmentation fault (core dumped) Here's the backtrace from gdb.core: ---8<--- Script started on Sat Mar 20 22:38:43 2004 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-undermydesk-freebsd"... Core was generated by `gdb'. Program terminated with signal 11, Segmentation fault. #0 0x08198a25 in __vfprintf () (gdb) where #0 0x08198a25 in __vfprintf () #1 0x0816d13a in vasprintf () #2 0x080b19ba in xvasprintf (ret=0xbfbfe4e0, format=0x8210637 "can not access 0x%x, %s\n", ap=0xbfbfe518 "") at /usr/src/contrib/gdb/gdb/utils.c:1123 #3 0x080b27fe in vfprintf_unfiltered (stream=0x827d040, format=0x8210637 "can not access 0x%x, %s\n", args=0xbfbfe518 "") at /usr/src/contrib/gdb/gdb/utils.c:1998 #4 0x080b2891 in fprintf_unfiltered (stream=0x827d040, format=0x8210637 "can not access 0x%x, %s\n") at /usr/src/contrib/gdb/gdb/utils.c:2030 #5 0x080f87ae in xfer_kmem (memaddr=13817010808862801920, myaddr=0xbfbfe630 "", len=256, write=0, attrib=0x8246cdc, target=0x82785e0) at /usr/src/gnu/usr.bin/binutils/gdb/kvm-fbsd.c:653 #6 0x080a6514 in do_xfer_memory (memaddr=13817010808862801920, myaddr=0xbfbfe630 "", len=256, write=0, attrib=0x8246cdc) at /usr/src/contrib/gdb/gdb/target.c:885 #7 0x080a6668 in target_xfer_memory (memaddr=13817010808862801920, myaddr=0xbfbfe630 "", len=256, write=0) at /usr/src/contrib/gdb/gdb/target.c:957 #8 0x080a6445 in target_read_memory (memaddr=4294967296, myaddr=0xbfbfe630 "", len=256) at /usr/src/contrib/gdb/gdb/target.c:831 #9 0x080f82ea in kcore_open ( filename=0x9522ac0 "/usr/local/tmp/crash/vmcore.0", from_tty=1) at /usr/src/gnu/usr.bin/binutils/gdb/kvm-fbsd.c:293 #10 0x0805888c in core_file_command (filename=0xbfbfec48 "vmcore.0", from_tty=1) at /usr/src/contrib/gdb/gdb/corefile.c:79 #11 0x080a90ed in do_captured_command (data=0x0) at /usr/src/contrib/gdb/gdb/top.c:520 #12 0x080a908e in do_catch_errors (uiout=0x82a6680, data=0x0) at /usr/src/contrib/gdb/gdb/top.c:491 #13 0x080a8f86 in catcher (func=0x80a9080 , func_uiout=0x82a6680, func_args=0xbfbfe860, func_val=0xbfbfe858, func_caught=0xbfbfe85c, errstring=0x0, mask=6) at /usr/src/contrib/gdb/gdb/top.c:423 ---Type to continue, or q to quit--- #14 0x080a90c4 in catch_errors (func=0x80a90dc , func_args=0x0, errstring=0x81c0a20 "", mask=6) at /usr/src/contrib/gdb/gdb/top.c:503 #15 0x080a912e in catch_command_errors (command=0, arg=0x0, from_tty=0, mask=6) at /usr/src/contrib/gdb/gdb/top.c:540 #16 0x08078db3 in captured_main (data=0x0) at /usr/src/contrib/gdb/gdb/main.c:602 #17 0x080a908e in do_catch_errors (uiout=0x823dd80, data=0x0) at /usr/src/contrib/gdb/gdb/top.c:491 #18 0x080a8f86 in catcher (func=0x80a9080 , func_uiout=0x823dd80, func_args=0xbfbfeac0, func_val=0xbfbfeab8, func_caught=0xbfbfeabc, errstring=0x0, mask=6) at /usr/src/contrib/gdb/gdb/top.c:423 #19 0x080a90c4 in catch_errors (func=0x807855c , func_args=0x0, errstring=0x81c0a20 "", mask=6) at /usr/src/contrib/gdb/gdb/top.c:503 #20 0x08078f56 in main (argc=4, argv=0x0) at /usr/src/contrib/gdb/gdb/main.c:734 #21 0x08048136 in _start () (gdb) quit Script done on Sat Mar 20 22:38:50 2004 ---8<--- -- Lukas Ertl http://mailbox.univie.ac.at/~le/ le@FreeBSD.org http://people.freebsd.org/~le/