Bug 186220 - crash when applying filter
Summary: crash when applying filter
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: 1.11.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 211046 211370 211975 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-05 14:09 UTC by Peter Sabaini
Modified: 2011-05-07 18:45 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: kdepim 4.6


Attachments
Stacktrace (3.33 KB, text/plain)
2009-03-05 14:10 UTC, Peter Sabaini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Sabaini 2009-03-05 14:09:52 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Ubuntu Packages

1) Selected large folder (trash)
2) Typed something in the filter box as folder gets loaded
3) KMail crashes

Stacktrace attached.
Comment 1 Peter Sabaini 2009-03-05 14:10:33 UTC
Created attachment 31795 [details]
Stacktrace
Comment 2 Dario Andres 2009-03-05 23:37:23 UTC
Pasted backtrace from comment 1:
---

Application: KMail (kmail), signal SIGABRT
[Current thread is 0 (LWP 7807)]

Thread 2 (Thread 0xb0928b90 (LWP 11947)):
#0  0xb803d430 in __kernel_vsyscall ()
#1  0xb5deddf1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb60bc150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5fec6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb524050f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5df5a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3fb96c0 (LWP 7807)):
[KCrash Handler]
#6  0xb803d430 in __kernel_vsyscall ()
#7  0xb5d3f8a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5d41268 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5fe4795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb5fe4872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb5fe4915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb77e8488 in KMail::MessageListView::Core::Model::applyFilterToSubtree (this=0x95dae78, item=0xaac8d10, parentIndex=@0xbfd3eb58)
    at /build/buildd/kdepim-4.2.0/kmail/messagelistview/core/model.cpp:362
#13 0xb77e856d in KMail::MessageListView::Core::Model::setFilter (this=0x95dae78, filter=0xaba0b10) at /build/buildd/kdepim-4.2.0/kmail/messagelistview/core/model.cpp:354
#14 0xb7827d25 in KMail::MessageListView::Core::Widget::searchTimerFired (this=0x95a2de0) at /build/buildd/kdepim-4.2.0/kmail/messagelistview/core/widgetbase.cpp:1108
#15 0xb7345eb8 in KMail::MessageListView::Core::Widget::qt_metacall (this=0x95a2de0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfd3ec88)
    at /build/buildd/kdepim-4.2.0/obj-i486-linux-gnu/kmail/moc_widgetbase.cpp:118
#16 0xb734600a in KMail::MessageListView::Widget::qt_metacall (this=0x95a2de0, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbfd3ec88)
    at /build/buildd/kdepim-4.2.0/obj-i486-linux-gnu/kmail/moc_widget.cpp:74
#17 0xb60f1a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb60f27e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb612c7a7 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#20 0xb60f840e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#21 0xb60ec53f in QObject::event () from /usr/lib/libQtCore.so.4
#22 0xb636c8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#23 0xb637472e in QApplication::notify () from /usr/lib/libQtGui.so.4
#24 0xb7e5dfed in KApplication::notify (this=0xbfd3f438, receiver=0xbd1c370, event=0xbfd3f11c) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#25 0xb60dce61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#26 0xb610ad81 in ?? () from /usr/lib/libQtCore.so.4
#27 0xb6107520 in ?? () from /usr/lib/libQtCore.so.4
#28 0xb472a6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb472dda3 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb472df61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb6107478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#32 0xb6406ea5 in ?? () from /usr/lib/libQtGui.so.4
#33 0xb60db52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#34 0xb60db6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#35 0xb60ddda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#36 0xb636c767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#37 0x0804a7a0 in main (argc=) at /build/buildd/kdepim-4.2.0/kmail/main.cpp:146
Comment 3 Johan Thelmen 2009-03-15 16:00:04 UTC
Hi
Can you verify that you get the same with QT 4.5 and KDE 4.2.1? Kubuntu jaunty have this but it is still in alpha release but seems to work ok for me and fixes a somewhat similar bug 180741 for me. Be careful and check if it is ok for you to upgrade if you want to do this. They say there are issues with Xorg and fglrx driver and switch knetworkmanager to the applet if you use it.

Just a suggestion, hope it helps, otherwise it will just provide a updated backtrace.
Comment 4 Christophe Marin 2009-10-19 09:58:29 UTC
*** Bug 211046 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-10-21 22:45:12 UTC
From bug 211370:
"selecting a big folder (13000 mails) crashed kmail"

Backtrace:
-


 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[KCrash Handler]
#5  0x00007f7ead939205 in raise () from /lib/libc.so.6
#6  0x00007f7ead93a723 in abort () from /lib/libc.so.6
#7  0x00007f7eae671295 in qt_message_output (msgType=QtFatalMsg, buf=<value
optimized out>) at global/qglobal.cpp:2042
#8  0x00007f7eae6713b0 in qFatal (msg=<value optimized out>) at
global/qglobal.cpp:2241
#9  0x00007f7e9cf72d23 in
KMail::MessageListView::Core::Model::applyFilterToSubtree (this=0x1503b60,
item=0x2ff41b0, parentIndex=@0x7fff95188890)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/core/model.cpp:348
#10 0x00007f7e9cf7902e in KMail::MessageListView::Core::Model::setFilter
(this=0x1503b60, filter=<value optimized out>)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/core/model.cpp:340
#11 0x00007f7e9cfa108c in
KMail::MessageListView::Core::Widget::searchTimerFired (this=0x14b87c0)
    at
/var/tmp/portage/kde-base/kmail-4.3.2/work/kmail-4.3.2/kmail/messagelistview/core/widgetbase.cpp:1130
Comment 6 Dario Andres 2009-10-21 22:45:16 UTC
*** Bug 211370 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2009-10-26 23:27:47 UTC
*** Bug 211975 has been marked as a duplicate of this bug. ***
Comment 8 Jeremie Salvucci 2010-07-04 10:08:37 UTC
Hello,

I get the same problem while applying filters (2) on hundred mails. Unfortunately I do not have a backtrace with debug symbols. I'm using kmail from archlinux kdemod.

Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fb5305b200b in ?? () from /usr/lib/libkmailprivate.so.4
#6  0x00007fb5305b2275 in ?? () from /usr/lib/libkmailprivate.so.4
#7  0x00007fb5305b2624 in ?? () from /usr/lib/libkmailprivate.so.4
#8  0x00007fb52fcfddef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#9  0x00007fb52fcfb3ae in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#10 0x00007fb52f0dcae4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fb52f0e0bca in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007fb531526fb6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#13 0x00007fb52fce9d8c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#14 0x00007fb52fd15222 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007fb52fd121f8 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007fb526224b33 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007fb526225310 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#18 0x00007fb5262255ad in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007fb52fd1287f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007fb52f17c60e in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007fb52fce9172 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007fb52fce93ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x00007fb52fced7bb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#24 0x0000000000403378 in _start ()
Comment 9 Jonathan Kolberg 2011-05-05 15:39:52 UTC
No crash in KDEPIM 4.6 beta 5. But it’s a bit slow :)
Comment 10 Christophe Marin 2011-05-07 18:45:35 UTC
Fixed in kdepim 4.6