|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] gdbserver-xen crash with core file
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>
|
- [Xen-devel] gdbserver-xen crash with core file,
Aneesh Kumar <=
|
|
|
|
|