WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] gdbserver-xen crash with core file
From: Aneesh Kumar <aneesh.kumar@xxxxxxxxx>
Date: 2005年10月11日 14:52:56 +0530
Delivery-date: 2005年10月11日 17:46:08 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=NsJTDCeTki+DXBrqsA1Xm3mqrWefBAj7Xkkr4rsxnaKU8GFiBQ4QIAsmqQcEXgKjWw6lPWxXRn7mOjXQAfMaO/N1US9N5cZRZVyHGVt09/aXJZKXbcaJuPE3Ro423U7m1x5Ykln/0yPF56XEoc2GdIVDptw6c36XYSw14Wp57B4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
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
coredumps.
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 127.0.0.1:9999 --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
"T0505:b4ff5ac3;04:9cff5ac3;08:431b16c0;")
 at ../../../gdb-6.2.1/gdb/gdbserver/remote-utils.c:273
#3 0x0804b27e in main (argc=4, argv=0xbfb492f4) at
../../../gdb-6.2.1/gdb/gdbserver/server.c:590
(gdb)
Any ideas ?
-aneesh
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH][RESEND] Fix compilation issues in xend , Jerone Young
Next by Date: [Xen-devel] Xen 3.0 Status? , Dave Feustel
Previous by Thread: [Xen-devel] [PATCH][RESEND] Fix compilation issues in xend , Jerone Young
Next by Thread: Re: [Xen-devel] gdbserver-xen crash with core file , Kip Macy
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /