Bug 444617 - Kalendar crashes on open
Summary: Kalendar crashes on open
Status: RESOLVED WORKSFORME
Alias: None
Product: Merkuro
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-10-29 17:40 UTC by bugzy
Modified: 2022-03-24 12:01 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (19.21 KB, text/plain)
2022-03-24 12:01 UTC, Seweryn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugzy 2021-10-29 17:40:49 UTC
Application: kalendar (0.1)

Qt Version: 5.15.2
Frameworks Version: 5.87.0
Operating System: Linux 5.14.14-200.fc34.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora 34 (KDE Plasma)
DrKonqi: 5.23.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
- Upgraded to plasma 5.23.2 and kf 5.87.0
- Restarted system
- Attempted to open kalendar and it crashes

The crash can be reproduced every time.

-- Backtrace:
Application: Kalendar (kalendar), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f6f985274d4 in QQmlType::QQmlType(QQmlType const&) () from /lib64/libQt5Qml.so.5
#5  0x00007f6f983791d0 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively(int, QQmlBindingInstantiationContext const&, QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired) [clone .cold] () from /lib64/libQt5Qml.so.5
#6  0x00007f6f9857b4d1 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively(int, QQmlBindingInstantiationContext const&, QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired) () from /lib64/libQt5Qml.so.5
#7  0x00007f6f9857c370 in QQmlTypeCompiler::compile() () from /lib64/libQt5Qml.so.5
#8  0x00007f6f984edd5c in QQmlTypeData::done() () from /lib64/libQt5Qml.so.5
#9  0x00007f6f984e183d in QQmlDataBlob::tryDone() () from /lib64/libQt5Qml.so.5
#10 0x00007f6f9852d7c9 in QQmlTypeLoader::setData(QQmlDataBlob*, QQmlDataBlob::SourceCodeData const&) () from /lib64/libQt5Qml.so.5
#11 0x00007f6f9852e266 in QQmlTypeLoader::setData(QQmlDataBlob*, QString const&) () from /lib64/libQt5Qml.so.5
#12 0x00007f6f9852ed08 in QQmlTypeLoader::loadThread(QQmlDataBlob*) () from /lib64/libQt5Qml.so.5
#13 0x00007f6f9852f16c in QQmlTypeLoader::load(QQmlDataBlob*, QQmlTypeLoader::Mode) () from /lib64/libQt5Qml.so.5
#14 0x00007f6f985346d2 in QQmlTypeLoader::getType(QUrl const&, QQmlTypeLoader::Mode) () from /lib64/libQt5Qml.so.5
#15 0x00007f6f984f5c24 in QQmlTypeData::resolveTypes() () from /lib64/libQt5Qml.so.5
#16 0x00007f6f984f61bd in QQmlTypeData::allDependenciesDone() () from /lib64/libQt5Qml.so.5
#17 0x00007f6f9852da32 in QQmlTypeLoader::setData(QQmlDataBlob*, QQmlDataBlob::SourceCodeData const&) () from /lib64/libQt5Qml.so.5
#18 0x00007f6f9852e266 in QQmlTypeLoader::setData(QQmlDataBlob*, QString const&) () from /lib64/libQt5Qml.so.5
#19 0x00007f6f9852ed08 in QQmlTypeLoader::loadThread(QQmlDataBlob*) () from /lib64/libQt5Qml.so.5
#20 0x00007f6f9852f16c in QQmlTypeLoader::load(QQmlDataBlob*, QQmlTypeLoader::Mode) () from /lib64/libQt5Qml.so.5
#21 0x00007f6f985346d2 in QQmlTypeLoader::getType(QUrl const&, QQmlTypeLoader::Mode) () from /lib64/libQt5Qml.so.5
#22 0x00007f6f984f5c24 in QQmlTypeData::resolveTypes() () from /lib64/libQt5Qml.so.5
#23 0x00007f6f984f61bd in QQmlTypeData::allDependenciesDone() () from /lib64/libQt5Qml.so.5
#24 0x00007f6f9852da32 in QQmlTypeLoader::setData(QQmlDataBlob*, QQmlDataBlob::SourceCodeData const&) () from /lib64/libQt5Qml.so.5
#25 0x00007f6f9852e266 in QQmlTypeLoader::setData(QQmlDataBlob*, QString const&) () from /lib64/libQt5Qml.so.5
#26 0x00007f6f9852ed08 in QQmlTypeLoader::loadThread(QQmlDataBlob*) () from /lib64/libQt5Qml.so.5
#27 0x00007f6f9852f16c in QQmlTypeLoader::load(QQmlDataBlob*, QQmlTypeLoader::Mode) () from /lib64/libQt5Qml.so.5
#28 0x00007f6f985346d2 in QQmlTypeLoader::getType(QUrl const&, QQmlTypeLoader::Mode) () from /lib64/libQt5Qml.so.5
#29 0x00007f6f984f5c24 in QQmlTypeData::resolveTypes() () from /lib64/libQt5Qml.so.5
#30 0x00007f6f984f61bd in QQmlTypeData::allDependenciesDone() () from /lib64/libQt5Qml.so.5
#31 0x00007f6f9852da32 in QQmlTypeLoader::setData(QQmlDataBlob*, QQmlDataBlob::SourceCodeData const&) () from /lib64/libQt5Qml.so.5
#32 0x00007f6f9852e266 in QQmlTypeLoader::setData(QQmlDataBlob*, QString const&) () from /lib64/libQt5Qml.so.5
#33 0x00007f6f9852ed08 in QQmlTypeLoader::loadThread(QQmlDataBlob*) () from /lib64/libQt5Qml.so.5
#34 0x00007f6f984f29f1 in QQmlTypeLoaderThread::loadThread(QQmlDataBlob*) () from /lib64/libQt5Qml.so.5
#35 0x00007f6f9858feaf in QQmlThreadPrivate::event(QEvent*) () from /lib64/libQt5Qml.so.5
#36 0x00007f6f97131443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#37 0x00007f6f9665f798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#38 0x00007f6f96662d06 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#39 0x00007f6f966b10d7 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#40 0x00007f6f943bc4cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#41 0x00007f6f944104f8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#42 0x00007f6f943b9c03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#43 0x00007f6f966b0b78 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#44 0x00007f6f9665e1a2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#45 0x00007f6f964a12aa in QThread::exec() () from /lib64/libQt5Core.so.5
#46 0x00007f6f9858f5ec in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#47 0x00007f6f964a24a6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#48 0x00007f6f95b7e299 in start_thread () from /lib64/libpthread.so.0
#49 0x00007f6f960ae353 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6f82edc640 (LWP 4901) "QDBusConnection"):
#0  0x00007f6f9645c730 in QTimerInfoList::updateCurrentTime()@plt () from /lib64/libQt5Core.so.5
#1  0x00007f6f966af1b9 in QTimerInfoList::timerWait(timespec&) () from /lib64/libQt5Core.so.5
#2  0x00007f6f966b0e3e in timerSourcePrepare(_GSource*, int*) () from /lib64/libQt5Core.so.5
#3  0x00007f6f943bc08a in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#4  0x00007f6f94410303 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#5  0x00007f6f943b9c03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f6f966b0bee in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f6f9665e1a2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#8  0x00007f6f964a12aa in QThread::exec() () from /lib64/libQt5Core.so.5
#9  0x00007f6f95318b6b in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#10 0x00007f6f964a24a6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#11 0x00007f6f95b7e299 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f6f960ae353 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6f90a53940 (LWP 4900) "kalendar"):
#1  0x00007f6f95b842c0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#2  0x00007f6f964a801b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib64/libQt5Core.so.5
#3  0x00007f6f9858fa2c in QQmlThread::internalCallMethodInThread(QQmlThread::Message*) () from /lib64/libQt5Qml.so.5
#4  0x00007f6f9852f08c in QQmlTypeLoader::load(QQmlDataBlob*, QQmlTypeLoader::Mode) () from /lib64/libQt5Qml.so.5
#5  0x00007f6f985346d2 in QQmlTypeLoader::getType(QUrl const&, QQmlTypeLoader::Mode) () from /lib64/libQt5Qml.so.5
#6  0x00007f6f985100f3 in QQmlComponentPrivate::loadUrl(QUrl const&, QQmlComponent::CompilationMode) () from /lib64/libQt5Qml.so.5
#7  0x00007f6f9856868b in QQmlApplicationEnginePrivate::startLoad(QUrl const&, QByteArray const&, bool) () from /lib64/libQt5Qml.so.5
#8  0x00007f6f98568791 in QQmlApplicationEngine::load(QUrl const&) () from /lib64/libQt5Qml.so.5
#9  0x000056094b244d7e in main ()
[Inferior 1 (process 4900) detached]

