Bug 133753 - kmail crashed on compressing attachment
Summary: kmail crashed on compressing attachment
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.4
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-08 13:19 UTC by kavol
Modified: 2011-04-22 18:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: kdepim 4.6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2006-09-08 13:19:47 UTC
Version:           1.9.4 (using KDE KDE 3.5.4)
Installed from:    Gentoo Packages
Compiler:          gcc version 4.1.1 (Gentoo 4.1.1) 
OS:                Linux

just opened a new message, written address, clicked on attach, selected file, and kmail crashed right after clicking the checkbox for compressing the attachment ...

Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1248916736 (LWP 6318)]
[New Thread -1277731936 (LWP 6322)]
[New Thread -1269339232 (LWP 6321)]
[New Thread -1260946528 (LWP 6320)]
[New Thread -1252553824 (LWP 6319)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb593c681 in raise () from /lib/libc.so.6
#8  0xb593dcd9 in abort () from /lib/libc.so.6
#9  0xb5935ebc in __assert_fail () from /lib/libc.so.6
#10 0xb7d2e542 in KMMessagePart::bodyDecodedBinary (this=0x86ce748)
    at kmmsgpart.cpp:303
#11 0xb7cfa3a5 in KMComposeWin::compressAttach (this=0x8865058, idx=0)
    at kmcomposewin.cpp:2992
#12 0xb7d09a24 in KMComposeWin::qt_invoke (this=0x8865058, _id=162, 
    _o=0xbfc77f40) at kmcomposewin.moc:486
#13 0xb602a479 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#14 0xb602afc2 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#15 0xb7e25e34 in KMAtmListViewItem::compress (this=0x8803968, t0=0)
    at kmatmlistview.moc:96
#16 0xb7e25ef6 in KMAtmListViewItem::slotCompress (this=0x8803968)
    at kmatmlistview.cpp:281
#17 0xb7e25f3d in KMAtmListViewItem::qt_invoke (this=0x86be270, _id=2, 
    _o=0xbfc78030) at kmatmlistview.moc:108
#18 0xb602a479 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#19 0xb602b0cd in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#20 0xb636a34c in QButton::clicked () from /usr/qt/3/lib/libqt-mt.so.3
#21 0xb60be1bc in QButton::mouseReleaseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#22 0xb606305e in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#23 0xb5fcb447 in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#24 0xb5fcc228 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#25 0xb666956b in KApplication::notify (this=0xbfc78808, receiver=0x877d248, 
    event=0xbfc78394) at kapplication.cpp:550
#26 0xb5f6bf32 in QETWidget::translateMouseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#27 0xb5f6b810 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#28 0xb5f7b571 in QEventLoop::processEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
#29 0xb5fe1fd1 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#30 0xb5fe1e56 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#31 0xb5fcaecf in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#32 0x0804a890 in main (argc=7, argv=0xbfc78a94) at main.cpp:110
Comment 1 Tommi Tervo 2006-09-08 14:28:16 UTC
similar closed bug:
http://bugs.kde.org/show_bug.cgi?id=113575
Comment 2 Christoph Burger-Scheidlin 2006-09-08 23:49:42 UTC
I use 1.94 on gentoo with gcc 4.1.1 and I don't get that problem. What file are you trying to compress.

I emerged kmail-3.5.4-r1 -arts +crypt -debug +kdeenablefinal +kdehiddenvisibility +xinerama
Comment 3 kavol 2006-09-09 08:01:28 UTC
ok, we are not in Gentoo bugzilla, but ... see below ;-)

as for the file - it was ~1.2 MB logfile with "normal" name stored in "normal" directory ("normal" I mean not long and no spaces or non-ascii characters in name, which was a favourite cause of troubles in some software in the "early days")

this problem is not reproducible - it was a random bug, it worked on the second try, but above is the backtrace so the developers should know where to look for some potential problems ...


# emerge --info
Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac alsa amr berkdb bitmap-fonts cli crypt cups dlloader dri encode ffmpeg flac fortran gdbm gpm imlib ipv6 isdnlog java jpeg jpeg2k kde ldap libg++ mad mmx mp3 mp4 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pda perl png ppds pppd python readline reflection scanner sdl session spl ssl tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode vorbis x264 xmms xorg xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_cs userland_GNU video_cards_i810 video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Christophe Marin 2011-04-22 18:32:07 UTC
Cannot reproduce with KMail2. Closing.