Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129886 - KMail crashed in malloc()
Summary: KMail crashed in malloc()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-13 18:05 UTC by Dima Ryazanov
Modified: 2006-11-14 10:07 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Ryazanov 2006-04-13 18:05:27 UTC
I ran KMail in gdb, trying to track down a different bug, but I got this crash:

#0  0x4e3d8525 in free () from /lib/libc.so.6
#1  0x4e3d9c8d in malloc () from /lib/libc.so.6
#2  0x4e6da478 in operator new () from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/libstdc++.so.6
#3  0x4edd65fd in QGList::append () from /usr/qt/3/lib/libqt-mt.so.3
#4  0x4eabd203 in QApplication::postEvent () from /usr/qt/3/lib/libqt-mt.so.3
#5  0x4eb4eb51 in QWidget::updateGeometry () from /usr/qt/3/lib/libqt-mt.so.3
#6  0x4eab6bbe in QLayout::activate () from /usr/qt/3/lib/libqt-mt.so.3
#7  0x4eab6efa in QLayout::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3
#8  0x4eb1a690 in QObject::activate_filters () from /usr/qt/3/lib/libqt-mt.so.3
#9  0x4eb1a70b in QObject::event () from /usr/qt/3/lib/libqt-mt.so.3
#10 0x4eb53bac in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#11 0x4eabb76a in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
#12 0x4eabc1c9 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#13 0x4f2a7e62 in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4
#14 0x4eabcfc7 in QApplication::sendPostedEvents () from /usr/qt/3/lib/libqt-mt.so.3
#15 0x4eabd156 in QApplication::sendPostedEvents () from /usr/qt/3/lib/libqt-mt.so.3
#16 0x4ea6a72f in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#17 0x4ead1fc9 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#18 0x4eabb0ef in QApplication::enter_loop () from /usr/qt/3/lib/libqt-mt.so.3
#19 0x4eca2a5d in QDialog::exec () from /usr/qt/3/lib/libqt-mt.so.3
#20 0xb7e31095 in AccountsPageReceivingTab::slotModifySelectedAccount () from /usr/kde/3.5/lib/libkmailprivate.so
#21 0xb7e31afa in AccountsPageReceivingTab::qt_invoke () from /usr/kde/3.5/lib/libkmailprivate.so
#22 0x4eb1a939 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#23 0x4ee6d5ed in QListView::doubleClicked () from /usr/qt/3/lib/libqt-mt.so.3
#24 0x4f51b555 in KListView::contentsMouseDoubleClickEvent () from /usr/kde/3.5/lib/libkdeui.so.4
#25 0x4ec33ba4 in QScrollView::viewportMouseDoubleClickEvent () from /usr/qt/3/lib/libqt-mt.so.3
#26 0x4ec30cc8 in QScrollView::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3
#27 0x4ebfd076 in QListView::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3
#28 0x4eb1a690 in QObject::activate_filters () from /usr/qt/3/lib/libqt-mt.so.3
#29 0x4eb1a70b in QObject::event () from /usr/qt/3/lib/libqt-mt.so.3
#30 0x4eb53bac in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#31 0x4eabb76a in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
#32 0x4eabc6c8 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#33 0x4f2a7e62 in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4
#34 0x4ea57609 in QETWidget::translateMouseEvent () from /usr/qt/3/lib/libqt-mt.so.3
#35 0x4ea56b00 in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3
#36 0x4ea6a7ba in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#37 0x4ead1fb0 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#38 0x4ead1eb6 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#39 0x4eabb0bf in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3

I'm using gcc 4.0.3 (as you can see from the stack trace...)
Comment 1 Dima Ryazanov 2006-04-13 19:21:15 UTC
Oh, that's right: emerge --info:

Portage 2.1_pre7-r5 (default-linux/x86/2005.1, gcc-4.0.3, glibc-2.4-r1, 2.6.16-gentoo i686)
=================================================================
System uname: 2.6.16-gentoo i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.noved.org/"
LC_ALL="en_US.UTF-8"
LINGUAS="en uk ru de es"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib acl acpi aim alsa asf audiofile avi bcmath berkdb bitmap-fonts browserplugin bzip2 cairo cdparanoia crypt css cups curl dbus dga directfb divx4linux dri dvd dvdr emboss encode fbcon ffmpeg flash foomaticdb gcj gdbm gif glut gpm gstreamer gtk gtk2 hal icq idn imlib ipv6 isdnlog javascript jikes jpeg jpeg2k kde kdeenablefinal lcms lesstif libg++ libwww litz live lm_sensors logitech-mouse mad mikmod mmx mng mp3 mpeg mplayer msn musicbrainz ncurses nls nptl nsplugin offensive ogg oggvorbis openexr opengl oscar pam pdf pdflib perl pic png povray ppds pppd qt quicktime rdesktop readline real rtc samba scanner sdl session sftplogging slp snmp speex spell sse ssl startup-notification subversion svg tcpd tetex theora tiff timidity truetype truetype-fonts type1-fonts unicode usb vorbis wifi win32codecs xcomposite xine xinerama xml2 xprint xscreensaver xv xvid yahoo zeroconf zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_en linguas_uk linguas_ru linguas_de linguas_es userland_GNU video_cards_radeon video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-04-14 03:48:06 UTC
what's the output of : ldd /usr/qt/3/lib/libqt-mt.so.3

Comment 3 Dima Ryazanov 2006-04-14 08:28:54 UTC
$ ldd /usr/qt/3/lib/libqt-mt.so.3
ldd: warning: you do not have execution permission for `/usr/qt/3/lib/libqt-mt.so.3'
        linux-gate.so.1 =>  (0xffffe000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0x4ef91000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4e7f8000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x4e82d000)
        libz.so.1 => /lib/libz.so.1 (0x4e5be000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x4e7c7000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x4e7d1000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x4e7eb000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x4e7e0000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x4e7db000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x4e854000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4e709000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4e79e000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x4e5d2000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x4e4cc000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x4e5f7000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x4e602000)
        libdl.so.2 => /lib/libdl.so.2 (0x4e4bf000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4e5e2000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/libstdc++.so.6 (0x4e629000)
        libm.so.6 => /lib/libm.so.6 (0x4e497000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/libgcc_s.so.1 (0x4e61c000)
        libc.so.6 => /lib/libc.so.6 (0x4e373000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x4e7f1000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4e77c000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x4e5b9000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x4e4c5000)
        /lib/ld-linux.so.2 (0x80000000)
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2006-11-14 10:07:09 UTC
Assuming this is fixed in the latest kmail. If not, you might want to send a report to bugs.kde.org so they can fix it.