Reported using DrKonqi
Comment 1 Fushan Wen 2021-10-29 17:47:10 UTC
Delete ~/.cache/kalendar may work.
Comment 2 bugzy 2021-10-29 17:48:06 UTC
Uninstalling kalendar from https://copr.fedorainfracloud.org/coprs/zawertun/kde/package/kalendar/

And Installing kalendar from kalendar https://copr.fedorainfracloud.org/coprs/marcdeop/kalendar/build/2912884/ fixes the issue
Comment 3 bugzy 2021-10-29 17:49:58 UTC
(In reply to qydwhotmail from comment #1)
> Delete ~/.cache/kalendar may work.

I suppose that may have been what fixed it rather than the uninstall and reinstall.
Comment 4 Claudio Cambra 2021-11-01 15:18:16 UTC
Marking as fixed, thanks for reporting!
Comment 5 Seweryn 2022-03-24 12:01:42 UTC
Created attachment 147699 [details]
New crash information added by DrKonqi

kalendar (1.0.0) using Qt 5.15.2

Kalendar app segments at launch. Nothing else to say really.

-- Backtrace (Reduced):
#6  QQmlRefPointer<QQmlTypePrivate const>::QQmlRefPointer (other=..., this=0x7f3717ffd670, this@entry=0x7f3717ffd5f0) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../../src/qml/qml/ftw/qqmlrefcount_p.h:152
#7  QQmlType::QQmlType (this=this@entry=0x7f3717ffd670) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-1.2.x86_64/src/qml/qml/qqmltype.cpp:121
#8  0x00007f372e75e76c in QQmlPropertyCacheCreator<QQmlTypeCompiler>::propertyCacheForObject (this=this@entry=0x7f3717ffdef0, obj=obj@entry=0x7f370c68c278, context=..., error=error@entry=0x7f3717ffd708) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../../src/qml/qml/qqmlpropertycachecreator_p.h:310
#9  0x00007f372e761361 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively (this=this@entry=0x7f3717ffdef0, objectIndex=107, context=..., isVMERequired=isVMERequired@entry=QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired::Maybe) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../../src/qml/qml/qqmlpropertycachecreator_p.h:264
#10 0x00007f372e7616ec in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively (this=this@entry=0x7f3717ffdef0, objectIndex=105, context=..., isVMERequired=isVMERequired@entry=QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired::Maybe) at /usr/include/qt5/QtCore/qendian.h:290