[Akonadi] [Bug 425334] New: Akonadi crashes upon login after switching from QMYSQL to QPSQL

Jeffrey Bouter bugzilla_noreply at kde.org
Fri Aug 14 08:16:32 BST 2020


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

            Bug ID: 425334
           Summary: Akonadi crashes upon login after switching from QMYSQL
                    to QPSQL
           Product: Akonadi
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: server
          Assignee: kdepim-bugs at kde.org
          Reporter: kde at kn0x.org
  Target Milestone: ---

Application: akonadiserver (5.14.3 (20.04.3))

Qt Version: 5.14.2
Frameworks Version: 5.72.0
Operating System: Linux 5.8.0-050800-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.19

-- Information about the crash:
- What I was doing when the application crashed:

Logging in to my system

- Custom settings of the application:

akonadiserverrc:

[Debug]
Tracer=null

[%General]
Driver=QPSQL

[QPSQL]
Host=127.0.0.1
InitDbPath=
Name=akonadi
Options=
Password=REDACTED
ServerPath=
StartServer=false
User=akonadi
~

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Segmentation fault

[KCrash Handler]
#4  _mm_crc32_u64 (__V=<error reading variable: Cannot access memory at address
0xfe17f00a3cc0>, __C=462873301) at
/usr/lib/gcc/x86_64-linux-gnu/9/include/smmintrin.h:848
#5  crc32<QChar> (ptr=0xfe17f00a3cc0, len=<optimized out>, h=<optimized out>)
at tools/qhash.cpp:112
#6  0x00007f0cabaa6ab4 in hash (seed=<optimized out>, len=<optimized out>,
p=<optimized out>) at tools/qhash.cpp:223
#7  qHash (key=..., seed=<optimized out>) at tools/qhash.cpp:239
#8  0x00007f0bf8024330 in ?? ()
#9  0x00007f0ca4f446a0 in ?? ()
#10 0x00005650c253b3a8 in ?? ()
#11 0x00005650c2346dea in QHash<QString,
Akonadi::Server::AbstractItemRetrievalJob*>::remove (this=0x7f0bf8024338,
this at entry=0x5650c253b3a8, akey=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:102
#12 0x00005650c23444a0 in
Akonadi::Server::ItemRetrievalManager::retrievalJobFinished
(this=0x5650c253b370, request=0x7f0bf8024330, errorMsg=...) at
./src/server/storage/itemretrievalmanager.cpp:179
#13 0x00007f0cabc7f51e in QtPrivate::QSlotObjectBase::call (a=0x7f0ca4f44810,
r=0x5650c253b370, this=0x7f0c900080d0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false> (sender=0x7f0c90005120, signal_index=3,
argv=0x7f0ca4f44810) at kernel/qobject.cpp:3870
#15 0x00007f0cabc79af7 in QMetaObject::activate
(sender=sender at entry=0x7f0c90005120, m=m at entry=0x5650c243b800
<Akonadi::Server::AbstractItemRetrievalJob::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7f0ca4f44810)
at kernel/qobject.cpp:3930
#16 0x00005650c2392188 in
Akonadi::Server::AbstractItemRetrievalJob::requestCompleted
(this=this at entry=0x7f0c90005120, _t1=<optimized out>, _t2=...) at
./obj-x86_64-linux-gnu/src/server/libakonadiserver_autogen/5XLNPBDXWK/moc_itemretrievaljob.cpp:136
#17 0x00005650c23479ab in Akonadi::Server::ItemRetrievalJob::callFinished
(this=0x7f0c90005120, watcher=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:257
#18 0x00007f0cabc7f51e in QtPrivate::QSlotObjectBase::call (a=0x7f0ca4f449c0,
r=0x7f0c90005120, this=0x7f0c900085b0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false> (sender=0x7f0c90006960, signal_index=3,
argv=0x7f0ca4f449c0) at kernel/qobject.cpp:3870
#20 0x00007f0cabc79af7 in QMetaObject::activate (sender=<optimized out>,
m=m at entry=0x7f0cac00d5e0 <QDBusPendingCallWatcher::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7f0ca4f449c0)
at kernel/qobject.cpp:3930
#21 0x00007f0cabfee7e3 in QDBusPendingCallWatcher::finished (this=<optimized
out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#22 0x00007f0cabfee8e8 in QDBusPendingCallWatcherPrivate::_q_finished
(this=<optimized out>) at qdbuspendingcall.cpp:494
#23 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
.moc/moc_qdbuspendingcall.cpp:86
#24 0x00007f0cabc772a9 in QObject::event (this=0x7f0c90006960,
e=0x7f0bf804d1e0) at kernel/qobject.cpp:1339
#25 0x00007f0cabc49767 in doNotify (event=0x7f0bf804d1e0,
receiver=0x7f0c90006960) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#26 QCoreApplication::notify (event=0x7f0bf804d1e0, receiver=0x7f0c90006960,
this=<optimized out>) at kernel/qcoreapplication.cpp:1151
#27 QCoreApplication::notifyInternal2 (receiver=0x7f0c90006960,
event=0x7f0bf804d1e0) at kernel/qcoreapplication.cpp:1075
#28 0x00007f0cabc4bf74 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x5650c253f2c0) at
kernel/qcoreapplication.cpp:1815
#29 0x00007f0cabca2b87 in postEventSourceDispatch (s=0x7f0c90004bb0) at
kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f0caa463fbd in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f0caa464240 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f0caa4642e3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f0cabca21e2 in QEventDispatcherGlib::processEvents
(this=0x7f0c90000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f0cabc4824b in QEventLoop::exec (this=this at entry=0x7f0ca4f44da0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#35 0x00007f0caba6aeb2 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#36 0x00007f0caba6c01c in QThreadPrivate::start (arg=0x5650c254f3d0) at
thread/qthread_unix.cpp:342
#37 0x00007f0caad35609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#38 0x00007f0cab6d6103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007f0caa4641ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0caa4642e3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0cabca21fb in QEventDispatcherGlib::processEvents
(this=0x7f0c9c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0cabc4824b in QEventLoop::exec (this=this at entry=0x7f0ca5745da0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f0caba6aeb2 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f0caba6c01c in QThreadPrivate::start (arg=0x5650c25459c0) at
thread/qthread_unix.cpp:342
#7  0x00007f0caad35609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#8  0x00007f0cab6d6103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007f0caa4641ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0caa4642e3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0cabca21fb in QEventDispatcherGlib::processEvents
(this=0x7f0c98000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0cabc4824b in QEventLoop::exec (this=this at entry=0x7f0ca5f46da0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f0caba6aeb2 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f0caba6c01c in QThreadPrivate::start (arg=0x5650c254cd60) at
thread/qthread_unix.cpp:342
#7  0x00007f0caad35609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#8  0x00007f0cab6d6103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007f0caa4641ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0caa4642e3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0cabca21fb in QEventDispatcherGlib::processEvents
(this=0x7f0ca0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0cabc4824b in QEventLoop::exec (this=this at entry=0x7f0ca7729d70,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f0caba6aeb2 in QThread::exec (this=this at entry=0x7f0cac00eda0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007f0cabf8af5b in QDBusConnectionManager::run (this=0x7f0cac00eda0
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#7  0x00007f0caba6c01c in QThreadPrivate::start (arg=0x7f0cac00eda0 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:342
#8  0x00007f0caad35609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007f0cab6d6103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007f0caa4641ae in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0caa4642e3 in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0cabca21e2 in QEventDispatcherGlib::processEvents
(this=0x5650c24cb000, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f0cabc4824b in QEventLoop::exec (this=this at entry=0x7ffee4c8f440,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007f0cabc50296 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00005650c22179cc in main (argc=<optimized out>, argv=<optimized out>) at
./src/server/main.cpp:79
[Inferior 1 (process 2419) detached]

The reporter indicates this bug may be a duplicate of or related to bug 421077.

Possible duplicates by query: bug 424911, bug 424760, bug 424537, bug 424171,
bug 424122.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list