[Bug 219453] New: Kontact crashes in kmail in "apply all filters" to many mails [QEventLoop::processEvents, QEventLoop::exec, KJob::exec]

Arne Babenhauserheide arne_bab at web.de
Sun Dec 20 17:30:30 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=219453

           Summary: Kontact crashes in kmail in "apply all filters" to
                    many mails [QEventLoop::processEvents,
                    QEventLoop::exec, KJob::exec]
           Product: kontact
           Version: 4.4 pre
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: arne_bab at web.de


Application: kontact (4.4 pre)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1)) (Compiled from
sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.30-gentoo-r5 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I tried to apply all filters to many mails (about 100 or so) and Kontact (with
KMail open) crashed instantly. 

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  QEventLoop::processEvents (this=0x1be5100, flags={i = 1721642608}) at
kernel/qeventloop.cpp:145
#6  0x00007f5a0903e3b4 in QEventLoop::exec (this=0x1be5100, flags={i =
1721642672}) at kernel/qeventloop.cpp:201
#7  0x00007f5a096d3912 in KJob::exec (this=0x15998c0) at
/var/tmp/portage/kde-base/kdelibs-4.3.80/work/kdelibs-4.3.80/kdecore/jobs/kjob.cpp:202
#8  0x00007f59f5ed014a in KMSearchRuleString::matchesInternal (this=<value
optimized out>, msgContents=<value optimized out>)
    at
/var/tmp/portage/kde-base/kmail-4.3.80/work/kmail-4.3.80/kmail/kmsearchpattern.cpp:475
#9  0x00007f59f5ed194f in KMSearchRuleString::matches (this=0x159f060,
msg=0x1be2820) at
/var/tmp/portage/kde-base/kmail-4.3.80/work/kmail-4.3.80/kmail/kmsearchpattern.cpp:404
#10 0x00007f59f5ece4fc in KMSearchPattern::matches (this=0x159f5b0,
msg=0x1be2820, ignoreBody=false) at
/var/tmp/portage/kde-base/kmail-4.3.80/work/kmail-4.3.80/kmail/kmsearchpattern.cpp:746
#11 0x00007f59f5eba127 in KMFilterMgr::isMatching (this=<value optimized out>,
msg=0x1be2820, filter=<value optimized out>)
    at
/var/tmp/portage/kde-base/kmail-4.3.80/work/kmail-4.3.80/kmail/kmfiltermgr.cpp:279
#12 0x00007f59f5ebaa7e in KMFilterMgr::process (this=0xe25950, msg=0x1be2820,
set=<value optimized out>, account=false, accountId=0)
    at
/var/tmp/portage/kde-base/kmail-4.3.80/work/kmail-4.3.80/kmail/kmfiltermgr.cpp:245
#13 0x00007f59f5fe0bb7 in KMMainWidget::slotFilterMsg (this=<value optimized
out>, msg=0x1be2820) at
/var/tmp/portage/kde-base/kmail-4.3.80/work/kmail-4.3.80/kmail/kmmainwidget.cpp:2555
#14 0x00007f59f5fe124d in KMMainWidget::slotApplyFilters (this=0x15a9870) at
/var/tmp/portage/kde-base/kmail-4.3.80/work/kmail-4.3.80/kmail/kmmainwidget.cpp:2537
#15 0x00007f59f5ff6830 in KMMainWidget::qt_metacall (this=0x15a9870,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff669e3b40)
    at
