Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273496 - app-emulation/kvm-85-r2: glibc detected *** kvm: double free or corruption
Summary: app-emulation/kvm-85-r2: glibc detected *** kvm: double free or corruption
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 10:20 UTC by Toralf Förster
Modified: 2010-01-12 12:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gdb output (out.txt,7.35 KB, text/plain)
2009-06-11 08:07 UTC, Toralf Förster
Details
backtrace.log (backtrace.log,4.62 KB, text/plain)
2009-06-11 11:24 UTC, Toralf Förster
Details
backtrace.log (bt,5.27 KB, text/plain)
2009-06-12 09:50 UTC, Toralf Förster
Details
backtrace.log (bt,6.95 KB, text/plain)
2009-06-13 09:12 UTC, Toralf Förster
Details
backtrace.log (bt,6.61 KB, text/plain)
2009-06-13 17:47 UTC, Toralf Förster
Details
backtrace.log (bt.txt,4.16 KB, text/plain)
2009-08-05 09:28 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2009-06-10 10:20:53 UTC
Within the KDE4 image I choosed "reboot" and got this :

tfoerste@n22 ~/virtual/kvm $ kvm -hda gentoo_kdevm.img -hdb portage_kdeprefix.img -hdd swap.img -m 768 -smp 2 -vga std -soundhw es1370
audio: Failed to create voice `es1370.adc'
audio: Failed to create voice `es1370.adc'
*** glibc detected *** kvm: double free or corruption (!prev): 0x08cfb998 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7c173e4]
/lib/libc.so.6(cfree+0x9c)[0xb7c18d3c]
kvm[0x80dceb8]
kvm[0x80dcf17]
kvm[0x808a981]
kvm[0x804dfb0]
kvm[0x8180428]
kvm[0x8055072]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7bc2635]
kvm[0x804d4c1]
======= Memory map: ========
08048000-08207000 r-xp 00000000 08:07 959068     /usr/bin/kvm
08207000-08208000 r--p 001be000 08:07 959068     /usr/bin/kvm
08208000-0820b000 rw-p 001bf000 08:07 959068     /usr/bin/kvm
0820b000-0841b000 rw-p 0820b000 00:00 0
08980000-08d70000 rw-p 08980000 00:00 0          [heap]
83700000-83721000 rw-p 83700000 00:00 0
83721000-83800000 ---p 83721000 00:00 0
838b5000-838c1000 r-xp 00000000 08:07 520291     /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1
838c1000-838c2000 r--p 0000b000 08:07 520291     /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1
838c2000-838c3000 rw-p 0000c000 08:07 520291     /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1
838da000-839f4000 rw-s 00000000 00:07 3473416    /SYSV00000000 (deleted)
839f4000-839f5000 ---p 839f4000 00:00 0
839f5000-841f5000 rw-p 839f5000 00:00 0
841f5000-841f6000 ---p 841f5000 00:00 0
841f6000-84a57000 rw-p 841f6000 00:00 0
84a57000-84a5b000 r-xp 00000000 08:07 475675     /usr/lib/libXfixes.so.3.1.0
84a5b000-84a5c000 r--p 00003000 08:07 475675     /usr/lib/libXfixes.so.3.1.0
84a5c000-84a5d000 rw-p 00004000 08:07 475675     /usr/lib/libXfixes.so.3.1.0
84a64000-84a74000 rw-s 00000000 00:07 3276866    /SYSV0056a4d6 (deleted)
84a74000-84c63000 r--p 00000000 08:07 1712151    /usr/lib/locale/locale-archive
84c63000-84c69000 r-xp 00000000 08:07 475977     /usr/lib/libXrandr.so.2.1.0
84c69000-84c6a000 r--p 00005000 08:07 475977     /usr/lib/libXrandr.so.2.1.0
84c6a000-84c6b000 rw-p 00006000 08:07 475977     /usr/lib/libXrandr.so.2.1.0
84c6b000-84c73000 r-xp 00000000 08:07 475703     /usr/lib/libXrender.so.1.3.0
84c73000-84c74000 r--p 00007000 08:07 475703     /usr/lib/libXrender.so.1.3.0
84c74000-84c75000 rw-p 00008000 08:07 475703     /usr/lib/libXrender.so.1.3.0
84c75000-84c83000 r-xp 00000000 08:07 475824     /usr/lib/libXext.so.6.4.0
84c83000-84c84000 r--p 0000d000 08:07 475824     /usr/lib/libXext.so.6.4.0
84c84000-84c85000 rw-p 0000e000 08:07 475824     /usr/lib/libXext.so.6.4.0
84c85000-84c98000 r-xp 00000000 08:07 610354     /lib/libnsl-2.8.so
84c98000-84c99000 r--p 00012000 08:07 610354     /lib/libnsl-2.8.so
84c99000-84c9a000 rw-p 00013000 08:07 610354     /lib/libnsl-2.8.so
84c9a000-84c9c000 rw-p 84c9a000 00:00 0
84c9c000-84ca3000 r-xp 00000000 08:07 610288     /lib/libnss_compat-2.8.so
84ca3000-84ca4000 r--p 00006000 08:07 610288     /lib/libnss_compat-2.8.so
84ca4000-84ca5000 rw-p 00007000 08:07 610288     /lib/libnss_compat-2.8.so
84ca7000-84cb0000 r-xp 00000000 08:07 476135     /usr/lib/libXcursor.so.1.0.2
84cb0000-84cb1000 r--p 00008000 08:07 476135     /usr/lib/libXcursor.so.1.0.2
84cb1000-84cb2000 rw-p 00009000 08:07 476135     /usr/lib/libXcursor.so.1.0.2
84cb2000-84cb3000 r-xp 00000000 08:07 880557     /usr/lib/gconv/ISO8859-1.so
84cb3000-84cb4000 r--p 00001000 08:07 880557     /usr/lib/gconv/ISO8859-1.so
84cb4000-84cb5000 rw-p 00002000 08:07 880557     /usr/lib/gconv/ISO8859-1.so
84cb5000-84cbc000 r--s 00000000 08:07 1665438    /usr/lib/gconv/gconv-modules.cache
84cbc000-84d1f000 rw-p 84cbc000 00:00 0
84d1f000-84d20000 ---p 84d1f000 00:00 0
84d20000-855a2000 rw-p 84d20000 00:00 0
855a5000-855b5000 rw-s 00000000 00:0a 1788       /dev/snd/pcmC0D0p
856cf000-856d0000 ---p 856cf000 00:00 0
856d0000-85ed0000 rw-p 856d0000 00:00 0
85ed0000-85ed1000 ---p 85ed0000 00:00 0
85ed1000-b7b4b000 rw-p 85ed1000 00:00 0
b7b4b000-b7b54000 r-xp 00000000 08:07 610393     /lib/libnss_files-2.8.so
b7b54000-b7b55000 r--p 00008000 08:07 610393     /lib/libnss_files-2.8.so
b7b55000-b7b56000 rw-p 00009000 08:07 610393     /lib/libnss_files-2.8.so
b7b56000-b7b58000 rw-p b7b56000 00:00 0
b7b58000-b7b5c000 r-xp 00000000 08:07 494665     /usr/libAborted


