Bug 207262

Summary: KMail crash without interaction
Product: [Unmaintained] kmail Reporter: Stephan Binner <binner>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, mcguire
Priority: NOR    
Version: 1.12.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stephan Binner 2009-09-13 16:58:12 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    SuSE RPMs

Application that crashed: kmail
Version of the application: 1.12.1
KDE Version: 4.3.1 (KDE 4.3.1) "release 161"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.29-0.1-pae i686
Distribution: "openSUSE 11.1 (i586)"
 

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  KMail::FolderJob::msgList (this=0x960d898) at /usr/include/QtCore/qatomic_i386.h:120
#7  0xb73093af in FolderStorage::ignoreJobsForMessage (this=0x8488610, msg=0x9dcc008) at /usr/src/debug/kdepim-4.3.1/kmail/folderstorage.cpp:1113
#8  0xb7308083 in FolderStorage::unGetMsg (this=0x8488610, idx=0) at /usr/src/debug/kdepim-4.3.1/kmail/folderstorage.cpp:569
#9  0xb72d4c9b in KMFolder::unGetMsg (this=0x86e90c8, idx=0) at /usr/src/debug/kdepim-4.3.1/kmail/kmfolder.cpp:373
#10 0xb7356664 in KMSearchPattern::matches (this=0x80be130, serNum=1890919565, ignoreBody=false) at /usr/src/debug/kdepim-4.3.1/kmail/kmsearchpattern.cpp:796
#11 0xb7307a20 in FolderStorage::slotProcessNextSearchBatch (this=0x8488610) at /usr/src/debug/kdepim-4.3.1/kmail/folderstorage.cpp:1180
#12 0xb7511724 in KMSearch::slotProcessNextBatch (this=0x8aa30b8) at /usr/src/debug/kdepim-4.3.1/kmail/kmfoldersearch.cpp:272
#13 0xb751189b in KMSearch::qt_metacall (this=0x8aa30b8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf9db848) at /usr/src/debug/kdepim-4.3.1/build/kmail/kmfoldersearch.moc:79
#14 0xb67c9788 in QMetaObject::activate (sender=0x8aa0bb8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#15 0xb67ca412 in QMetaObject::activate (sender=0x8aa0bb8, m=0xb68ab904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#16 0xb6805fe7 in QTimer::timeout (this=0x8aa0bb8) at .moc/release-shared/moc_qtimer.cpp:128
#17 0xb67cfc0e in QTimer::timerEvent (this=0x8aa0bb8, e=0xbf9dbcf0) at kernel/qtimer.cpp:261
#18 0xb67c472f in QObject::event (this=0x8aa0bb8, e=0xbf9dbcf0) at kernel/qobject.cpp:1075
#19 0xb5c8a7bc in QApplicationPrivate::notify_helper (this=0x8082440, receiver=0x8aa0bb8, e=0xbf9dbcf0) at kernel/qapplication.cpp:4056
#20 0xb5c92aae in QApplication::notify (this=0xbf9dc038, receiver=0x8aa0bb8, e=0xbf9dbcf0) at kernel/qapplication.cpp:3603
#21 0xb7d3072d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0xb67b416b in QCoreApplication::notifyInternal (this=0xbf9dc038, receiver=0x8aa0bb8, event=0xbf9dbcf0) at kernel/qcoreapplication.cpp:610
#23 0xb67e35f6 in QTimerInfoList::activateTimers (this=0x807ce94) at kernel/qcoreapplication.h:213
#24 0xb67df980 in timerSourceDispatch (source=0x807ce60) at kernel/qeventdispatcher_glib.cpp:165
#25 0xb3f8a9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb3f8e083 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb3f8e241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb67df8d8 in QEventDispatcherGlib::processEvents (this=0x8053380, flags={i = -1080181096}) at kernel/qeventdispatcher_glib.cpp:327
#29 0xb5d2aca5 in QGuiEventDispatcherGlib::processEvents (this=0x8053380, flags={i = -1080181048}) at kernel/qguieventdispatcher_glib.cpp:202
#30 0xb67b278a in QEventLoop::processEvents (this=0xbf9dbf40, flags={i = -1080180984}) at kernel/qeventloop.cpp:149
#31 0xb67b2bd2 in QEventLoop::exec (this=0xbf9dbf40, flags={i = -1080180920}) at kernel/qeventloop.cpp:201
#32 0xb67b5079 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#33 0xb5c8a637 in QApplication::exec () at kernel/qapplication.cpp:3525
#34 0x0804a820 in main (argc=1, argv=0x3) at /usr/src/debug/kdepim-4.3.1/kmail/main.cpp:146

Report to https://bugs.kde.org
Comment 1 Thomas McGuire 2009-09-13 18:33:13 UTC
SVN commit 1022969 by tmcguire:

Fix a double it++, which was the result of a porting error in r500409.
Might fix
CCBUG: 207262


 M  +2 -3      folderstorage.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1022969
Comment 2 Dario Andres 2009-09-14 14:34:57 UTC
This could be related to bug 200137.
@Thomas: could the commit also help with bug 200137 ?
Thanks
Comment 3 Thomas McGuire 2009-09-22 03:04:57 UTC

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