Bug 285353

Summary: Kontact Email crashes every time
Product: [Applications] kontact Reporter: Andreas Kamentz <andreas>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andreas
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Kamentz 2011-10-30 21:24:50 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
every time when trying to open Kontact with Email enabled, it crashes with an error message like "could not download resources, program will end" or similar. I have no clue what I can do - help docs does not give any explanation.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7728730 (LWP 2332))]

Thread 4 (Thread 0xb67dfb70 (LWP 2333)):
#0  0x009c9416 in __kernel_vsyscall ()
#1  0x00db9a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00bf9cfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x02b6b883 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0x02b6b99f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x00db5d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x00bec0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb5eb6b70 (LWP 2334)):
#0  0x00d3cd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x010867d5 in do_gettime (frac=0xb5eb6050, sec=0xb5eb6048) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x011594b6 in QTimerInfoList::updateCurrentTime (this=0x8529b44) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0115980a in QTimerInfoList::timerWait (this=0x8529b44, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x01158053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb5eb613c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0154988c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x0154a637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x0154ac2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x01158b37 in QEventDispatcherGlib::processEvents (this=0x8506b48, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#10 0x011291dd in QEventLoop::processEvents (this=0xb5eb62c0, flags=...) at kernel/qeventloop.cpp:149
#11 0x01129421 in QEventLoop::exec (this=0xb5eb62c0, flags=...) at kernel/qeventloop.cpp:201
#12 0x0102c90b in QThread::exec (this=0x85063c8) at thread/qthread.cpp:498
#13 0x0102c9fb in QThread::run (this=0x85063c8) at thread/qthread.cpp:565
#14 0x0102f7b3 in QThreadPrivate::start (arg=0x85063c8) at thread/qthread_unix.cpp:331
#15 0x00db5d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x00bec0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb3d6fb70 (LWP 2344)):
#0  0x00d3cd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x010867d5 in do_gettime (frac=0xb3d6f000, sec=0xb3d6eff8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x011594b6 in QTimerInfoList::updateCurrentTime (this=0x885facc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0115980a in QTimerInfoList::timerWait (this=0x885facc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x01158053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb3d6f10c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x011580ed in timerSourcePrepare (source=0x885fa98, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0154988c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x0154a637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x0154ac2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01158b37 in QEventDispatcherGlib::processEvents (this=0x88515b8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x011291dd in QEventLoop::processEvents (this=0xb3d6f290, flags=...) at kernel/qeventloop.cpp:149
#12 0x01129421 in QEventLoop::exec (this=0xb3d6f290, flags=...) at kernel/qeventloop.cpp:201
#13 0x0102c90b in QThread::exec (this=0x88b3968) at thread/qthread.cpp:498
#14 0x01109e2d in QInotifyFileSystemWatcherEngine::run (this=0x88b3968) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0102f7b3 in QThreadPrivate::start (arg=0x88b3968) at thread/qthread_unix.cpp:331
#16 0x00db5d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x00bec0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7728730 (LWP 2332)):
[KCrash Handler]
#7  KMail::IdentityPage::IdentityPage (this=0xabc5970, instance=..., parent=0xa3c6360) at ../../kmail/identitypage.cpp:53
#8  0x079b60ee in create_kmail_config_identity (parent=0xa3c6360) at ../../kmail/kcm_kmail.cpp:72
#9  0x0095d71d in KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0xa3c6360, args=...) at ../../kutils/kcmoduleloader.cpp:113
#10 0x00962159 in KCModuleProxyPrivate::loadModule (this=0xabbec60) at ../../kutils/kcmoduleproxy.cpp:106
#11 0x00962fa4 in KCModuleProxy::realModule (this=0xa3c6360) at ../../kutils/kcmoduleproxy.cpp:83
#12 0x00963322 in KCModuleProxy::useRootOnlyMessage (this=0xa3c6360) at ../../kutils/kcmoduleproxy.cpp:315
#13 0x0095ed74 in KCMultiDialog::addModule (this=0xa2dd648, moduleInfo=..., parentItem=0xa254ab8, args=...) at ../../kutils/kcmultidialog.cpp:390
#14 0x00974c81 in KSettings::DialogPrivate::createDialogFromServices (this=0x8569af8) at ../../kutils/ksettings/dialog.cpp:358
#15 0x00977b62 in KSettings::Dialog::showEvent (this=0xa2dd648) at ../../kutils/ksettings/dialog.cpp:127
#16 0x05661445 in QWidget::event (this=0xa2dd648, event=0xbfd38990) at kernel/qwidget.cpp:8502
#17 0x05606d54 in notify_helper (e=0xbfd38990, receiver=0xa2dd648, this=0x83e20b8) at kernel/qapplication.cpp:4486
#18 QApplicationPrivate::notify_helper (this=0x83e20b8, receiver=0xa2dd648, e=0xbfd38990) at kernel/qapplication.cpp:4458
#19 0x0560c1a8 in QApplication::notify (this=0x83e20b8, receiver=0xa2dd648, e=0xbfd38990) at kernel/qapplication.cpp:4451
#20 0x002f7681 in KApplication::notify (this=0xbfd39b54, receiver=0xa2dd648, event=0xbfd38990) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x0112a19e in QCoreApplication::notifyInternal (this=0xbfd39b54, receiver=0xa2dd648, event=0xbfd38990) at kernel/qcoreapplication.cpp:787
#22 0x056656ed in sendEvent (event=0xbfd38990, receiver=0xa2dd648) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QWidgetPrivate::show_helper (this=0xa19c5c0) at kernel/qwidget.cpp:7475
#24 0x05665a21 in QWidget::setVisible (this=0xa2dd648, visible=true) at kernel/qwidget.cpp:7697
#25 0x05b3fc04 in QDialog::setVisible (this=0xa2dd648, visible=true) at dialogs/qdialog.cpp:739
#26 0x00b0382c in show (this=<optimized out>) at /usr/include/qt4/QtGui/qwidget.h:487
#27 Kontact::MainWindow::slotPreferences (this=0x851dd70) at ../../../kontact/src/mainwindow.cpp:1035
#28 0x00b0738e in Kontact::MainWindow::qt_metacall (this=0x851dd70, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfd38c08) at ./mainwindow.moc:122
#29 0x01130b7d in metacall (argv=0xbfd38c08, idx=60, cl=QMetaObject::InvokeMetaMethod, object=0x851dd70) at kernel/qmetaobject.cpp:237
#30 QMetaObject::metacall (object=0x851dd70, cl=QMetaObject::InvokeMetaMethod, idx=60, argv=0xbfd38c08) at kernel/qmetaobject.cpp:232
#31 0x0113fa6a in QMetaObject::activate (sender=0x85d9338, m=0x5f4f458, local_signal_index=1, argv=0xbfd38c08) at kernel/qobject.cpp:3278
#32 0x055ff83d in QAction::triggered (this=0x85d9338, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#33 0x055ffadb in QAction::activate (this=0x85d9338, event=QAction::Trigger) at kernel/qaction.cpp:1257
#34 0x05aa8b13 in QMenuPrivate::activateCausedStack (this=0x86a36e8, causedStack=..., action=0x85d9338, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#35 0x05aaf3af in QMenuPrivate::activateAction (this=0x86a36e8, action=0x85d9338, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#36 0x05ab20f5 in QMenu::mouseReleaseEvent (this=0x86a4400, e=0xbfd3932c) at widgets/qmenu.cpp:2296
#37 0x003d5b8c in KMenu::mouseReleaseEvent (this=0x86a4400, e=0xbfd3932c) at ../../kdeui/widgets/kmenu.cpp:464
#38 0x05660f98 in QWidget::event (this=0x86a4400, event=0xbfd3932c) at kernel/qwidget.cpp:8295
#39 0x05ab0b6c in QMenu::event (this=0x86a4400, e=0xbfd3932c) at widgets/qmenu.cpp:2405
#40 0x05606d54 in notify_helper (e=0xbfd3932c, receiver=0x86a4400, this=0x83e20b8) at kernel/qapplication.cpp:4486
#41 QApplicationPrivate::notify_helper (this=0x83e20b8, receiver=0x86a4400, e=0xbfd3932c) at kernel/qapplication.cpp:4458
#42 0x0560cdbb in QApplication::notify (this=0x83e20b8, receiver=0x86a4400, e=0xbfd3932c) at kernel/qapplication.cpp:4047
#43 0x002f7681 in KApplication::notify (this=0xbfd39b54, receiver=0x86a4400, event=0xbfd3932c) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x0112a19e in QCoreApplication::notifyInternal (this=0xbfd39b54, receiver=0x86a4400, event=0xbfd3932c) at kernel/qcoreapplication.cpp:787
#45 0x05607d15 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QApplicationPrivate::sendMouseEvent (receiver=0x86a4400, event=0xbfd3932c, alienWidget=0x0, nativeWidget=0x86a4400, buttonDown=0x5f71eb4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#47 0x056949fa in QETWidget::translateMouseEvent (this=0x86a4400, event=0xbfd397ac) at kernel/qapplication_x11.cpp:4502
#48 0x05692e4d in QApplication::x11ProcessEvent (this=0xbfd39b54, event=0xbfd397ac) at kernel/qapplication_x11.cpp:3690
#49 0x056bf24c in x11EventSourceDispatch (s=0x83e38f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x0154a25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0x0154a990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0x0154ac2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0x01158ada in QEventDispatcherGlib::processEvents (this=0x83bf298, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#54 0x056bee3a in QGuiEventDispatcherGlib::processEvents (this=0x83bf298, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x011291dd in QEventLoop::processEvents (this=0xbfd39ab4, flags=...) at kernel/qeventloop.cpp:149
#56 0x01129421 in QEventLoop::exec (this=0xbfd39ab4, flags=...) at kernel/qeventloop.cpp:201
#57 0x0112e19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#58 0x056048f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#59 0x0804ac91 in main (argc=) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 282222, bug 280126.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-04 23:45:38 UTC
> KDE Platform Version: 4.7.2 (4.7.2) (Compiled from sources)

This looks curious. You don't use the kubuntu packages ?

please paste the result of the following commands:

* kmail --version
* which kontact
* which kmail
Comment 2 Andreas Kamentz 2011-11-06 17:50:02 UTC
The results of commands are:
kmail --version
Qt: 4.7.4
KDE Development Platform: 4.7.2 (4.7.2)
KMail: 4.7.2
which kontact
/usr/bin/kontact
which kmail
/usr/bin/kmail

A few additional words:
(1) The problem listed above can be reproduced every time I am clicking on "Configure Kontact" in the "Settings" menu.
(2) Today, I succeeded to start Kmail and connect to my imap account, but Kmail is not able to display any mail, giving an error message "IMAP account: Unknown error. (Unable to append item flags.)". I am now using Thunderbird instead, which is working fine.
(3) The entire Kubuntu is running in a virtual machine under WMware Workstation 8.0.0 and was originally installed as Version 11.04, then automatically upgraded to Version 11.10. I was not compiling anything from sources, at least not consciously.
Comment 3 Christophe Marin 2011-11-13 15:01:33 UTC
ok, this was fixed yesterday. The fix will be in Kontact 4.7.4

*** This bug has been marked as a duplicate of bug 209604 ***