Reproducible: Always




tfoerste@n22 ~/virtual/kvm $ emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29.4 i686)
=================================================================
System uname: Linux-2.6.29.4-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-glibc2.0
Timestamp of tree: Wed, 10 Jun 2009 06:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ ftp://mirror.leaseweb.com/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdda cddax cddb cdio cdr cli consolekit cracklib crypt cups curl dbus dri dvd dvdr dvdread eds emboss encode evo exif fam fastbuild firefox fortran gdbm geoip gif gmp gpm gstreamer gtk hyphenation iconv ipv6 isdnlog java jpeg kde kdeprefix libnotify mad mbox midi mikmod mmx mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection sdl session slp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff tk truetype unicode usb vorbis win32codecs wmf x86 xml xorg xpm xscreensaver xulrunner xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kevin Pyle 2009-06-11 02:57:20 UTC
Since this is fully reproducible for you, could you rebuild kvm with symbols and provide a good backtrace?  See <http://www.gentoo.org/proj/en/qa/backtraces.xml> for details if you are unfamiliar with emerging packages with symbols.
Comment 2 Toralf Förster gentoo-dev 2009-06-11 08:07:27 UTC
Created attachment 194219 [details]
gdb output

Here it is.
Comment 3 Toralf Förster gentoo-dev 2009-06-11 11:24:23 UTC
Created attachment 194230 [details]
backtrace.log

And here's a probably more helpful output :

