Package: gdb
Version: 7.1-1+b1
Severity: normal

I was testing virt-manager, and python keeps crashing.
So I launched it under gdb ... and after a while ... gdb dumped core!

I don't have exact steps to reproduce this (other than create new VM in
virt-manager, install something on it, open/close consoles, wait for crash)

$ uname -a
Linux debian 2.6.35 #87 SMP PREEMPT Tue Aug 10 12:04:19 EEST 2010 x86_64 
GNU/Linux

$ gdb /usr/bin/python2.6
[...]
(gdb) set follow-fork child
(gdb) run /usr/share/virt-manager/virt-manager.py"
[...]
[Thread 0x7ffff2b3e710 (LWP 29339) exited]
[New process 29351]
[Thread debugging using libthread_db enabled]
process 29351 is executing new program: /bin/bash
[New process 29352]
process 29352 is executing new program: /sbin/ifconfig
Segmentation fault (core dumped)

I've uploaded the core here:
https://docs.google.com/leaf?id=0BzcR8rd83VNNN2MwZTkwYjUtMjI5My00ZWI5LTk2OTQtZTAwYTU2ZDIxYzNk&hl=en

I'll try to run gdb itself under gdb, maybe I get a better stacktrace (using
debug symbols for libc).

dmesg only records the segfault, nothing else around that time:
[ 6603.184548] virbr0: port 2(vnet1) entering disabled state
[ 6623.773918] gdb[22627]: segfault at 0 ip 000000311927a0aa sp 
00007fffdf883b68 error 4 in libc-2.11.2.so[3119200000+158000]
[ 7993.784837] gdb[22659]: segfault at 0 ip 000000311927a0aa sp 
00007fffb4007cd8 error 4 in libc-2.11.2.so[3119200000+158000]
[ 8075.622492] device vnet1 entered promiscuous mode

And here is the stacktrace:

$ gdb /usr/bin/gdb -c /var/tmp/cores/core.gdb.11.22659
GNU gdb (GDB) 7.1-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gdb...(no debugging symbols found)...done.
[New Thread 22659]

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libreadline.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libreadline.so.6
Reading symbols from /lib/libncurses.so.5...Reading symbols from 
/usr/lib/debug/lib/libncurses.so.5.7...done.
done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libm.so.6...Reading symbols from 
/usr/lib/debug/lib/libm-2.11.2.so...done.
done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libpython2.6.so.1.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libpython2.6.so.1.0
Reading symbols from /usr/lib/libexpat.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /lib/libdl.so.2...Reading symbols from 
/usr/lib/debug/lib/libdl-2.11.2.so...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...Reading symbols from 
/usr/lib/debug/lib/libc-2.11.2.so...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /lib/libpthread.so.0...Reading symbols from 
/usr/lib/debug/lib/libpthread-2.11.2.so...done.
done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libutil.so.1...Reading symbols from 
/usr/lib/debug/lib/libutil-2.11.2.so...done.
done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from 
/usr/lib/debug/lib/ld-2.11.2.so...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `gdb /usr/bin/python2.6'.
Program terminated with signal 11, Segmentation fault.
#0  __strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:33
33      ../sysdeps/x86_64/multiarch/../strchr.S: No such file or directory.
        in ../sysdeps/x86_64/multiarch/../strchr.S
(gdb) bt
#0  __strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:33
#1  0x0000000000484d75 in linux_nat_core_of_thread_1 ()
#2  0x000000000048836a in ?? ()
#3  0x0000000000489089 in ?? ()
#4  0x0000000000550eac in target_wait ()
#5  0x000000000052b510 in wait_for_inferior ()
#6  0x000000000052b8a7 in proceed ()
#7  0x0000000000521fc8 in ?? ()
#8  0x00000000004588ed in execute_command ()
#9  0x0000000000538e9b in ?? ()
#10 0x0000000000539b0c in ?? ()
#11 0x00000031e322b9ae in rl_callback_read_char () from /lib/libreadline.so.6
#12 0x0000000000538fe9 in ?? ()
#13 0x0000000000537908 in ?? ()
#14 0x0000000000538a3a in gdb_do_one_event ()
#15 0x0000000000532bfb in catch_errors ()
#16 0x00000000004bdda0 in ?? ()
#17 0x00000000004503e9 in ?? ()
#18 0x0000000000532bfb in catch_errors ()
#19 0x000000000044fe36 in ?? ()
#20 0x0000000000532bfb in catch_errors ()
#21 0x000000000044f264 in gdb_main ()
#22 0x000000000044f22e in main ()

Let me know if you need any other information.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gdb depends on:
ii  gdbserver                 7.1-1+b1       The GNU Debugger (remote server)
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib
ii  libexpat1                 2.0.1-7        XML parsing C library - runtime li
ii  libncurses5               5.7+20100313-2 shared libraries for terminal hand
ii  libpython2.6              2.6.6~rc1-1    Shared Python runtime library (ver
ii  libreadline6              6.1-3          GNU readline and history libraries
ii  zlib1g                    1:1.2.5.dfsg-1 compression library - runtime

gdb recommends no packages.

Versions of packages gdb suggests:
ii  gdb-doc                       7.1-1      The GNU Debugger Documentation

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to