Bug 249165 - Kmail crashed on startup when $HOME/.kde/share/apps/kmail/imap content has been cleared
Summary: Kmail crashed on startup when $HOME/.kde/share/apps/kmail/imap content has be...
Status: RESOLVED DUPLICATE of bug 184324
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.5
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 01:53 UTC by envite
Modified: 2010-09-19 12:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description envite 2010-08-27 01:53:31 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
Instead of fresh starting and synchronizing with the IMAP server, kmail crashed. This is quite not robust behaviour.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7ffd3c930760 (LWP 13525))]

Thread 2 (Thread 0x7ffd1e557710 (LWP 13528)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007ffd3a929df2 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1f1e570, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f1e570, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffd3a91ee21 in QThreadPoolThread::run (this=0x214c780) at concurrent/qthreadpool.cpp:140
#4  0x00007ffd3a928e35 in QThreadPrivate::start (arg=0x214c780) at thread/qthread_unix.cpp:248
#5  0x00007ffd33d158ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007ffd3940401d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffd3c930760 (LWP 13525)):
[KCrash Handler]
#5  KMail::FolderView::slotFolderExpanded (this=<value optimized out>, item=<value optimized out>) at ../../kmail/folderview.cpp:2469
#6  0x00007ffd3b26aa5b in KMail::FolderView::qt_metacall (this=0x1e5a820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff06379600) at ./folderview.moc:234
#7  0x00007ffd3b26efb0 in KMail::MainFolderView::qt_metacall (this=0x7ffd39691e40, _c=QMetaObject::InvokeMetaMethod, _id=-80, _a=0x1) at ./mainfolderview.moc:70
#8  0x00007ffd3aa2b346 in QMetaObject::activate (sender=0x1e5a820, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3295
#9  0x00007ffd3a3558e2 in QTreeWidget::itemExpanded (this=0x7ffd39691e40, _t1=0x17dfd00) at .moc/release-shared/moc_qtreewidget.cpp:242
#10 0x00007ffd3a361673 in QTreeWidget::qt_metacall (this=0x1e5a820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff063797f0) at .moc/release-shared/moc_qtreewidget.cpp:155
#11 0x00007ffd33366ab0 in KPIM::TreeWidget::qt_metacall (this=0x7ffd39691e40, _c=QMetaObject::InvokeMetaMethod, _id=-80, _a=0x1) at moc_treewidget.cpp:74
#12 0x00007ffd333df170 in KPIM::FolderTreeWidget::qt_metacall (this=0x7ffd39691e40, _c=QMetaObject::InvokeMetaMethod, _id=-80, _a=0x1) at ./foldertreewidget.moc:74
#13 0x00007ffd3b26a9f0 in KMail::FolderView::qt_metacall (this=0x7ffd39691e40, _c=QMetaObject::InvokeMetaMethod, _id=-80, _a=0x1) at ./folderview.moc:200
#14 0x00007ffd3b26efb0 in KMail::MainFolderView::qt_metacall (this=0x7ffd39691e40, _c=QMetaObject::InvokeMetaMethod, _id=-80, _a=0x1) at ./mainfolderview.moc:70
#15 0x00007ffd3aa2b346 in QMetaObject::activate (sender=0x1e5a820, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3295
#16 0x00007ffd3a316e02 in QTreeView::expanded (this=0x7ffd39691e40, _t1=<value optimized out>) at .moc/release-shared/moc_qtreeview.cpp:201
#17 0x00007ffd3a328ea3 in QTreeView::expand (this=0x1e5a820, index=...) at itemviews/qtreeview.cpp:744
#18 0x00007ffd3a35d6e1 in QTreeWidget::setItemExpanded (this=0x1e5a820, item=0x17dfd00, expand=<value optimized out>) at itemviews/qtreewidget.cpp:3133
#19 0x00007ffd3b264144 in QTreeWidgetItem::setExpanded (this=0x1e5a820) at /usr/include/qt4/QtGui/qtreewidget.h:409
#20 KMail::FolderView::restoreItemStates (this=0x1e5a820) at ../../kmail/folderview.cpp:389
#21 0x00007ffd3b26a7b7 in KMail::FolderView::reload (this=0x1e5a820, openFoldersForUpdate=false) at ../../kmail/folderview.cpp:671
#22 0x00007ffd3b49e987 in KMMainWidget::readConfig (this=0x1c3bd60) at ../../kmail/kmmainwidget.cpp:593
#23 0x00007ffd3b4af749 in KMMainWidget (this=0x1c3bd60, parent=<value optimized out>, aGUIClient=<value optimized out>, actionCollection=<value optimized out>, config=...)
    at ../../kmail/kmmainwidget.cpp:232
#24 0x00007ffd3b1fec83 in KMMainWin (this=0x1c32ce0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../kmail/kmmainwin.cpp:41
#25 0x00007ffd3b3cddd7 in KMKernel::openReader (this=0x7fff0637b770, onlyCheck=false) at ../../kmail/kmkernel.cpp:422
#26 0x00007ffd3b3d55b8 in KMKernel::action (this=0x7fff0637b770, mailto=<value optimized out>, check=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., 
    customHeaders=...) at ../../kmail/kmkernel.cpp:1939