tfoerste@n22 ~/virtual/kvm $ gdb --args kvm -hda gentoo_kdevm.img -hdb portage_kdeprefix.img -hdd swap.img -smp 2 -m 768 -vga std -soundhw es1370
GNU gdb 6.8
Copyright (C) 2008 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 "i686-pc-linux-gnu"...
(no debugging symbols found)
(gdb) set logging file backtrace.log
(gdb) set logging on
Copying output to backtrace.log.
(gdb) run
Starting program: /usr/bin/kvm -hda gentoo_kdevm.img -hdb portage_kdeprefix.img -hdd swap.img -smp 2 -m 768 -vga std -soundhw es1370
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb7b306d0 (LWP 16431)]
(no debugging symbols found)
[New Thread 0x866aab90 (LWP 16434)]
[New Thread 0x85ea9b90 (LWP 16435)]
[New Thread 0x854f9b90 (LWP 16436)]
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
bt
[New Thread 0x849cfb90 (LWP 16449)]
audio: Failed to create voice `es1370.adc'
audio: Failed to create voice `es1370.adc'
*** glibc detected *** /usr/bin/kvm: free(): invalid next size (normal): 0x09290990 ***
(no debugging symbols found)
======= Backtrace: =========
/lib/libc.so.6[0xb7bf13e4]
/lib/libc.so.6(cfree+0x9c)[0xb7bf2d3c]
/usr/bin/kvm[0x80dceb8]
/usr/bin/kvm[0x80dcf17]
/usr/bin/kvm[0x808a981]
/usr/bin/kvm[0x804dfb0]
/usr/bin/kvm[0x8180428]
/usr/bin/kvm[0x8055072]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7b9c635]
/usr/bin/kvm[0x804d4c1]
======= Memory map: ========
08048000-08207000 r-xp 00000000 08:07 1368108    /usr/bin/kvm
08207000-08208000 r--p 001be000 08:07 1368108    /usr/bin/kvm
08208000-0820b000 rw-p 001bf000 08:07 1368108    /usr/bin/kvm
0820b000-0841b000 rw-p 0820b000 00:00 0
08f17000-09305000 rw-p 08f17000 00:00 0          [heap]
83f00000-83f21000 rw-p 83f00000 00:00 0
83f21000-84000000 ---p 83f21000 00:00 0
84090000-8409c000 r-xp 00000000 08:07 520291     /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1
8409c000-8409d000 r--p 0000b000 08:07 520291     /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1
8409d000-8409e000 rw-p 0000c000 08:07 520291     /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgcc_s.so.1
840b5000-841cf000 rw-s 00000000 00:07 25690180   /SYSV00000000 (deleted)
841cf000-841d0000 ---p 841cf000 00:00 0
841d0000-84a31000 rw-p 841d0000 00:00 0
84a31000-84a35000 r-xp 00000000 08:07 475675     /usr/lib/libXfixes.so.3.1.0
84a35000-84a36000 r--p 00003000 08:07 475675     /usr/lib/libXfixes.so.3.1.0
84a36000-84a37000 rw-p 00004000 08:07 475675     /usr/lib/libXfixes.so.3.1.0
84a3e000-84a4e000 rw-s 00000000 00:07 25526342   /SYSV0056a4d6 (deleted)
84a4e000-84c3d000 r--p 00000000 08:07 1712151    /usr/lib/locale/locale-archive
84c3d000-84c43000 r-xp 00000000 08:07 475977     /usr/lib/libXrandr.so.2.1.0
84c43000-84c44000 r--p 00005000 08:07 475977     /usr/lib/libXrandr.so.2.1.0
84c44000-84c45000 rw-p 00006000 08:07 475977     /usr/lib/libXrandr.so.2.1.0
84c45000-84c4d000 r-xp 00000000 08:07 475703     /usr/lib/libXrender.so.1.3.0
84c4d000-84c4e000 r--p 00007000 08:07 475703     /usr/lib/libXrender.so.1.3.0
84c4e000-84c4f000 rw-p 00008000 08:07 475703     /usr/lib/libXrender.so.1.3.0
84c4f000-84c5d000 r-xp 00000000 08:07 475824     /usr/lib/libXext.so.6.4.0
84c5d000-84c5e000 r--p 0000d000 08:07 475824     /usr/lib/libXext.so.6.4.0
84c5e000-84c5f000 rw-p 0000e000 08:07 475824     /usr/lib/libXext.so.6.4.0
84c5f000-84c72000 r-xp 00000000 08:07 610354     /lib/libnsl-2.8.so
84c72000-84c73000 r--p 00012000 08:07 610354     /lib/libnsl-2.8.so
84c73000-84c74000 rw-p 00013000 08:07 610354     /lib/libnsl-2.8.so
84c74000-84c76000 rw-p 84c74000 00:00 0
84c76000-84c7d000 r-xp 00000000 08:07 610288     /lib/libnss_compat-2.8.so
84c7d000-84c7e000 r--p 00006000 08:07 610288     /lib/libnss_compat-2.8.so
84c7e000-84c7f000 rw-p 00007000 08:07 610288     /lib/libnss_compat-2.8.so
84c81000-84c8a000 r-xp 00000000 08:07 476135     /usr/lib/libXcursor.so.1.0.2
84c8a000-84c8b000 r--p 00008000 08:07 476135     /usr/lib/libXcursor.so.1.0.2
84c8b000-84c8c000 rw-p 00009000 08:07 476135     /usr/lib/libXcursor.so.1.0.2
84c8c000-84c8d000 r-xp 00000000 08:07 880557     /usr/lib/gconv/ISO8859-1.so
84c8d000-84c8e000 r--p 00001000 08:07 880557     /usr/lib/gconv/ISO8859-1.so
84c8e000-84c8f000 rw-p 00002000 08:07 880557     /usr/lib/gconv/ISO8859-1.so
84c8f000-84c96000 r--s 00000000 08:07 1665438    /usr/lib/gconv/gconv-modules.cache
84c96000-84cf9000 rw-p 84c96000 00:00 0
84cf9000-84cfa000 ---p 84cf9000 00:00 0
84cfa000-8557c000 rw-p 84cfa000 00:00 0
8557f000-8558f000 rw-s 00000000 00:0a 1854       /dev/snd/pcmC0D0p
856a9000-856aa000 ---p 856a9000 00:00 0
856aa000-85eaa000 rw-p 856aa000 00:00 0
85eaa000-85eab000 ---p 85eaa000 00:00 0
85eab000-b7b25000 rw-p 85eab000 00:00 0
b7b25000-b7b2e000 r-xp 00000000 08:07 610393     /lib/libnss_files-2.8.so
b7b2e000-b7b2f000 r--p 00008000 08:07 610393     /lib/libnss_files-2.8.so
b7b2f000-b7b30000 rw-p 00009000 08:07 610393     /lib/libnss_files-2.8.so
b7b30000-b7b32000 rw-p b7b30000 00:00 0
b7b32000-b7b36000 r-xp 00000000 08:07 494665     /usr/lib/libXdmcp.so.6.0.0
b7b36000-b7b37000 r--p 00003000 08:07 494665     /usr/lib/libXdmcp.so.6.0.0
b7b37000-b7b38000 rw-p 00004000 08:07 494665     /usr/lib/libXdmcp.so.6.0.0
b7b38000-b7b39000 rw-p b7b38000 00:00 0
b7b39000-b7b3b000 r-xp 00000000 08:07 467508     /usr/lib/libXau.so.6.0.0
b7b3b000-b7b3c000 r--p 00001000 08:07 467508     /usr/lib
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7b306d0 (LWP 16431)]
0xb7fd8424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fd8424 in __kernel_vsyscall ()
#1  0xb7bb0650 in raise () from /lib/libc.so.6
#2  0xb7bb1e88 in abort () from /lib/libc.so.6
#3  0xb7beb5dd in ?? () from /lib/libc.so.6
#4  0x00000019 in ?? ()
#5  0xbf8f0fd4 in ?? ()
#6  0x00000400 in ?? ()
#7  0xb7ca8b20 in ?? () from /lib/libc.so.6
#8  0x00000017 in ?? ()
#9  0xbf8f3ed0 in ?? ()
#10 0x0000000c in ?? ()
#11 0xb7ca8b39 in ?? () from /lib/libc.so.6
#12 0x00000002 in ?? ()
#13 0xb7ca8b90 in ?? () from /lib/libc.so.6
#14 0x00000022 in ?? ()
#15 0xb7ca8b3d in ?? () from /lib/libc.so.6
#16 0x00000004 in ?? ()
#17 0xbf8f1503 in ?? ()
#18 0x00000008 in ?? ()
#19 0xb7ca8b43 in ?? () from /lib/libc.so.6
#20 0x00000005 in ?? ()
#21 0x00000018 in ?? ()
#22 0x00000002 in ?? ()
#23 0x840b5000 in ?? ()
#24 0x00000000 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
Comment 4 Kevin Pyle 2009-06-12 02:35:31 UTC
Unfortunately, no, that output is not particularly helpful.  Your kvm binary is still stripped, so the backtrace does not reveal any useful information.  Did you rebuild app-emulation/kvm with "-g -ggdb" in your CFLAGS?  Did you modify FEATURES to include either splitdebug or nostrip?
Comment 5 Toralf Förster gentoo-dev 2009-06-12 09:50:25 UTC
Created attachment 194360 [details]
backtrace.log

