Bug 195893

Summary: Kontact crashed on first start
Product: [Unmaintained] kmail Reporter: Sergiu Bivol <sergiu>
Component: new message listAssignee: Szymon Stefanek <pragma>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, arvidjaar, bengan, glua, graham_hawkins, kde, lepelerin2002, ria.freelander, umar, ve.ru
Priority: NOR    
Version: 1.11.90   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sergiu Bivol 2009-06-10 15:39:45 UTC
Application that crashed: kontact
Version of the application: 4.3.0 pre
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.1
Operating System: Linux 2.6.30-8-generic x86_64
Distribution: Ubuntu karmic (development branch)

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  KMail::MessageListView::Widget::getSelectionStats (this=0x200da20, selectedSernums=@0x7fffaaf6c420, selectedVisibleSernums=<value optimized out>, 
    allSelectedBelongToSameThread=<value optimized out>, includeCollapsedChildren=<value optimized out>) at ../../kmail/messagelistview/widget.cpp:579
#6  0x00007fbf81cde40e in KMMainWidget::updateMessageActions (this=0x2009ee0) at ../../kmail/kmmainwidget.cpp:4280
#7  0x00007fbf81cf4f0d in KMMainWidget::qt_metacall (this=0x2009ee0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffaaf6c550) at ./kmmainwidget.moc:366
#8  0x00007fbf973b4e12 in QMetaObject::activate (sender=0x257c130, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3120
#9  0x00007fbf973aeb83 in QObject::event (this=0x257c130, e=0x334) at kernel/qobject.cpp:1082
#10 0x00007fbf97cb83fc in QApplicationPrivate::notify_helper (this=0x18e12c0, receiver=0x257c130, e=0x7fffaaf6cb50) at kernel/qapplication.cpp:4057
#11 0x00007fbf97cbf6ae in QApplication::notify (this=0x7fffaaf6ceb0, receiver=0x257c130, e=0x7fffaaf6cb50) at kernel/qapplication.cpp:4022
#12 0x00007fbf98925c36 in KApplication::notify (this=0x7fffaaf6ceb0, receiver=0x257c130, event=0x7fffaaf6cb50) at ../../kdeui/kernel/kapplication.cpp:302
#13 0x00007fbf9739f3ec in QCoreApplication::notifyInternal (this=0x7fffaaf6ceb0, receiver=0x257c130, event=0x7fffaaf6cb50) at kernel/qcoreapplication.cpp:610
#14 0x00007fbf973cad22 in QTimerInfoList::activateTimers (this=0x18d9dd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#15 0x00007fbf973c87bd in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:164
#16 0x00007fbf9119d8be in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007fbf911a0f98 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007fbf911a10c0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007fbf973c8706 in QEventDispatcherGlib::processEvents (this=0x18ad850, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#20 0x00007fbf97d4e1de in QGuiEventDispatcherGlib::processEvents (this=0x1fa4530, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#21 0x00007fbf9739dcc2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#22 0x00007fbf9739e094 in QEventLoop::exec (this=0x7fffaaf6cdf0, flags=) at kernel/qeventloop.cpp:200
#23 0x00007fbf973a0189 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#24 0x0000000000403f27 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Thomas McGuire 2009-06-10 15:42:35 UTC
Assigning to Szymon.
Comment 2 Dario Andres 2009-06-10 16:22:53 UTC
The backtrace looks related/duplicate to bug 194960 / bug 188219 / bug 186940.
I don't know if the situations could match. Thanks
Comment 3 Szymon Stefanek 2009-06-11 04:31:19 UTC
SVN commit 980061 by stefanek:

Possibly fix the issues with the folder being closed by
the compaction jobs (and thus various asserts triggering
in the StorageModel code).

Not totally sure that all the bugs I'm closing had exactly
the same cause (though the backtrace is exactly the same).
If you still can reproduce the bug please reopen ONE of
these.

BUG: 186940
BUG: 188219
BUG: 194960
BUG: 195893




 M  +4 -0      folderstorage.h  
 M  +1 -0      kmfolder.cpp  
 M  +4 -0      kmfolder.h  
 M  +1 -0      kmfoldermaildir.cpp  
 M  +3 -1      kmfoldermbox.cpp  
 M  +2 -0      messagelistview/core/model.cpp  
 M  +1 -0      messagelistview/core/view.cpp  
 M  +17 -1     messagelistview/storagemodel.cpp  
 M  +5 -0      messagelistview/storagemodel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=980061
Comment 4 Dario Andres 2009-06-15 03:29:16 UTC
*** Bug 196505 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-06-24 18:09:41 UTC
*** Bug 197747 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2009-07-06 19:21:20 UTC
*** Bug 196763 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2009-07-13 22:45:50 UTC
*** Bug 199698 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2009-07-23 10:12:58 UTC
*** Bug 201192 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2009-07-23 10:13:44 UTC
ok, let's reopen this one. The last dup comes from 4.3 RC2.
Comment 10 Christophe Marin 2009-12-04 23:33:31 UTC
*** Bug 217361 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-12-06 20:30:44 UTC
*** Bug 217352 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2009-12-15 14:00:52 UTC
Bug 218693 got a complete and updated backtrace, and steps to reproduce reliably.
Merging.

*** This bug has been marked as a duplicate of bug 218693 ***
Comment 13 Dario Andres 2009-12-15 14:02:50 UTC
*** Bug 189773 has been marked as a duplicate of this bug. ***
Comment 14 Dario Andres 2009-12-15 14:02:53 UTC
*** Bug 184005 has been marked as a duplicate of this bug. ***