Version: 4.0 beta3 (using 4.00.80 (KDE 4.0.80 >= 20080104), Gentoo) Compiler: i686-pc-linux-gnu-gcc OS: Linux (i686) release 2.6.23-gentoo-r3 Steps to reproduce: 1) Open Kontact 2) Open KMail 3) Click on any of the emails in your email account. 4) Create a new task from that email 5) Go to "Attachments" tab 6) Click on (open) the email message that is displayed there 7) See Kontact crash. I use kdepimlibs r767495 and kdepim r765208. Backtrace: Application: Kontact (kontact), signal SIGABRT Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb531c6d0 (LWP 5980)] [KCrash handler] #6 0xffffe410 in __kernel_vsyscall () #7 0xb56b11f1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #8 0xb56b29b8 in *__GI_abort () at abort.c:88 #9 0xb7d82265 in qt_message_output (msgType=QtFatalMsg, buf=0xbfa62a4c "ASSERT: \"!isEmpty()\" in file /usr/include/qt4/QtCore/qlist.h, line 242") at global/qglobal.cpp:2160 #10 0xb7d8232a in qFatal (msg=0xb7e8987c "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2392 #11 0xb7d82555 in qt_assert (assertion=0xb3bf5bed "!isEmpty()", file=0xb3bf5954 "/usr/include/qt4/QtCore/qlist.h", line=242) at global/qglobal.cpp:1917 #12 0xb3afd95a in QList<QString>::first (this=0xbfa64b34) at /usr/include/qt4/QtCore/qlist.h:242 #13 0xb3b70cc0 in KOEditorAttachments::showAttachment (this=0x879cae0, item=0x87aa040) at /var/tmp/portage/kde-base/kdepim-9999.4/work/kdepim-9999.4/korganizer/koeditorattachments.cpp:647 #14 0xb3b75732 in KOEditorAttachments::qt_metacall (this=0x879cae0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfa6506c) at /var/tmp/portage/kde-base/kdepim-9999.4/work/kdepim_build/korganizer/koeditorattachments.moc:142 #15 0xb7e681f4 in QMetaObject::activate (sender=0x879d668, from_signal_index=80, to_signal_index=80, argv=<value optimized out>) at kernel/qobject.cpp:3081 #16 0xb7e68d94 in QMetaObject::activate (sender=0x879d668, m=0xb6310bc0, local_signal_index=0, argv=0xbfa6506c) at kernel/qobject.cpp:3140 #17 0xb62b33d1 in K3IconView::executed (this=0x879d668, _t1=0x87aa040) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kde3support/k3iconview.moc:141 #18 0xb62b554d in K3IconView::emitExecute (this=0x879d668, item=0x87aa040, pos=@0xbfa656c0) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kde3support/kdeui/k3iconview.cpp:252 #19 0xb62b55cf in K3IconView::slotMouseButtonClicked (this=0x879d668, btn=1, item=0x87aa040, pos=@0xbfa656c0) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kde3support/kdeui/k3iconview.cpp:328 #20 0xb62b60a2 in K3IconView::qt_metacall (this=0x879d668, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfa655d4) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kde3support/k3iconview.moc:102 #21 0xb7e681f4 in QMetaObject::activate (sender=0x879d668, from_signal_index=62, to_signal_index=62, argv=<value optimized out>) at kernel/qobject.cpp:3081 #22 0xb7e68d94 in QMetaObject::activate (sender=0x879d668, m=0xb6683048, local_signal_index=12, argv=0xbfa655d4) at kernel/qobject.cpp:3140 #23 0xb65f9030 in Q3IconView::mouseButtonClicked (this=0x879d668, _t1=1, _t2=0x87aa040, _t3=@0xbfa656c0) at .moc/debug-shared/moc_q3iconview.cpp:388 #24 0xb645594b in Q3IconView::contentsMouseReleaseEvent (this=0x879d668, e=0xbfa656a8) at itemviews/q3iconview.cpp:4459 #25 0xb62b517b in K3IconView::contentsMouseReleaseEvent (this=0x879d668, e=0xbfa656a8) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kde3support/kdeui/k3iconview.cpp:334 #26 0xb64e3fde in Q3ScrollView::viewportMouseReleaseEvent (this=0x879d668, e=0xbfa65d84) at widgets/q3scrollview.cpp:1780 #27 0xb64e5206 in Q3ScrollView::eventFilter (this=0x879d668, obj=0x879dd40, e=0xbfa65d84) at widgets/q3scrollview.cpp:1498 #28 0xb645f4a5 in Q3IconView::eventFilter (this=0x879d668, o=0x879dd40, e=0xbfa65d84) at itemviews/q3iconview.cpp:5496 #29 0xb6d26d9b in QApplicationPrivate::notify_helper (this=0x8064960, receiver=0x879dd40, e=0xbfa65d84) at kernel/qapplication.cpp:3548 #30 0xb6d28a2c in QApplication::notify (this=0xbfa66310, receiver=0x879dd40, e=0xbfa65d84) at kernel/qapplication.cpp:3255 #31 0xb79d9543 in KApplication::notify (this=0xbfa66310, receiver=0x879dd40, event=0xbfa65d84) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/kernel/kapplication.cpp:310 #32 0xb7e54d7b in QCoreApplication::notifyInternal (this=0xbfa66310, receiver=0x879dd40, event=0xbfa65d84) at kernel/qcoreapplication.cpp:530 #33 0xb6d8c628 in QETWidget::translateMouseEvent (this=0x879dd40, event=0xbfa66148) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:203 #34 0xb6d8ae8e in QApplication::x11ProcessEvent (this=0xbfa66310, event=0xbfa66148) at kernel/qapplication_x11.cpp:2913 #35 0xb6db0c45 in QEventDispatcherX11::processEvents (this=0x805b2f0, flags=@0xbfa66234) at kernel/qeventdispatcher_x11.cpp:125 #36 0xb7e54191 in QEventLoop::processEvents (this=0xbfa662a0, flags=@0xbfa66268) at kernel/qeventloop.cpp:140 #37 0xb7e5429a in QEventLoop::exec (this=0xbfa662a0, flags=@0xbfa662a8) at kernel/qeventloop.cpp:186 #38 0xb7e56626 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:759 #39 0xb6d26487 in QApplication::exec () at kernel/qapplication.cpp:3053 #40 0x0804b3f5 in main (argc=1, argv=0xbfa664a4) at /var/tmp/portage/kde-base/kdepim-9999.4/work/kdepim-9999.4/kontact/src/main.cpp:162 #41 0xb569dfdc in __libc_start_main (main=0x804ab60 <main>, argc=1, ubp_av=0xbfa664a4, init=0x804c180 <__libc_csu_init>, fini=0x804c170 <__libc_csu_fini>, rtld_fini=0xb7f18100 <_dl_fini>, stack_end=0xbfa6649c) at libc-start.c:229 #42 0x0804a791 in _start () #0 0xffffe410 in __kernel_vsyscall ()
I can confirm this crash using kdepim3-3.5.7.enterprise.0.20071221.751182-38.2 under kdebase3-3.5.8-32.1 (openSuSE RPMs, recompiled on SuSE 9.3). I created two tasks from two different mails. The first one successfully created a task, the second mail (has attachments) and crashed kontact/korganizer resp. korgac. Both tasks were saved into to OpenXchange Server 5 using the OpenXchange plugin. After a while (!) I was able to reopen my korganiser and my korgac without having them crash ... I still beleive the OpenXchange plugin has a memory leak when transferring lots of data over a 100 MBit network respectively having a slow network connection, like a 2 MBit DSL at home. Here is the backtrace of korgac: ---------------- Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1098586944 (LWP 25284)] [KCrash handler] #9 0x40f3a903 in strlen () from /lib/tls/libc.so.6 #10 0x40c4b4f4 in QString::fromUtf8 () from /usr/lib/qt3/lib/libqt-mt.so.3 #11 0x4008ba82 in Attachment (this=0x84628c8, base64=0x4231e008 <Address 0x4231e008 out of bounds>, mime=@0x4231e008) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/libkcal/attachment.cpp:47 #12 0x400bad84 in KCal::ICalFormatImpl::readAttachment (this=0x8216428, attach=0x8292610) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/libkcal/icalformatimpl.cpp:1246 #13 0x400bca3b in KCal::ICalFormatImpl::readIncidence (this=0x8216428, parent=0x8267f58, tz=0x0, incidence=) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/libkcal/icalformatimpl.cpp:1409 #14 0x400bde7b in KCal::ICalFormatImpl::readTodo (this=0x8216428, vtodo=0x8267f58) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/libkcal/icalformatimpl.cpp:899 #15 0x400be65e in KCal::ICalFormatImpl::populate (this=0x8216428, cal=0x8207f80, calendar=0x82163f0) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/libkcal/icalformatimpl.cpp:2024 #16 0x400b771c in KCal::ICalFormat::fromRawString (this=0xbfffdb50, cal=0x8207f80, text=@0x4231e008) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/libkcal/icalformat.cpp:184 #17 0x400b7dec in KCal::ICalFormat::load (this=0xbfffdb50, calendar=0x4231e008, fileName=@0x4231e008) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/libkcal/icalformat.cpp:98 #18 0x400e6e28 in KCal::FileStorage::load (this=0xbfffdba0) at calstorage.h:42 #19 0x400a9124 in KCal::CalendarLocal::load (this=0x8207f80, fileName=@0xbfffdba0, format=0x4231e008) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/libkcal/calendarlocal.cpp:66 #20 0x400f1e5a in KCal::ResourceCached::loadCache (this=0x8207f48) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/libkcal/resourcecached.cpp:287 #21 0x41dbc361 in KCalResourceSlox::doLoad (this=0x8207f48) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/kresources/slox/kcalresourceslox.cpp:169 #22 0x400e9adf in KCal::ResourceCalendar::load (this=0x8207f48) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/libkcal/resourcecalendar.cpp:123 #23 0x400fa55e in KCal::CalendarResources::load (this=0x81e1010) at manager.h:138 #24 0x0805907f in KOAlarmClient (this=0x819cb10, parent=0x4231e008, name=0x4231e008 <Address 0x4231e008 out of bounds>) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/korganizer/korgac/koalarmclient.cpp:59 #25 0x08052b67 in MyApp::newInstance (this=<value optimized out>) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/korganizer/korgac/korgacmain.cpp:45 #26 0x4061374a in KUniqueApplication::processDelayed (this=0xbfffe870) at kuniqueapplication.cpp:444 #27 0x4061ae7c in KUniqueApplication::qt_invoke (this=0xbfffe870, _id=19, _o=0x4231e008) at kuniqueapplication.moc:86 #28 0x4095ab3e in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #29 0x40cb4e12 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #30 0x40977ef3 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3 #31 0x4097fab3 in QSingleShotTimer::event () from /usr/lib/qt3/lib/libqt-mt.so.3 #32 0x408f6fcf in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3 #33 0x408f8bb3 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3 #34 0x40606221 in KApplication::notify (this=0xbfffe870, receiver=0x81987e0, event=0xbfffe600) at kapplication.cpp:552 #35 0x408eb4da in QEventLoop::activateTimers () from /usr/lib/qt3/lib/libqt-mt.so.3 #36 0x408a2d59 in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3 #37 0x4090ed91 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3 #38 0x4090ebd6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #39 0x408f8a7f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #40 0x08052ac8 in main (argc=1110564872, argv=0x4231e008) at /usr/src/packages/BUILD/kdepim-3.5.6.enterprise.0.20071221.751182/korganizer/korgac/korgacmain.cpp:85 ----------------
Closing this bug as I cannot reproduce the crash any longer.