[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] gdbserver-xen crash with core file

  • To: Aneesh Kumar <aneesh.kumar@xxxxxxxxx>
  • From: Kip Macy <kip.macy@xxxxxxxxx>
  • Date: Tue, 11 Oct 2005 11:04:18 -0700
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 11 Oct 2005 18:01:41 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Kzy5mOOtEboSDn/hXyFci1RXOPC7GjZjkkfwaOYCWncaMe4D1L33iowxC32BKhDdnSW2FivrLVFyg4NePUWvTnRAqyqvtUtroLFw6qbM3lFxKjOTgynNfxxlkUqMuo0aUiXzMQ9PEJPws2PWEa7utrQWMWGGXg1KvQrj9+1daA8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I've seen this on a friend's machine running Debian. I haven't seen this on other distributions leading me to believe that it is specific to their glibc.  As unenjoyable as it may be, re-compiling glibc with symbols is your best bet.


On 10/11/05, Aneesh Kumar <aneesh.kumar@xxxxxxxxx> wrote:

gdbserver-xen coredump after i step through a few lines of code.

build dom0 with debug_domu. Enable debuginfo and frame pointer for dom
U and attach the domu with gdbserver . In gdb put breakpoint at say
sys_open and after going through few lines of code  gdbserver-xen

The resulting core file has the below stack

$gdb /usr/local/bin/gdbserver-xen  ./core
GNU gdb 6.3-debian
Copyright 2004 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-linux"...Using host libthread_db
library "/lib/libthread_db.so.1".

Core was generated by `gdbserver-xen --attach 6'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /usr/lib/libxenctrl.so.3.0...done.
Loaded symbols for /usr/lib/libxenctrl.so.3.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0xb7e35e35 in mallopt () from /lib/libc.so.6
(gdb) where
#0  0xb7e35e35 in mallopt () from /lib/libc.so.6
#1  0xb7e34fb3 in malloc () from /lib/libc.so.6
#2  0x08049eca in putpkt (buf=0x8053090
    at ../../../gdb-6.2.1/gdb/gdbserver/remote-utils.c:273
#3  0x0804b27e in main (argc=4, argv=0xbfb492f4) at

Any ideas ?


Xen-devel mailing list

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.