Bug 278613

Summary: KMail crashes upon launch
Product: [Unmaintained] kmail Reporter: Andrei Vinokurov <vinesworth>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrei Vinokurov 2011-07-27 10:56:59 UTC
Application: kmail (1.13.7)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.35.13-92.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Launch KMail. It asks for passwords for my two IMAP accounts (both on Google), and crashes immidiately after I enter the second password. If I enter intentionally wrong passwords, KMail starts normally.

- Other:
It started to happen after the latest Fedora update of kdelibs.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  QAbstractItemView::selectionModel (this=0x704390) at itemviews/qabstractitemview.cpp:758
#7  0x0000003fdf93e250 in QTreeWidget::setItemSelected (this=<value optimized out>, item=0x6fcb20, select=false) at itemviews/qtreewidget.cpp:3030
#8  0x00000037bd356950 in setSelected (this=0xb382a0) at /usr/include/QtGui/qtreewidget.h:397
#9  KMail::FolderView::restoreItemStates (this=0xb382a0) at /usr/src/debug/kdepim-4.4.11.1/kmail/folderview.cpp:390
#10 0x00000037bd3571b7 in KMail::FolderView::reload (this=0xb382a0, openFoldersForUpdate=false) at /usr/src/debug/kdepim-4.4.11.1/kmail/folderview.cpp:671
#11 0x00000037bd562447 in KMMainWidget::readConfig (this=0x9ab3c0) at /usr/src/debug/kdepim-4.4.11.1/kmail/kmmainwidget.cpp:602
#12 0x00000037bd56d625 in KMMainWidget::KMMainWidget (this=0x9ab3c0, parent=<value optimized out>, aGUIClient=0x9c6ab0, actionCollection=<value optimized out>, config=...) at /usr/src/debug/kdepim-4.4.11.1/kmail/kmmainwidget.cpp:241
#13 0x00000037bd307790 in KMMainWin::KMMainWin (this=0x9c6a50, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdepim-4.4.11.1/kmail/kmmainwin.cpp:41
#14 0x00000037bd4a5db2 in KMKernel::openReader (this=0x7fffffffd6e0, onlyCheck=false) at /usr/src/debug/kdepim-4.4.11.1/kmail/kmkernel.cpp:422
#15 0x00000037bd4a5f60 in KMKernel::action (this=0x7fffffffd6e0, mailto=<value optimized out>, check=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at /usr/src/debug/kdepim-4.4.11.1/kmail/kmkernel.cpp:1939
#16 0x00000037bd4a8835 in KMKernel::handleCommandLine (this=0x7fffffffd6e0, noArgsOpensReader=true) at /usr/src/debug/kdepim-4.4.11.1/kmail/kmkernel.cpp:368
#17 0x000000000040264a in KMailApplication::newInstance (this=0x7fffffffd850) at /usr/src/debug/kdepim-4.4.11.1/kmail/main.cpp:87
#18 0x00000037b1e470a2 in KUniqueApplicationAdaptor::newInstance (this=0x7e8b10, asn_id=<value optimized out>, args=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kuniqueapplication.cpp:439
#19 0x00000037b1e47142 in KUniqueApplicationAdaptor::qt_metacall (this=0x7e8b10, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffc910) at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:81
#20 0x0000003fdea20c87 in QDBusConnectionPrivate::deliverCall (this=0x6b78f0, object=0x7e8b10, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:941
#21 0x0000003fdea21dce in QDBusConnectionPrivate::activateCall (this=0x6b78f0, object=0x7e8b10, flags=337, msg=...) at qdbusintegrator.cpp:844
#22 0x0000003fdea225ee in QDBusConnectionPrivate::activateObject (this=0x6b78f0, node=..., msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1409
#23 0x0000003fdea22828 in QDBusActivateObjectEvent::placeMetaCall (this=0x7cb8c0) at qdbusintegrator.cpp:1523
#24 0x0000003fde1715ca in QObject::event (this=0x7fffffffd850, e=<value optimized out>) at kernel/qobject.cpp:1217
#25 0x0000003fdf3ba3b6 in QApplication::event (this=0x7fffffffd850, e=0x7cb8c0) at kernel/qapplication.cpp:2503
#26 0x0000003fdf3b7d24 in QApplicationPrivate::notify_helper (this=0x7199c0, receiver=0x7fffffffd850, e=0x7cb8c0) at kernel/qapplication.cpp:4462
#27 0x0000003fdf3bc8da in QApplication::notify (this=<value optimized out>, receiver=0x7fffffffd850, e=0x7cb8c0) at kernel/qapplication.cpp:4341
#28 0x00000037b1e40f46 in KApplication::notify (this=0x7fffffffd850, receiver=0x7fffffffd850, event=0x7cb8c0) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#29 0x0000003fde15d19c in QCoreApplication::notifyInternal (this=0x7fffffffd850, receiver=0x7fffffffd850, event=0x7cb8c0) at kernel/qcoreapplication.cpp:731
#30 0x0000003fde160985 in sendEvent (receiver=0x0, event_type=0, data=0x664560) at kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x664560) at kernel/qcoreapplication.cpp:1372
#32 0x0000003fde1881b3 in sendPostedEvents (s=0x71a4e0) at kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x71a4e0) at kernel/qeventdispatcher_glib.cpp:277
#34 0x000000372aa41e33 in g_main_dispatch (context=0x732a90) at gmain.c:2149
#35 g_main_context_dispatch (context=0x732a90) at gmain.c:2702
#36 0x000000372aa42610 in g_main_context_iterate (context=0x732a90, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#37 0x000000372aa428ad in g_main_context_iteration (context=0x732a90, may_block=1) at gmain.c:2843
#38 0x0000003fde18834f in QEventDispatcherGlib::processEvents (this=0x663d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x0000003fdf45d3ae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#40 0x0000003fde15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x0000003fde15c77c in QEventLoop::exec (this=0x7fffffffd680, flags=...) at kernel/qeventloop.cpp:201
#42 0x0000003fde160c3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0x000000000040322b in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.11.1/kmail/main.cpp:158

Reported using DrKonqi
Comment 1 Laurent Montel 2011-07-27 15:33:24 UTC
kmail1
Comment 2 Christophe Marin 2011-08-02 20:34:23 UTC

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