/var/tmp/portage/kde-base/kmail-4.3.80/work/kmail-4.3.80_build/kmail/kmmainwidget.moc:439
#16 0x00007f5a090541bf in QMetaObject::activate (sender=0x1a71800, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x3) at
kernel/qobject.cpp:3286
#17 0x00007f5a08006b42 in QAction::triggered (this=0x1be5100, _t1=false) at
.moc/debug-shared/moc_qaction.cpp:263
#18 0x00007f5a08007c30 in QAction::activate (this=0x1a71800, event=<value
optimized out>) at kernel/qaction.cpp:1245
#19 0x00007f5a0841cd34 in QMenuPrivate::activateCausedStack (this=0x1b8ed50,
causedStack=@0x7fff669e3c60, action=0x1a71800, action_e=QAction::Trigger,
self=true) at widgets/qmenu.cpp:994
#20 0x00007f5a084231fb in QMenuPrivate::activateAction (this=0x1b8ed50,
action=0x1a71800, action_e=27789184, self=true) at widgets/qmenu.cpp:1086
#21 0x00007f5a09d37c85 in KMenu::mouseReleaseEvent (this=0x1a80780,
e=0x7fff669e49e0) at
/var/tmp/portage/kde-base/kdelibs-4.3.80/work/kdelibs-4.3.80/kdeui/widgets/kmenu.cpp:469
#22 0x00007f5a08065ebc in QWidget::event (this=0x1a80780, event=0x7fff669e49e0)
at kernel/qwidget.cpp:7974
#23 0x00007f5a08423fa3 in QMenu::event (this=0x1a80780, e=0x7fff669e49e0) at
widgets/qmenu.cpp:2406
#24 0x00007f5a0800d776 in QApplicationPrivate::notify_helper (this=0x6481a0,
receiver=0x1a80780, e=0x7fff669e49e0) at kernel/qapplication.cpp:4242
#25 0x00007f5a08015fe9 in QApplication::notify (this=<value optimized out>,
receiver=0x1a80780, e=0x7fff669e49e0) at kernel/qapplication.cpp:3822
#26 0x00007f5a09c715c1 in KApplication::notify (this=0x7fff669e72d0,
receiver=0x1a80780, event=0x7fff669e49e0)
    at
/var/tmp/portage/kde-base/kdelibs-4.3.80/work/kdelibs-4.3.80/kdeui/kernel/kapplication.cpp:302
#27 0x00007f5a0903f603 in QCoreApplication::notifyInternal
(this=0x7fff669e72d0, receiver=0x1a80780, event=0x7fff669e49e0) at
kernel/qcoreapplication.cpp:704
#28 0x00007f5a080188f1 in QApplicationPrivate::sendMouseEvent
(receiver=0x1a80780, event=0x7fff669e49e0, alienWidget=0x0,
nativeWidget=0x1a80780, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f5a08a55a80, spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 0x00007f5a0808d81a in QETWidget::translateMouseEvent (this=0x1a80780,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#30 0x00007f5a0808c196 in QApplication::x11ProcessEvent (this=0x7fff669e72d0,
event=0x7fff669e51f0) at kernel/qapplication_x11.cpp:3501
#31 0x00007f5a080b3d0c in x11EventSourceDispatch (s=0x655360, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f5a01178fc1 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#33 0x00007f5a0117c558 in g_main_context_iterate () from
/usr/lib/libglib-2.0.so.0
#34 0x00007f5a0117c70c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#35 0x00007f5a0906bcbc in QEventDispatcherGlib::processEvents (this=0x63de40,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#36 0x00007f5a080b35df in QGuiEventDispatcherGlib::processEvents
(this=0x1be5100, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#37 0x00007f5a0903dfe2 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 1721652448}) at kernel/qeventloop.cpp:149
#38 0x00007f5a0903e3b4 in QEventLoop::exec (this=0x7fff669e5520, flags={i =
1721652544}) at kernel/qeventloop.cpp:201
#39 0x00007f5a084206a7 in QMenu::exec (this=<value optimized out>,
p=@0x7fff669e5640, action=0x0) at widgets/qmenu.cpp:2045
#40 0x00007f59f60dac39 in
KMail::MessageListView::Widget::viewMessageListContextPopupRequest
(this=0x15b5830, selectedItems=<value optimized out>,
globalPos=@0x7fff669e5640)
    at
