Bug 280514

Summary: kmail2 lose filter configuration when restarting application
Product: [Applications] kontact Reporter: Franc SERRES <sefran007>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Franc SERRES 2011-08-21 11:36:09 UTC
Application: kontact (4.7.0 )
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
after restarting application kontact, filter change configuration in infinite loop.

- Custom settings of the application:
I'm create 2 types of filter.
The first put some flag on mail if a critera is right. When i restart the filter change the flag by the first if the list of custum flag.
 Also like the other type of filter it lose the choise of bal for loking filtering. It's this change who create a infinite loop by filtering (including by default the local bal) .

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fdbb9dd57a0 (LWP 1997))]

Thread 3 (Thread 0x7fdba1aec700 (LWP 1998)):
#0  0x00007fdbb1ebbbac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fdbb6827832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fdbb1eb6d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00007fdbb73a904d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdb96896700 (LWP 2016)):
#0  0x00007fdbb739bf03 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fdbb13ef104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdbb13ef639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdbb8784446 in QEventDispatcherGlib::processEvents (this=0x2488bd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fdbb8758882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdbb8758abc in QEventLoop::exec (this=0x7fdb96895db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fdbb866f924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fdbb873ac2f in QInotifyFileSystemWatcherEngine::run (this=0x2487c90) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fdbb8672175 in QThreadPrivate::start (arg=0x2487c90) at thread/qthread_unix.cpp:320
#9  0x00007fdbb1eb6d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fdbb73a904d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdbb9dd57a0 (LWP 1997)):
[KCrash Handler]
#6  0x00007fdbb5065d19 in KPIM::ProgressItem::setComplete() () from /usr/lib/libkdepim.so.4
#7  0x00007fdbb5067589 in ?? () from /usr/lib/libkdepim.so.4
#8  0x00007fdbb50676fa in ?? () from /usr/lib/libkdepim.so.4
#9  0x00007fdbb876e5f8 in QMetaObject::activate (sender=0x1cec620, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff0a542e00) at kernel/qobject.cpp:3287
#10 0x00007fdbb4532ba5 in Akonadi::AgentManager::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib/libakonadi-kde.so.4
#11 0x00007fdbb45372ff in ?? () from /usr/lib/libakonadi-kde.so.4
#12 0x00007fdbb45397de in Akonadi::AgentManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#13 0x00007fdbb876e5f8 in QMetaObject::activate (sender=0x1c3bfd0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff0a542f70) at kernel/qobject.cpp:3287
#14 0x00007fdbb465470b in ?? () from /usr/lib/libakonadi-kde.so.4
#15 0x00007fdbb4654ba1 in ?? () from /usr/lib/libakonadi-kde.so.4
#16 0x00007fdbb48fc9fa in QDBusConnectionPrivate::deliverCall (this=0x17f4880, object=0x1c3bfd0, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#17 0x00007fdbb4906e4f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#18 0x00007fdbb876d49a in QObject::event (this=0x1c3bfd0, e=<value optimized out>) at kernel/qobject.cpp:1226
#19 0x00007fdbb7b169f4 in QApplicationPrivate::notify_helper (this=0x18055e0, receiver=0x1c3bfd0, e=0x463e070) at kernel/qapplication.cpp:4462
#20 0x00007fdbb7b1b3ba in QApplication::notify (this=<value optimized out>, receiver=0x1c3bfd0, e=0x463e070) at kernel/qapplication.cpp:4341
#21 0x00007fdbb9182796 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007fdbb875949c in QCoreApplication::notifyInternal (this=0x7fff0a544290, receiver=0x1c3bfd0, event=0x463e070) at kernel/qcoreapplication.cpp:731
#23 0x00007fdbb875cc25 in sendEvent (receiver=0x0, event_type=0, data=0x17acb90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x17acb90) at kernel/qcoreapplication.cpp:1372
#25 0x00007fdbb8784253 in sendPostedEvents (s=0x18034e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=0x18034e0) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007fdbb13eebcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fdbb13ef3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fdbb13ef639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fdbb87843ef in QEventDispatcherGlib::processEvents (this=0x17ac370, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007fdbb7bc04de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fdbb8758882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fdbb8758abc in QEventLoop::exec (this=0x7fff0a544220, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007fdbb875cecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#35 0x0000000000403ff8 in _start ()

Possible duplicates by query: bug 280419, bug 280418, bug 280155, bug 279756, bug 279708.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-08-28 14:51:54 UTC

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