Yep, CFLAGS + FEATURES weren't used (set too early wihtin make.conf) - here's a hopefully more usefully back trace.
Comment 6 Kevin Pyle 2009-06-12 23:06:32 UTC
You are getting closer.  gdb is no longer raising warnings about missing debug symbols, so I think it found them.  However, the automatic stack walk performed by glibc did not use them.  I see that you ran bt early on, before anything happened.  You need to run bt right before you quit out of gdb.  Since gdb will hopefully use the symbols, the bt run at program termination will show where the program died.
Comment 7 Toralf Förster gentoo-dev 2009-06-13 09:12:36 UTC
Created attachment 194500 [details]
backtrace.log

Next try (gdb is really new for me) - immediately before and after I clicked at "Shutdown" within the KDE4 image I typed "bt" into the gdb terminal.
Comment 8 Kevin Pyle 2009-06-13 15:32:34 UTC
gdb only takes input when the target is stopped.  However, since you entered the bt early, it remained in the input queue and gdb read it when the target stopped due to the SIGABRT.  Thus, the bt ran at the right time, but we still have no useful information.  It looks like you built glibc, and possibly kvm itself, with -fomit-frame-pointer.  This is bad for debugging in 32-bit systems, because the debugger relies on the frame pointer to get a good stack.  The full explanation of why this happens is in the fourth paragraph of section "Compiler flags" in the backtrace document I linked in comment #1.

