Bug 353672 - kmail2 crashes closing the filter configuration and fails saving it
Summary: kmail2 crashes closing the filter configuration and fails saving it
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Filter Agent (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-10-07 22:16 UTC by naworski98
Modified: 2018-02-01 09:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description naworski98 2015-10-07 22:16:01 UTC
Application: akonadi_mailfilter_agent (4.89.0)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-30-lowlatency x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
I closed the filter config dialog (applied new settings). Then some akonadi stuff crashed, i noticed the filter settings werent saved or working.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Agent (akonadi_mailfilter_agent), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f07f3373f03 in Akonadi::Entity::isValid (this=this@entry=0x87f470) at ../../../../akonadi/src/core/entity.cpp:97
#7  0x00007f07f3373f21 in Akonadi::Entity::operator== (this=0x87f470, other=...) at ../../../../akonadi/src/core/entity.cpp:103
#8  0x00007f07f3394ecc in operator()<Akonadi::Collection*> (__it=<optimized out>, this=<optimized out>) at /usr/include/c++/4.9/bits/predefined_ops.h:191
#9  __remove_if<Akonadi::Collection*, __gnu_cxx::__ops::_Iter_equals_val<Akonadi::Collection const> > (__pred=..., __last=<optimized out>, __first=<optimized out>) at /usr/include/c++/4.9/bits/stl_algo.h:866
#10 remove<Akonadi::Collection*, Akonadi::Collection> (__value=..., __last=<optimized out>, __first=<optimized out>) at /usr/include/c++/4.9/bits/stl_algo.h:904
#11 removeAll (t=..., this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:156
#12 Akonadi::Monitor::setCollectionMonitored (this=0x808da0, collection=..., monitored=true, monitored@entry=false) at ../../../../akonadi/src/core/monitor.cpp:74
#13 0x0000000000422b0d in MailFilterAgent::reload (this=0x7d1b70) at ../../../agents/mailfilteragent/mailfilteragent.cpp:288
#14 0x0000000000426b8d in reload (this=0x7ffcd7828150) at mailfilteragentadaptor.cpp:75
#15 MailFilterAgentAdaptor::qt_static_metacall (_o=_o@entry=0x852dd0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=7, _a=_a@entry=0x7ffcd78282a0) at mailfilteragentadaptor.moc:157
#16 0x0000000000427233 in MailFilterAgentAdaptor::qt_metacall (this=0x852dd0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffcd78282a0) at mailfilteragentadaptor.moc:217
#17 0x00007f07f43bf5c7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#18 0x00007f07f43c3f6c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#19 0x00007f07f43c4b0b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#20 0x00007f07f43c67fe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#21 0x00007f07f05f173a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f07f0ec9b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f07f0ecf000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f07f05bfc2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f07f05c1c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f07f0618843 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f07e6ac7c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f07e6ac7f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f07e6ac7fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f07f0618c57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f07f05bd3e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f07f05c502c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f07f2e3a626 in Akonadi::AgentBase::init (r=r@entry=0x7d1b70) at ../../../../akonadi/src/agentbase/agentbase.cpp:959
#34 0x0000000000426818 in Akonadi::AgentBase::init<MailFilterAgent> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/agentbase.h:475
#35 0x00007f07efa0fa40 in __libc_start_main (main=0x4153b0 <main(int, char**)>, argc=3, argv=0x7ffcd7828be8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcd7828bd8) at libc-start.c:289
#36 0x0000000000415449 in _start ()

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 20:22:38 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:55:28 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.