Bug 425205 - KMail crashes on first start after Tumbleweed dist-upgrade
Summary: KMail crashes on first start after Tumbleweed dist-upgrade
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Unclassified
Component: server (show other bugs)
Version: unspecified
Platform: openSUSE RPMs Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
: 427021 429420 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-10 21:41 UTC by Peter Huyoff
Modified: 2021-03-09 20:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (26.06 KB, text/plain)
2020-08-10 22:16 UTC, Peter Huyoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Huyoff 2020-08-10 21:41:40 UTC
Application: akonadiserver (5.14.3 (20.04.3))

Qt Version: 5.15.0
Frameworks Version: 5.72.0
Operating System: Linux 5.7.11-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- Unusual behavior I noticed:
After the latest dist-upgrade plasma-desktop doesn`t come up. (Maybe the proprietary nvidia drivers not compile and nouveau has problems with plasma) KMail runs up in fullscreen but akonadi crashes. After restarting it, KMail runs properly.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007fd8834cb9de in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x7fd830000080) at /usr/include/c++/10/bits/atomic_base.h:420
#5  QAtomicOps<int>::loadRelaxed<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#6  QBasicAtomicInteger<int>::loadRelaxed (this=0x7fd830000080) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:107
#7  QtPrivate::RefCount::deref (this=0x7fd830000080) at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:66
#8  QString::operator= (this=this@entry=0x7fd830465088, other=...) at text/qstring.cpp:2395
#9  0x000055b6267d7864 in Akonadi::Server::ItemRetrievalManager::retrievalJobFinished (this=0x55b62785bd20, request=0x7fd830465070, errorMsg=...) at /usr/src/debug/akonadi-server-20.04.3-1.1.x86_64/src/server/storage/itemretrievalmanager.cpp:176
#10 0x00007fd88365f0f6 in QtPrivate::QSlotObjectBase::call (a=0x7fd87d5778b0, r=0x55b62785bd20, this=0x7fd868008130) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x7fd87802e7c0, signal_index=3, argv=argv@entry=0x7fd87d5778b0) at kernel/qobject.cpp:3886
#12 0x00007fd883658450 in QMetaObject::activate (sender=sender@entry=0x7fd87802e7c0, m=m@entry=0x55b626899000 <Akonadi::Server::AbstractItemRetrievalJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fd87d5778b0) at kernel/qobject.cpp:3946
#13 0x000055b6267d9378 in Akonadi::Server::AbstractItemRetrievalJob::requestCompleted (_t2=..., _t1=<optimized out>, this=0x7fd87802e7c0) at /usr/src/debug/akonadi-server-20.04.3-1.1.x86_64/build/src/server/libakonadiserver_autogen/5XLNPBDXWK/moc_itemretrievaljob.cpp:136
#14 Akonadi::Server::ItemRetrievalJob::callFinished (this=0x7fd87802e7c0, watcher=<optimized out>) at /usr/src/debug/akonadi-server-20.04.3-1.1.x86_64/src/server/storage/itemretrievaljob.cpp:78
#15 0x00007fd88365f0f6 in QtPrivate::QSlotObjectBase::call (a=0x7fd87d577a00, r=0x7fd87802e7c0, this=0x7fd8680084c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x7fd868005380, signal_index=3, argv=argv@entry=0x7fd87d577a00) at kernel/qobject.cpp:3886
#17 0x00007fd883658450 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fd8839de5e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fd87d577a00) at kernel/qobject.cpp:3946
#18 0x00007fd8839beabf in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#19 0x00007fd883654b41 in QObject::event (this=0x7fd868005380, e=0x55b62785fda0) at kernel/qobject.cpp:1314
#20 0x00007fd883628bef in doNotify (event=0x55b62785fda0, receiver=0x7fd868005380) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:116
#21 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1137
#22 QCoreApplication::notifyInternal2 (receiver=0x7fd868005380, event=0x55b62785fda0) at kernel/qcoreapplication.cpp:1061
#23 0x00007fd88362b641 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55b627825c20) at kernel/qcoreapplication.cpp:1815
#24 0x00007fd8836809d3 in postEventSourceDispatch (s=0x7fd8680047b0) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007fd8819bd2b7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fd8819bd638 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fd8819bd6ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fd88368005f in QEventDispatcherGlib::processEvents (this=0x7fd868000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007fd8836275db in QEventLoop::exec (this=this@entry=0x7fd87d577da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#30 0x00007fd88344973e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007fd88344a871 in QThreadPrivate::start (arg=0x55b627862370) at thread/qthread_unix.cpp:342
#32 0x00007fd882711eaa in start_thread () from /lib64/libpthread.so.0
#33 0x00007fd8830b3aff in clone () from /lib64/libc.so.6

#1  0x00007fd88307ae81 in clock_gettime@GLIBC_2.2.5 () from /lib64/libc.so.6
#2  0x00007fd88367f971 in qt_clock_gettime (ts=0x7fd87dd78b00, clock=1) at kernel/qelapsedtimer_unix.cpp:175
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007fd88367e249 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fd874004d50) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007fd88367e825 in QTimerInfoList::timerWait (this=0x7fd874004d50, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007fd88367fdce in timerSourcePrepareHelper (timeout=0x7fd87dd78bd4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:162
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7fd87dd78bd4) at kernel/qeventdispatcher_glib.cpp:166
#9  0x00007fd8819bcaf2 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fd8819bd4fb in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fd8819bd6ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007fd88368007b in QEventDispatcherGlib::processEvents (this=0x7fd874000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007fd8836275db in QEventLoop::exec (this=this@entry=0x7fd87dd78da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#14 0x00007fd88344973e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#15 0x00007fd88344a871 in QThreadPrivate::start (arg=0x55b627825c00) at thread/qthread_unix.cpp:342
#16 0x00007fd882711eaa in start_thread () from /lib64/libpthread.so.0
#17 0x00007fd8830b3aff in clone () from /lib64/libc.so.6

#1  0x00007fd883449da6 in get_thread_data () at thread/qthread_unix.cpp:220
#2  QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:220
#3  0x00007fd883680481 in postEventSourcePrepare (timeout=0x0, s=0x7fd870004bb0) at kernel/qeventdispatcher_glib.cpp:270
#4  postEventSourceCheck (source=0x7fd870004bb0) at kernel/qeventdispatcher_glib.cpp:270
#5  0x00007fd8819bcfe9 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#6  0x00007fd8819bd575 in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007fd8819bd6ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fd88368007b in QEventDispatcherGlib::processEvents (this=0x7fd870000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#9  0x00007fd8836275db in QEventLoop::exec (this=this@entry=0x7fd87e579da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#10 0x00007fd88344973e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#11 0x00007fd88344a871 in QThreadPrivate::start (arg=0x55b6277f1b10) at thread/qthread_unix.cpp:342
#12 0x00007fd882711eaa in start_thread () from /lib64/libpthread.so.0
#13 0x00007fd8830b3aff in clone () from /lib64/libc.so.6

#1  0x00007fd88307ae81 in clock_gettime@GLIBC_2.2.5 () from /lib64/libc.so.6
#2  0x00007fd88367f971 in qt_clock_gettime (ts=0x7fd87ee7aab0, clock=1) at kernel/qelapsedtimer_unix.cpp:175
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007fd88367e249 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fd878005130) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007fd88367e825 in QTimerInfoList::timerWait (this=0x7fd878005130, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007fd88367fdce in timerSourcePrepareHelper (timeout=0x7fd87ee7ab84, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:162
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7fd87ee7ab84) at kernel/qeventdispatcher_glib.cpp:166
#9  0x00007fd8819bcaf2 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fd8819bd4fb in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fd8819bd6ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007fd88368007b in QEventDispatcherGlib::processEvents (this=0x7fd878000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007fd8836275db in QEventLoop::exec (this=this@entry=0x7fd87ee7ad50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#14 0x00007fd88344973e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#15 0x00007fd883972a17 in QDBusConnectionManager::run (this=0x7fd8839dfd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#16 0x00007fd88344a871 in QThreadPrivate::start (arg=0x7fd8839dfd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#17 0x00007fd882711eaa in start_thread () from /lib64/libpthread.so.0
#18 0x00007fd8830b3aff in clone () from /lib64/libc.so.6

#1  0x00007fd8819bd5ce in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd8819bd6ef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd88368005f in QEventDispatcherGlib::processEvents (this=0x55b6277e2e40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fd8836275db in QEventLoop::exec (this=this@entry=0x7ffd1c775190, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fd88362f840 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x000055b626733496 in AkApplicationBase::exec (this=0x7ffd1c775300) at /usr/src/debug/akonadi-server-20.04.3-1.1.x86_64/src/shared/akapplication.cpp:122
#7  main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-20.04.3-1.1.x86_64/src/server/main.cpp:79
[Inferior 1 (process 2232) detached]

Possible duplicates by query: bug 423579, bug 422092, bug 421812, bug 421668, bug 421501.

Reported using DrKonqi
Comment 1 Peter Huyoff 2020-08-10 22:16:55 UTC
Created attachment 130767 [details]
New crash information added by DrKonqi

plasmashell (5.19.4) using Qt 5.15.0

- What I was doing when the application crashed:

After dist-upgrade plasma does'nt start properly.

-- Backtrace (Reduced):
#4  0x00007f9e3bcffa20 in std::__atomic_base<int>::operator++() (this=<optimized out>) at /usr/include/c++/10/bits/atomic_base.h:325
#5  0x00007f9e3bcffa20 in QAtomicOps<int>::ref<int>(std::atomic<int>&) (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:283
[...]
#8  0x00007f9e3bcffa20 in QString::operator=(QString const&) (this=this@entry=0x7f9e2c8e5d20, other=...) at text/qstring.cpp:2394
#9  0x00007f9e3d40a835 in QV4::CompiledData::CompilationUnit::setUnitData(QV4::CompiledData::Unit const*, QV4::CompiledData::QmlUnit const*, QString const&, QString const&) (this=this@entry=0x7f9e2c8e5ce0, unitData=<optimized out>, qmlUnit=qmlUnit@entry=0x0, fileName=..., finalUrlString=...) at /usr/include/qt5/QtCore/qrefcount.h:60
#10 0x00007f9e3d4e2f14 in QV4::ExecutableCompilationUnit::loadFromDisk(QUrl const&, QDateTime const&, QString*) (this=this@entry=0x7f9e2c8e5cd0, url=..., sourceTimeStamp=..., errorString=errorString@entry=0x7f9e35836fc0) at /usr/include/qt5/QtCore/qarraydata.h:257
Comment 2 Christophe Giboudeaux 2021-03-09 20:01:17 UTC
*** Bug 429420 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Giboudeaux 2021-03-09 20:01:27 UTC
*** Bug 427021 has been marked as a duplicate of this bug. ***