You need to rebuild at least those two packages, and preferably any major libraries that KVM will be loading, without -fomit-frame-pointer.  Since you are rebuilding them, you may as well build them with CFLAGS+="-g -ggdb" and FEATURES=splitdebug so that you get full information for all of them.

It does you no good now, but it is worth noting for future reference that amd64 targets, which your CPU is capable of running, can construct a backtrace with -fomit-frame-pointer enabled.
Comment 9 Toralf Förster gentoo-dev 2009-06-13 17:47:45 UTC
Created attachment 194578 [details]
backtrace.log

recompiled both kvm and glibc with :

tfoerste@n22 ~/virtual/kvm $ grep -e ^CFL -e ^FEAT /etc/make.conf
CFLAGS="-O1 -march=core2 -pipe -g -ggdb"
FEATURES="ccache parallel-fetch splitdebug"

(BTW if I change CFLAGS back to "CFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe"" can I still leave FEATURES as it is set currently ?)
Comment 10 Kevin Pyle 2009-06-14 17:26:41 UTC
That is a good backtrace.  Now, someone needs to examine it to understand why the double-free occurred.  Barring further requests, your work here is done.

You can leave FEATURES as-is, but there is not much point to it.  Since you are not requesting debug information be generated, there will be little, if anything, for splitdebug to split out.  In any case, you can put your CFLAGS back as they were.
Comment 11 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-07-23 16:46:49 UTC
I'm sorry for the delay; but in the interim, 88 has come out and been put in the tree.  Does this still happen with 88?
Comment 12 Toralf Förster gentoo-dev 2009-07-23 16:51:45 UTC
(In reply to comment #11)
> I'm sorry for the delay; but in the interim, 88 has come out and been put in
> the tree.  Does this still happen with 88?
> 
W/ 88 it crashes w/ a different reason, but b/c of the performance decrease I went back to 85-r2.
Comment 13 Toralf Förster gentoo-dev 2009-08-05 09:28:50 UTC
Created attachment 200241 [details]
backtrace.log

B/C similar issue w/ current version I appended the appropriate backtrace here.
Comment 14 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-09-21 15:04:51 UTC
I can't maintain kvm anymore.
Comment 15 Toralf Förster gentoo-dev 2010-01-12 12:25:06 UTC
I continue this at source fourge (see URL).