#27 0x00007ffd3b3d7d2c in KMKernel::handleCommandLine (this=<value optimized out>, noArgsOpensReader=<value optimized out>) at ../../kmail/kmkernel.cpp:368
#28 0x0000000000402852 in KMailApplication::newInstance (this=0x7fff0637b8e0) at ../../kmail/main.cpp:87
#29 0x00007ffd3c35a666 in KUniqueApplicationAdaptor::newInstance (this=0x1702110, asn_id=<value optimized out>, args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:454
#30 0x00007ffd3c35aca6 in KUniqueApplicationAdaptor::qt_metacall (this=0x1702110, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0x7fff0637a7e0) at ./kuniqueapplication_p.moc:81
#31 0x00007ffd37cbf421 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:904
#32 0x00007ffd37cc062f in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x1702110, flags=337, msg=...) at qdbusintegrator.cpp:809
#33 0x00007ffd37cc110d in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1364
#34 0x00007ffd37cc13a8 in QDBusActivateObjectEvent::placeMetaCall (this=0x1a96aa0) at qdbusintegrator.cpp:1477
#35 0x00007ffd3aa27e89 in QObject::event (this=0x7fff0637b8e0, e=0x1a96aa0) at kernel/qobject.cpp:1248
#36 0x00007ffd39dbc69d in QApplication::event (this=0x7fff0637b8e0, e=0x1a96aa0) at kernel/qapplication.cpp:2355
#37 0x00007ffd39db832c in QApplicationPrivate::notify_helper (this=0x1880940, receiver=0x7fff0637b8e0, e=0x1a96aa0) at kernel/qapplication.cpp:4302
#38 0x00007ffd39dbe80b in QApplication::notify (this=0x7fff0637b8e0, receiver=0x7fff0637b8e0, e=0x1a96aa0) at kernel/qapplication.cpp:4185
#39 0x00007ffd3c353836 in KApplication::notify (this=0x7fff0637b8e0, receiver=0x7fff0637b8e0, event=0x1a96aa0) at ../../kdeui/kernel/kapplication.cpp:302
#40 0x00007ffd3aa1815c in QCoreApplication::notifyInternal (this=0x7fff0637b8e0, receiver=0x7fff0637b8e0, event=0x1a96aa0) at kernel/qcoreapplication.cpp:726
#41 0x00007ffd3aa1b804 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x16ae0e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x16ae0e0) at kernel/qcoreapplication.cpp:1367
#43 0x00007ffd3aa41bd3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#45 0x00007ffd30ff76c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#46 0x00007ffd30ffb538 in ?? () from /lib/libglib-2.0.so.0
#47 0x00007ffd30ffb6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#48 0x00007ffd3aa41713 in QEventDispatcherGlib::processEvents (this=0x16ad840, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#49 0x00007ffd39e6814e in QGuiEventDispatcherGlib::processEvents (this=0x7ffd39691e40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007ffd3aa16a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#51 0x00007ffd3aa16e5c in QEventLoop::exec (this=0x7fff0637b710, flags=) at kernel/qeventloop.cpp:201
#52 0x00007ffd3aa1baeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#53 0x0000000000403452 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 246617, bug 242930, bug 236520, bug 236286, bug 234862.

Reported using DrKonqi
Comment 1 envite 2010-08-27 01:56:02 UTC
Extra info: a new start of Kmail seems to work ok: shows correctly the folder list but not correctly the number of messages in each one (all of them are zeroed until I open the folder)
Comment 2 Laurent Montel 2010-08-31 14:00:24 UTC
Here I can't reproduce crash.
All is correct.
Comment 3 Christophe Marin 2010-09-19 12:13:45 UTC

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