Bug 271750

Summary: Kmail crash at startup with 2 IMAP accounts
Product: [Unmaintained] kmail Reporter: Dominic <dominic.schrader>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dominic 2011-04-26 10:31:16 UTC
Application: kmail (1.13.6)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:
I've added a second IMAP account and since the next start of Kmail it crashed after entering the passwords for the two accounts. The first account is on a Scalix server and is in use since several years and the second account is from a Zarafa server using a SSH tunnel and was added recently. After adding this account there weren't any problem, these occured on the first new start of Kmail. When I close the SSH session and there's a connection refused on this port Kmail still crashes.
I've upgraded from 4:4.4.7-3 from Debian Squeeze to 4:4.4.10-0r3 from "deb http://qt-kde.debian.net/debian experimental-snapshots main", but this error still occurs.

Thanks
Dominic

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  KMail::FolderView::slotFolderExpanded (this=<value optimized out>, item=0xe8d3b0) at ../../kmail/folderview.cpp:2471
#7  0x00007f32534ec11b in KMail::FolderView::qt_metacall (this=0x18b0590, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0250e850) at ./folderview.moc:234
#8  0x00007f32534f0190 in KMail::MainFolderView::qt_metacall (this=0x18b0590, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0250e850) at ./mainfolderview.moc:70
#9  0x00007f3251f3818f in QMetaObject::activate (sender=0x18b0590, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff0250e850) at kernel/qobject.cpp:3278
#10 0x00007f32529e5f72 in QTreeWidget::itemExpanded (this=<value optimized out>, _t1=0xe8d3b0) at .moc/release-shared/moc_qtreewidget.cpp:242
#11 0x00007f32529ee8f3 in QTreeWidget::qt_metacall (this=0x18b0590, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fff0250ea20) at .moc/release-shared/moc_qtreewidget.cpp:155
#12 0x00007f324b6a98d0 in KPIM::TreeWidget::qt_metacall (this=0x18b0590, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0250ea20) at moc_treewidget.cpp:74
#13 0x00007f324b719760 in KPIM::FolderTreeWidget::qt_metacall (this=0x18b0590, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0250ea20) at ./foldertreewidget.moc:74
#14 0x00007f32534ec0b0 in KMail::FolderView::qt_metacall (this=0x18b0590, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0250ea20) at ./folderview.moc:200
#15 0x00007f32534f0190 in KMail::MainFolderView::qt_metacall (this=0x18b0590, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0250ea20) at ./mainfolderview.moc:70
#16 0x00007f3251f3818f in QMetaObject::activate (sender=0x18b0590, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff0250ea20) at kernel/qobject.cpp:3278
#17 0x00007f32529acb82 in QTreeView::expanded (this=<value optimized out>, _t1=<value optimized out>) at .moc/release-shared/moc_qtreeview.cpp:201
#18 0x00007f32529b6076 in QTreeViewPrivate::expand (this=0x18b0980, item=8, emitSignal=true) at itemviews/qtreeview.cpp:2884
#19 0x00007f32529b7910 in QTreeView::expand (this=0x18b0590, index=...) at itemviews/qtreeview.cpp:758
#20 0x00007f32529e73ae in QTreeWidget::setItemExpanded (this=<value optimized out>, item=0xe8d3b0, expand=true) at itemviews/qtreewidget.cpp:3141
#21 0x00007f32534eb4bb in setExpanded (this=0x18b0590) at /usr/include/qt4/QtGui/qtreewidget.h:409
#22 KMail::FolderView::restoreItemStates (this=0x18b0590) at ../../kmail/folderview.cpp:389
#23 0x00007f32534ebe87 in KMail::FolderView::reload (this=0x18b0590, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#24 0x00007f32536f7317 in KMMainWidget::readConfig (this=0x17534c0) at ../../kmail/kmmainwidget.cpp:595
#25 0x00007f32537024e8 in KMMainWidget::KMMainWidget (this=0x17534c0, parent=<value optimized out>, aGUIClient=0x175e840, actionCollection=<value optimized out>, config=...) at ../../kmail/kmmainwidget.cpp:234
#26 0x00007f325349c410 in KMMainWin::KMMainWin (this=0x175e7e0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmmainwin.cpp:41
#27 0x00007f325363b762 in KMKernel::openReader (this=0x7fff02510a00, onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#28 0x00007f325363b910 in KMKernel::action (this=0x7fff02510a00, mailto=<value optimized out>, check=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at ../../kmail/kmkernel.cpp:1939
#29 0x00007f325363e1e5 in KMKernel::handleCommandLine (this=0x7fff02510a00, noArgsOpensReader=true) at ../../kmail/kmkernel.cpp:368
#30 0x00000000004027da in KMailApplication::newInstance (this=0x7fff02510b70) at ../../kmail/main.cpp:87
#31 0x00007f3254570542 in KUniqueApplicationAdaptor::newInstance (this=0xd85b70, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:436
#32 0x00007f32545705e2 in KUniqueApplicationAdaptor::qt_metacall (this=0xd85b70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff0250fae0) at ./kuniqueapplication_p.moc:81
#33 0x00007f324fce56aa in QDBusConnectionPrivate::deliverCall (this=0xd44180, object=0xd85b70, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:941
#34 0x00007f324fce67be in QDBusConnectionPrivate::activateCall (this=0xd44180, object=0xd85b70, flags=337, msg=...) at qdbusintegrator.cpp:844
#35 0x00007f324fce6fee in QDBusConnectionPrivate::activateObject (this=0xd44180, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1409
#36 0x00007f324fce7228 in QDBusActivateObjectEvent::placeMetaCall (this=0x1186260) at qdbusintegrator.cpp:1523
#37 0x00007f3251f36fea in QObject::event (this=0x7fff02510b70, e=<value optimized out>) at kernel/qobject.cpp:1217
#38 0x00007f32524633b6 in QApplication::event (this=0x7fff02510b70, e=0x1186260) at kernel/qapplication.cpp:2503
#39 0x00007f3252460d14 in QApplicationPrivate::notify_helper (this=0xf5ec20, receiver=0x7fff02510b70, e=0x1186260) at kernel/qapplication.cpp:4462
#40 0x00007f32524658da in QApplication::notify (this=<value optimized out>, receiver=0x7fff02510b70, e=0x1186260) at kernel/qapplication.cpp:4341
#41 0x00007f325456a436 in KApplication::notify (this=0x7fff02510b70, receiver=0x7fff02510b70, event=0x1186260) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007f3251f22c8c in QCoreApplication::notifyInternal (this=0x7fff02510b70, receiver=0x7fff02510b70, event=0x1186260) at kernel/qcoreapplication.cpp:731
#43 0x00007f3251f264b5 in sendEvent (receiver=0x0, event_type=0, data=0xcf0240) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xcf0240) at kernel/qcoreapplication.cpp:1372
#45 0x00007f3251f4dbf3 in sendPostedEvents (s=0xf60ce0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=0xf60ce0) at kernel/qeventdispatcher_glib.cpp:277
#47 0x00007f32491e62a2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x00007f32491ea968 in ?? () from /lib/libglib-2.0.so.0
#49 0x00007f32491eab1c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x00007f3251f4dd8f in QEventDispatcherGlib::processEvents (this=0xcefa90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#51 0x00007f32525074de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f3251f22022 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007f3251f2226c in QEventLoop::exec (this=0x7fff025109a0, flags=...) at kernel/qeventloop.cpp:201
#54 0x00007f3251f2676b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#55 0x00000000004033d8 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

This bug may be a duplicate of or related to bug 248011.

Possible duplicates by query: bug 248011.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-04-26 11:40:07 UTC

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