https://bugs.kde.org/show_bug.cgi?id=469863
Bug ID: 469863 Summary: Kalendar crashes when attempting to create new event Classification: Applications Product: kalendar Version: 23.04.1 Platform: Archlinux OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: claudio.cam...@kde.org Reporter: gabrielramirez1...@gmail.com CC: c...@carlschwan.eu Target Milestone: --- Application: kalendar (23.04.1) Qt Version: 5.15.9 Frameworks Version: 5.106.0 Operating System: Linux 6.3.2-arch1-1 x86_64 Windowing System: X11 Distribution: "Arch Linux" DrKonqi: 5.27.5 [KCrashBackend] -- Information about the crash: Installed calender from scratch. Attempting to create a new event always results in Kalendar crashing The crash can be reproduced every time. -- Backtrace: Application: Kalendar (kalendar), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} [KCrash Handler] #6 0x00007f22ceb0ee6d in std::__uniq_ptr_impl<Akonadi::CalendarBasePrivate, std::default_delete<Akonadi::CalendarBasePrivate> >::_M_ptr() const (this=0x38, this=<optimized out>) at /usr/include/c++/13.1.1/bits/unique_ptr.h:199 #7 std::unique_ptr<Akonadi::CalendarBasePrivate, std::default_delete<Akonadi::CalendarBasePrivate> >::get() const (this=0x38, this=<optimized out>) at /usr/include/c++/13.1.1/bits/unique_ptr.h:470 #8 std::unique_ptr<Akonadi::CalendarBasePrivate, std::default_delete<Akonadi::CalendarBasePrivate> >::operator->() const (this=0x38, this=<optimized out>) at /usr/include/c++/13.1.1/bits/unique_ptr.h:463 #9 qGetPtrHelper<std::unique_ptr<Akonadi::CalendarBasePrivate, std::default_delete<Akonadi::CalendarBasePrivate> > const>(std::unique_ptr<Akonadi::CalendarBasePrivate, std::default_delete<Akonadi::CalendarBasePrivate> > const&) (ptr=std::unique_ptr<Akonadi::CalendarBasePrivate> = {...}, ptr=<optimized out>) at /usr/include/qt/QtCore/qglobal.h:1149 #10 Akonadi::ETMCalendar::d_func() const (this=0x0) at /usr/src/debug/akonadi-calendar/akonadi-calendar-23.04.1/src/etmcalendar.h:186 #11 Akonadi::ETMCalendar::collection(long long) const (this=0x0, id=-1) at /usr/src/debug/akonadi-calendar/akonadi-calendar-23.04.1/src/etmcalendar.cpp:469 #12 0x000055e37891568f in CalendarManager::defaultCalendarId(IncidenceWrapper*) (incidenceWrapper=<optimized out>, this=0x55e3789c20e0 <_ZZN12_GLOBAL__N_135Q_QGS_calendarManagerGlobalInstance13innerFunctionEvE6holder.lto_priv.0>) at /usr/src/debug/kalendar/kalendar-23.04.1/src/calendarmanager.cpp:355 #13 CalendarManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x55e3789c20e0 <_ZZN12_GLOBAL__N_135Q_QGS_calendarManagerGlobalInstance13innerFunctionEvE6holder.lto_priv.0>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffd40c69130) at /usr/src/debug/kalendar/build/src/kalendar_autogen/EWIEGA46WW/moc_calendarmanager.cpp:250 #14 0x000055e378916f73 in CalendarManager::qt_metacall(QMetaObject::Call, int, void**) (this=0x55e3789c20e0 <_ZZN12_GLOBAL__N_135Q_QGS_calendarManagerGlobalInstance13innerFunctionEvE6holder.lto_priv.0>, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7ffd40c69130) at /usr/src/debug/kalendar/build/src/kalendar_autogen/EWIEGA46WW/moc_calendarmanager.cpp:406 #15 0x00007f22cda78174 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=0x7ffd40c693d0, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:51 #16 0x00007f22cd978671 in CallMethod (callType=<optimized out>, callArgs=<optimized out>, engine=<optimized out>, argTypes=<optimized out>, argCount=<optimized out>, returnType=<optimized out>, index=<optimized out>, object=<optimized out>) at /usr/include/qt/QtCore/qvarlengtharray.h:189 #17 CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=<optimized out>, data=<optimized out>, engine=<optimized out>, callArgs=<optimized out>, callType=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1553 #18 0x00007f22cd97da96 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const (this=<optimized out>, thisObject=0x7f22b01c1718, argv=<optimized out>, argc=1) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2115 #19 0x00007f22cd98fc67 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffd40c697e0, engine=0x55e3794b3de0, code=0x7f22b01c1718 "\300&\016q\"\177") at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:757 #20 0x00007f22cd9956c4 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=<optimized out>, engine=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:466 #21 0x00007f22cd936e30 in QV4::ArrowFunction::virtualCall(QV4::FunctionObject const*, QV4::Value const*, QV4::Value const*, int) (fo=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4functionobject.cpp:528 #22 0x00007f22cd98fc67 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffd40c69b40, engine=0x55e3794b3de0, code=0x7f22b01c1638 "\340\2318\242\"\177") at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:757 #23 0x00007f22cd9956c4 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=<optimized out>, engine=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:466 #24 0x00007f22cd93702a in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:69 #25 0x00007f22cda9935d in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=0x55e37a06f850, callData=0x7f22b01c15d0, isUndefined=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:212 #26 0x00007f22cda55811 in QQmlBoundSignalExpression::evaluate(void**) (this=this@entry=0x55e37a06f850, a=a@entry=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:224 #27 0x00007f22cda55d0c in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (a=0x0, e=0x55e37a06f800) at ../../include/QtQml/5.15.9/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69 #28 QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x55e37a06f800, a=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:341 #29 0x00007f22cda78095 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:104 #30 0x00007f22cc2be810 in doActivate<false>(QObject*, int, void**) (sender=0x55e3792d8b80, signal_index=17, argv=0x0) at kernel/qobject.cpp:3815 #31 0x00007f22cc2beb41 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd40c6b8a0, r=<optimized out>, this=0x55e3792dbd60, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #32 doActivate<false>(QObject*, int, void**) (sender=0x55e379246b90, signal_index=4, argv=0x7ffd40c6b8a0) at kernel/qobject.cpp:3923 #33 0x00007f22ccf6bec7 in QAction::triggered(bool) (this=this@entry=0x55e379246b90, _t1=<optimized out>) at .moc/moc_qaction.cpp:376 #34 0x00007f22ccf718c7 in QAction::activate(QAction::ActionEvent) (this=0x55e379246b90, event=<optimized out>) at kernel/qaction.cpp:1161 #35 0x00007f22ccf72bf3 in QAction::qt_metacall(QMetaObject::Call, int, void**) (this=0x55e379246b90, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7ffd40c6bae0) at .moc/moc_qaction.cpp:339 #36 0x00007f22cda78174 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=0x7ffd40c6bd30, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlobjectorgadget.cpp:51 #37 0x00007f22cd977a46 in CallMethod (callType=QMetaObject::InvokeMetaMethod, callArgs=0x7f22b01c1598, engine=0x55e3794b3de0, argTypes=0x0, argCount=0, returnType=43, index=<optimized out>, object=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1303 #38 CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=..., engine=0x55e3794b3de0, callArgs=0x7f22b01c1598, callType=QMetaObject::InvokeMetaMethod) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:1557 #39 0x00007f22cd97da96 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const (this=<optimized out>, thisObject=0x7f22b01c1550, argv=<optimized out>, argc=0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:2115 #40 0x00007f22cd98fc67 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffd40c6c140, engine=0x55e3794b3de0, code=0x7f22b01c1550 "") at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:757 #41 0x00007f22cd9956c4 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=<optimized out>, engine=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4vme_moth.cpp:466 #42 0x00007f22cd93702a in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) (this=<optimized out>, thisObject=<optimized out>, argv=<optimized out>, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4function.cpp:69 #43 0x00007f22cda9935d in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=0x55e3795e4fc0, callData=0x7f22b01c14d8, isUndefined=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmljavascriptexpression.cpp:212 #44 0x00007f22cda55811 in QQmlBoundSignalExpression::evaluate(void**) (this=this@entry=0x55e3795e4fc0, a=a@entry=0x7ffd40c6ddd0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:224 #45 0x00007f22cda55d0c in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (a=0x7ffd40c6ddd0, e=0x55e3795e4f70) at ../../include/QtQml/5.15.9/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69 #46 QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x55e3795e4f70, a=0x7ffd40c6ddd0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp:341 #47 0x00007f22cda78095 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=0x7ffd40c6ddd0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:104 #48 0x00007f22cc2be810 in doActivate<false>(QObject*, int, void**) (sender=0x55e379623f60, signal_index=11, argv=0x7ffd40c6ddd0) at kernel/qobject.cpp:3815 #49 0x00007f22caface27 in QQuickAction::triggered(QObject*) (this=this@entry=0x55e379623f60, _t1=<optimized out>, _t1@entry=0x55e37a6b5bf0) at .moc/moc_qquickaction_p.cpp:363 #50 0x00007f22cafaf850 in QQuickActionPrivate::trigger(QObject*, bool) (this=0x55e379624010, source=source@entry=0x55e37a6b5bf0, doToggle=doToggle@entry=false) at /usr/src/debug/qt5-quickcontrols2/qtquickcontrols2/src/quicktemplates2/qquickaction.cpp:558 #51 0x00007f22cafafb80 in QQuickAbstractButtonPrivate::trigger() (this=0x55e37a857c60) at /usr/src/debug/qt5-quickcontrols2/qtquickcontrols2/src/quicktemplates2/qquickabstractbutton.cpp:352 #52 0x00007f22cafb2b5a in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) (this=0x55e37a857c60, point=...) at /usr/src/debug/qt5-quickcontrols2/qtquickcontrols2/src/quicktemplates2/qquickabstractbutton.cpp:182 #53 0x00007f22cafcdee9 in QQuickControl::mouseReleaseEvent(QMouseEvent*) (this=<optimized out>, event=0x7ffd40c6e320) at /usr/src/debug/qt5-quickcontrols2/qtquickcontrols2/src/quicktemplates2/qquickcontrol.cpp:2181 #54 0x00007f22ce03ddf1 in QQuickItem::event(QEvent*) (this=0x55e37a6b5bf0, ev=0x7ffd40c6e320) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:8303 #55 0x00007f22ccf78b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55e37a6b5bf0, e=0x7ffd40c6e320) at kernel/qapplication.cpp:3640 #56 0x00007f22cc28e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55e37a6b5bf0, event=0x7ffd40c6e320) at kernel/qcoreapplication.cpp:1064 #57 0x00007f22cc28e093 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 #58 0x00007f22ce04ec95 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (this=this@entry=0x55e3794b5fb0, pointerEvent=0x55e37a142f70) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:2027 #59 0x00007f22ce04f6e2 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) (this=this@entry=0x55e3794b5fb0, event=0x55e37a142f70) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:2635 #60 0x00007f22ce052af0 in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) (event=0x7ffd40c6e320, this=0x55e3794b5fb0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:2445 #61 QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) (this=0x55e3794b5fb0, event=0x7ffd40c6e320) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:2428 #62 0x00007f22cc7569d5 in QWindow::event(QEvent*) (this=0x55e3794803c0, ev=<optimized out>) at kernel/qwindow.cpp:2455 #63 0x00007f22ccf78b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55e3794803c0, e=0x7ffd40c6e320) at kernel/qapplication.cpp:3640 #64 0x00007f22cc28e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55e3794803c0, event=0x7ffd40c6e320) at kernel/qcoreapplication.cpp:1064 #65 0x00007f22cc28e0b3 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474 #66 0x00007f22cc74002c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55e37bc48e10) at kernel/qguiapplication.cpp:2285 #67 0x00007f22cc7298c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #68 0x00007f22c612e8c0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105 #69 0x00007f22c9f0f53b in g_main_dispatch (context=0x7f22c0000ee0) at ../glib/glib/gmain.c:3460 #70 g_main_context_dispatch (context=0x7f22c0000ee0) at ../glib/glib/gmain.c:4200 #71 0x00007f22c9f6c219 in g_main_context_iterate.constprop.0 (context=0x7f22c0000ee0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276 #72 0x00007f22c9f0e1a2 in g_main_context_iteration (context=0x7f22c0000ee0, may_block=1) at ../glib/glib/gmain.c:4343 #73 0x00007f22cc2d8d3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55e378e87c10, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #74 0x00007f22cc28668c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffd40c6e6c0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #75 0x00007f22cc2912f9 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #76 0x00007f22cc73b052 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870 #77 0x00007f22ccf76f2a in QApplication::exec() () at kernel/qapplication.cpp:2832 #78 0x000055e37890e5d4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kalendar/kalendar-23.04.1/src/main.cpp:187 [Inferior 1 (process 13557) detached] Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.