Bug 510283

Summary: Editing an event crashes the calendar
Product: [Applications] Merkuro Reporter: Rose <r.email+kde>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: CONFIRMED ---    
Severity: crash CC: carl, sephiroth_pk
Priority: NOR    
Version First Reported In: 25.08.1   
Target Milestone: ---   
Platform: CachyOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Rose 2025-10-06 01:17:45 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Fresh installation of Merkuro (never been installed on this CachyOS intall before)
2. Added Nextcloud Caldav/Carddav account (two different calendars provided - a group shared calendar and a personal calendar, both set up via Nextcloud's calendar interface) and some readonly ICS calendars. 
3. Move an existing Nextcloud event to a different day
4. Double click or right-click > edit the event that was moved

OBSERVED RESULT

Mercuro Calendar crashes

EXPECTED RESULT

Edit Event interface should appear

SOFTWARE/OS VERSIONS
Merkuro Calendar: 25.08.1
CachyOS (Wayland)
KDE Frameworks: 6.18.0
Qt: Using 6.9.2 and built against 6.9.2
Unknown/Default
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.17.0-4-cachyos

ADDITIONAL INFORMATION
KDE Plasma: 6.4.5
KWin (Wayland)
RAM: 32GB

I also tried creating a new event from within Merkuro Calendar and then editing it which resulted in the same crashing behaviour.

Starting Merkuro from konsole and performing the above steps results in this terminal output:

❯ merkuro-calendar 
qrc:/qt/qml/org/kde/merkuro/calendar/qml/Main.qml:701:9: QML ScheduleView: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/merkuro/calendar/qml/MainViews/BasicMonthListView.qml:194:21: QML Button: Binding loop detected for property "implicitWidth":
qrc:/qt/qml/org/kde/desktop/Button.qml:20:5
qrc:/qt/qml/org/kde/merkuro/calendar/qml/Main.qml:677:9: QML MonthView: Created graphical object was not placed in the graphics scene.
Could not find any constructor for value type QQuickColorValueType to call with value QVariant(Invalid)
Could not find any constructor for value type QQuickColorValueType to call with value QVariant(Invalid)
qrc:/qt/qml/org/kde/kirigamiaddons/components/ConvergentContextMenu.qml:274:9: QML ActionsMenu: cannot show menu: parent is null
qrc:/qt/qml/org/kde/merkuro/calendar/qml/Dialogs/IncidenceEditorPage.qml:397:17: QML ComboBox: Binding loop detected for property "currentIndex":
qrc:/qt/qml/org/kde/merkuro/calendar/qml/Dialogs/IncidenceEditorPage.qml:406:21
qrc:/qt/qml/org/kde/merkuro/calendar/qml/Dialogs/IncidenceEditorPage.qml:397:17: QML ComboBox: Binding loop detected for property "currentIndex":
qrc:/qt/qml/org/kde/merkuro/calendar/qml/Dialogs/IncidenceEditorPage.qml:406:21
qrc:/qt/qml/org/kde/merkuro/calendar/qml/Dialogs/IncidenceEditorPage.qml:163:17: QML CollectionComboBox: Binding loop detected for property "implicitHeight":
qrc:/qt/qml/org/kde/desktop/ComboBox.qml:24:5
qrc:/qt/qml/org/kde/merkuro/calendar/qml/Dialogs/IncidenceEditorPage.qml:191:17: QML TextField: Binding loop detected for property "text":
qrc:/qt/qml/org/kde/merkuro/calendar/qml/Dialogs/IncidenceEditorPage.qml:203:21
fish: Job 1, 'merkuro-calendar' terminated by signal SIGSEGV (Address boundary error)

Using gdb, I get:

Thread 1 "merkuro-calenda" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()

I realise that's unhelpful but I'm ill at the moment. Once I feel well enough (and if it's still needed), I'll build Merkuro with debug flags and post results here.
Comment 1 Rose 2025-10-06 02:48:18 UTC
Apologies for forgetting to remove the initial comment part in my initial report (again, sick at the moment). Top add to above, I just discovered that the test event that I created, moved and tried editing (to replicate the bug) does not appear at all in the Nextcloud calendar interface, nor in Betterbird (Thunderbird) fork calendar. The event that I initially created is there, but moving it (click and drag) from within Merkuro hasn't actually updated the event - in Nextcloud/Betterbird, it's still exactly where it was when I first created it.
If I try to move it back (again, click and drag since I can't edit it), it appears to move just fine but trying to edit it results in the same crash behaviour.
Restarting Merkuro or even restarting my PC makes no difference to the crashing behaviour.
Deleting the event does not delete it from Nextcloud either.
I've also tried installing the kdepim-addons (as it wasn't installed) package and running akonadictl fsck but now it's at the point where ANY event will crash Merkuro calendar if I try to edit them.
Comment 2 Riccardo Robecchi 2025-11-04 13:05:27 UTC

*** This bug has been marked as a duplicate of bug 502595 ***
Comment 3 Riccardo Robecchi 2025-11-04 13:07:10 UTC
Whoops! This is not actually a duplicate of the one I indicated. Sorry.