/var/tmp/portage/kde-base/kmail-4.3.80/work/kmail-4.3.80/kmail/messagelistview/widget.cpp:693
#41 0x00007f59f5601f29 in MessageList::Core::View::mousePressEvent
(this=0x15ca150, e=0x7fff669e6700) at
/var/tmp/portage/kde-base/kmail-4.3.80/work/kmail-4.3.80/messagelist/core/view.cpp:2094
#42 0x00007f5a08065ea2 in QWidget::event (this=0x15ca150, event=0x7fff669e6700)
at kernel/qwidget.cpp:7970
#43 0x00007f5a083e245b in QFrame::event (this=0x15ca150, e=0x7fff669e6700) at
widgets/qframe.cpp:557
#44 0x00007f5a0850400b in QAbstractItemView::viewportEvent (this=0x15ca150,
event=0x7fff669e6700) at itemviews/qabstractitemview.cpp:1589
#45 0x00007f5a085439d4 in QTreeView::viewportEvent (this=0x15ca150,
event=0x7fff669e6700) at itemviews/qtreeview.cpp:1250
#46 0x00007f5a0903ef17 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0x15d0700, event=0x7fff669e6700) at
kernel/qcoreapplication.cpp:819
#47 0x00007f5a0800d765 in QApplicationPrivate::notify_helper (this=0x6481a0,
receiver=0x15d0700, e=0x7fff669e6700) at kernel/qapplication.cpp:4238
#48 0x00007f5a08015fe9 in QApplication::notify (this=<value optimized out>,
receiver=0x15d0700, e=0x7fff669e6700) at kernel/qapplication.cpp:3822
#49 0x00007f5a09c715c1 in KApplication::notify (this=0x7fff669e72d0,
receiver=0x15d0700, event=0x7fff669e6700)
    at
/var/tmp/portage/kde-base/kdelibs-4.3.80/work/kdelibs-4.3.80/kdeui/kernel/kapplication.cpp:302
#50 0x00007f5a0903f603 in QCoreApplication::notifyInternal
(this=0x7fff669e72d0, receiver=0x15d0700, event=0x7fff669e6700) at
kernel/qcoreapplication.cpp:704
#51 0x00007f5a080188f1 in QApplicationPrivate::sendMouseEvent
(receiver=0x15d0700, event=0x7fff669e6700, alienWidget=0x15d0700,
nativeWidget=0x652c40, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f5a08a55a80, spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#52 0x00007f5a0808d66b in QETWidget::translateMouseEvent (this=0x652c40,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#53 0x00007f5a0808c196 in QApplication::x11ProcessEvent (this=0x7fff669e72d0,
event=0x7fff669e6f10) at kernel/qapplication_x11.cpp:3501
#54 0x00007f5a080b3d0c in x11EventSourceDispatch (s=0x655360, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x00007f5a01178fc1 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#56 0x00007f5a0117c558 in g_main_context_iterate () from
/usr/lib/libglib-2.0.so.0
#57 0x00007f5a0117c70c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#58 0x00007f5a0906bcbc in QEventDispatcherGlib::processEvents (this=0x63de40,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#59 0x00007f5a080b35df in QGuiEventDispatcherGlib::processEvents
(this=0x1be5100, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#60 0x00007f5a0903dfe2 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = 1721659904}) at kernel/qeventloop.cpp:149
#61 0x00007f5a0903e3b4 in QEventLoop::exec (this=0x7fff669e7240, flags={i =
1721659984}) at kernel/qeventloop.cpp:201
#62 0x00007f5a09040844 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#63 0x0000000000403f9a in main (argc=1, argv=0x7fff669e77e8) at
/var/tmp/portage/kde-base/kontact-4.3.80/work/kontact-4.3.80/kontact/src/main.cpp:221

Possible duplicates by query: bug 218498, bug 218492, bug 218369, bug 218104,
bug 217990.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list