Bug 450494 - Akonadictl crashes after zypper dup
Summary: Akonadictl crashes after zypper dup
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-02-17 22:42 UTC by Ulf Bartholomäus
Modified: 2022-05-19 17:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (4.32 KB, text/plain)
2022-05-19 17:07 UTC, Jure Repinc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulf Bartholomäus 2022-02-17 22:42:37 UTC
Application: akonadiserver (5.19.2 (21.12.2))

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.16.8-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.0 [KCrashBackend]

-- Information about the crash:
What I was doing when the application crashed:
After previous last update (zypper dup), akonadi crashed  with this error.
after akonadictl start
/usr/bin/mysqlcheck: Got error: 2013: Lost connection to server at 'handshake: reading initial communication packet', system error: 104 when trying to connect org.kde.pim.akonadiserver: Failed to verify database server version org.kde.pim.akonadiserver: Query error: "Server has gone away QMYSQL: Unable to execute query" org.kde.pim.akonadiserver: Database error: "" org.kde.pim.akonadiserver: Shutting down AkonadiServer... org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...

rm -r .cache/akonadi_i*
don't help :-/

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Aborted
Content of s_kcrashErrorMessage: {_M_t = {<std::__uniq_ptr_impl<char, std::default_delete<char []> >> = {_M_t = {<std::_Tuple_impl<0, char*, std::default_delete<char []> >> = {<std::_Tuple_impl<1, std::default_delete<char []> >> = {<std::_Head_base<1, std::default_delete<char []>, true>> = {_M_head_impl = {<No data fields>}}, <No data fields>}, <std::_Head_base<0, char*, false>> = {_M_head_impl = <optimized out>}, <No data fields>}, <No data fields>}}, <No data fields>}}
[KCrash Handler]
#6  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007fa23e8452d3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007fa23e7f5356 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007fa23e7de7d3 in __GI_abort () at abort.c:79
#10 0x00007fa23ea91976 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#11 0x00007fa23ea9cfbc in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#12 0x00007fa23ea9d027 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:58
#13 0x00007fa23ea9d2c9 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x55f59eb3d270 <typeinfo for Akonadi::Server::DbException>, dest=0x55f59ea659d0 <Akonadi::Server::DbException::~DbException()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:95
#14 0x000055f59e9caddd in Akonadi::Server::DbIntrospector::hasIndex (this=<optimized out>, tableName=..., indexName=...) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/server/storage/dbintrospector.cpp:55
#15 0x000055f59ea66b8f in Akonadi::Server::DbInitializer::checkIndexes (this=0x55f59f95c9c0, tableDescription=...) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/server/storage/dbinitializer.cpp:200
#16 0x000055f59ea4bbd6 in Akonadi::Server::DbInitializer::updateIndexesAndConstraints (this=0x55f59f95c9c0) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/server/storage/dbinitializer.cpp:223
#17 Akonadi::Server::DataStore::init (this=<optimized out>) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/server/storage/datastore.cpp:191
#18 0x000055f59e9dbeb3 in Akonadi::Server::AkonadiServer::setupDatabase (this=<optimized out>) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/server/akonadi.cpp:261
#19 0x000055f59e9ddb95 in Akonadi::Server::AkonadiServer::init (this=0x7ffd9894fca0) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/server/akonadi.cpp:107
#20 0x00007fa23ef0848e in QObject::event (this=0x7ffd9894fca0, e=0x55f59f94fa30) at kernel/qobject.cpp:1314
#21 0x00007fa23eedbdef in doNotify (event=0x55f59f94fa30, receiver=0x7ffd9894fca0) at kernel/qcoreapplication.cpp:1154
#22 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1140
#23 QCoreApplication::notifyInternal2 (receiver=0x7ffd9894fca0, event=0x55f59f94fa30) at kernel/qcoreapplication.cpp:1064
#24 0x00007fa23eedee57 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55f59f941a10) at kernel/qcoreapplication.cpp:1821
#25 0x00007fa23ef33cd3 in postEventSourceDispatch (s=s@entry=0x55f59f949b50) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007fa23d117d5f in g_main_dispatch (context=0x55f59f9478c0) at ../glib/gmain.c:3381
#27 g_main_context_dispatch (context=0x55f59f9478c0) at ../glib/gmain.c:4099
#28 0x00007fa23d1180e8 in g_main_context_iterate (context=context@entry=0x55f59f9478c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#29 0x00007fa23d11819f in g_main_context_iteration (context=0x55f59f9478c0, may_block=1) at ../glib/gmain.c:4240
#30 0x00007fa23ef33354 in QEventDispatcherGlib::processEvents (this=0x55f59f946fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007fa23eeda81b in QEventLoop::exec (this=this@entry=0x7ffd9894fb00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007fa23eee2af0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x000055f59e9d76b6 in AkApplicationBase::exec (this=0x7ffd9894fc70) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/shared/akapplication.cpp:107
#34 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-21.12.2-1.1.x86_64/src/server/main.cpp:65
[Inferior 1 (process 11818) detached]

Possible duplicates by query: bug 448987, bug 448195, bug 448106, bug 447519, bug 446579.

Reported using DrKonqi
Comment 1 Ulf Bartholomäus 2022-02-21 17:18:07 UTC
2nd time I need to
Comment 2 Ulf Bartholomäus 2022-02-21 17:19:44 UTC
2nd time I need to delete all Akonadi settings :-(
Comment 3 Jure Repinc 2022-05-19 17:07:18 UTC
Created attachment 149004 [details]
New crash information added by DrKonqi

akonadiserver (5.20.1 (22.04.1)) using Qt 5.15.2

Just updated my OpenSuse Tumbleweed installation to the latest packages and Akonadi does not want to start anyomore

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007fb5119745e3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007fb5119216f6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007fb51190a814 in __GI_abort () at abort.c:79
[...]
#14 0x000055f198fb788f in Akonadi::Server::DbIntrospector::hasIndex (this=<optimized out>, tableName=..., indexName=...) at /usr/src/debug/akonadi-server-22.04.1-305.1.x86_64/src/server/storage/dbintrospector.cpp:55