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

Ahmad Samir <a.samir...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a.samir...@gmail.com

--- Comment #2 from Ahmad Samir <a.samir...@gmail.com> ---
In this report we get to Akonadi::AgentBase::setOnline via a dbus call and the
QSettings member is null, hence the crash; the backtrace from bug 418595
comment0 is a bit different code path, but the end result is the same:
Thread 1 (Thread 0x7f83d0b28d80 (LWP 266490)):
[KCrash Handler]
#6  0x00007f83e3a2d5b9 in qGetPtrHelper<QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> > >(QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> >&) (ptr=...) at io/qsettings.cpp:3277
#7  QSettings::d_func() (this=<optimized out>) at io/qsettings.h:72
#8  QSettings::setValue(QString const&, QVariant const&) (this=this@entry=0x0,
key=..., value=...) at io/qsettings.cpp:3278
#9  0x00007f83e561097e in Akonadi::AgentBase::setOnline(bool)
(this=0x7ffc21fe7850, state=state@entry=true) at
/tmp/portage/kde-apps/akonadi-19.12.3/work/akonadi-19.12.3/src/agentbase/agentbase.cpp:1032
#10 0x0000564e8a389b84 in ImapResourceBase::onConnectDone(int, QString const&)
(this=0x7ffc21fe7850, errorCode=<optimized out>, errorString=...) at
/tmp/portage/kde-apps/kdepim-runtime-19.12.3/work/kdepim-runtime-19.12.3/resources/imap/imapresourcebase.cpp:290
#11 0x00007f83e3acf585 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffc21fe6e80, r=0x7ffc21fe7850, this=0x564e8a8212b0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#12 doActivate<false>(QObject*, int, void**) (sender=0x564e8a8209e0,
signal_index=7, argv=0x7ffc21fe6e80) at kernel/qobject.cpp:3870
#13 0x00007f83e3ac9d47 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x564e8a8209e0, m=m@entry=0x564e8a400200
<SessionPool::staticMetaObject>, local_signal_index=local_signal_index@entry=4,
argv=argv@entry=0x7ffc21fe6e80) at kernel/qobject.cpp:3930
#14 0x0000564e8a368d26 in SessionPool::connectDone(int, QString const&)
(this=this@entry=0x564e8a8209e0, _t1=<optimized out>, _t1@entry=0, _t2=...) at
resources/imap/imapresource_autogen/EWIEGA46WW/moc_sessionpool.cpp:302
#15 0x0000564e8a3bb16e in SessionPool::declareSessionReady(KIMAP::Session*)
(this=0x564e8a8209e0, session=<optimized out>) at
/usr/include/qt5/QtCore/qarraydata.h:257
#16 0x0000564e8a3bc1c4 in SessionPool::onIdDone(KJob*) (this=0x564e8a8209e0,
job=<optimized out>) at
/tmp/portage/kde-apps/kdepim-runtime-19.12.3/work/kdepim-runtime-19.12.3/resources/imap/sessionpool.cpp:548
#17 0x00007f83e3acf585 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffc21fe7060, r=0x564e8a8209e0, this=0x564e8ad49d10) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#18 doActivate<false>(QObject*, int, void**) (sender=0x7f8364012430,
signal_index=6, argv=0x7ffc21fe7060) at kernel/qobject.cpp:3870
#19 0x00007f83e4f55b2c in KJob::result(KJob*, KJob::QPrivateSignal) () at
/usr/lib64/libKF5CoreAddons.so.5
#20 0x00007f83e4f5662b in KJob::finishJob(bool) () at
/usr/lib64/libKF5CoreAddons.so.5
#21 0x00007f83e57a677c in KIMAP::Job::handleErrorReplies(KIMAP::Response
const&) () at /usr/lib64/libKF5IMAP.so.5
#22 0x00007f83e57c5d6b in
KIMAP::SessionPrivate::responseReceived(KIMAP::Response const&) () at
/usr/lib64/libKF5IMAP.so.5
#23 0x00007f83e3ac7a0c in QObject::event(QEvent*) (this=0x564e8ad5fc60,
e=0x7f8364042e80) at kernel/qobject.cpp:1339
#24 0x00007f83e46c2eb3 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x564e8a59dba0, receiver=receiver@entry=0x564e8ad5fc60,
e=e@entry=0x7f8364042e80) at kernel/qapplication.cpp:3684
#25 0x00007f83e46cc3c0 in QApplication::notify(QObject*, QEvent*)
(this=0x7ffc21fe7840, receiver=0x564e8ad5fc60, e=0x7f8364042e80) at
kernel/qapplication.cpp:3430
#26 0x00007f83e3a9b1ce in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x564e8ad5fc60, event=0x7f8364042e80) at
kernel/qcoreapplication.cpp:1092
#27 0x00007f83e3a9ddc7 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x564e8a57b490) at
kernel/qcoreapplication.cpp:1832
#28 0x00007f83e3af1ad3 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x564e8a605740) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f83e1ba180f in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#30 0x00007f83e1ba1bb8 in  () at /usr/lib64/libglib-2.0.so.0
#31 0x00007f83e1ba1c4f in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#32 0x00007f83e3af1880 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x564e8a613d00, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f83e3a9a01b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffc21fe7790, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#34 0x00007f83e3aa212f in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#35 0x00007f83e40638ec in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1866
#36 0x00007f83e46c2e25 in QApplication::exec() () at
kernel/qapplication.cpp:2824
#37 0x00007f83e562034e in Akonadi::ResourceBase::init(Akonadi::ResourceBase&)
(r=...) at /usr/include/qt5/QtCore/qcoreapplication.h:116
#38 0x0000564e8a355351 in Akonadi::ResourceBase::init<ImapResource>(int,
char**) (argc=<optimized out>, argv=<optimized out>) at
/usr/include/KF5/AkonadiAgentBase/resourcebase.h:181
#39 0x00007f83e33bce9b in __libc_start_main () at /usr/lib64/libc.so.6
#40 0x0000564e8a352fda in _start () at
/tmp/portage/kde-apps/kdepim-runtime-19.12.3/work/kdepim-runtime-19.12.3/resources/imap/main.cpp:22

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to