SUMMARY KMyMoney crashes when i try to configure a report with polar chart. (My KMyMoney is not set to english, so the exact names may be a bit different) STEPS TO REPRODUCE 1. Go to reports 2. Open a report with polar chart 3. Click on configure report --> Crash OBSERVED RESULT Crash EXPECTED RESULT Configure Dialog should be shown SOFTWARE/OS VERSIONS Operating System: KDE neon User Edition KDE Plasma Version: 6.5.1 KDE Frameworks Version: 6.19.0 Qt Version: 6.9.2 Kernel Version: 6.14.0-33-generic (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION I get this if I start KMyMoney from the shell: Calling PolarGrid::calculateGrid() ASSERT failure in PolarGrid::calculateGrid: "calculateGrid() expects a list with exactly two entries.", file ./src/KChart/Polar/KChartPolarGrid.cpp, line 26 #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44 #1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78 #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 #3 0x00007fe05fa4527e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 #4 0x00007fe062320468 in KCrash::defaultCrashHandler (sig=6) at /usr/src/kf6-kcrash-6.19.0-0zneon+24.04+noble+release+build25/src/kcrash.cpp:605 #5 0x00007fe05fa45330 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6 #6 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44 #7 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78 #8 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89 #9 0x00007fe05fa4527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #10 0x00007fe05fa288ff in __GI_abort () at ./stdlib/abort.c:79 #11 0x00007fe060472d32 in qAbort () at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/global/qassert.cpp:46 #12 qt_message_fatal<QString&> (message=..., context=<optimized out>) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/global/qlogging.cpp:2149 #13 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7fe0604487b0 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=ap@entry=0x7ffd7f1c5a48) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/global/qlogging.cpp:381 #14 0x00007fe060473b45 in QMessageLogger::fatal (this=<optimized out>, msg=0x7fe0604487b0 "ASSERT failure in %s: \"%s\", file %s, line %d") at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/global/qlogging.cpp:883 #15 0x00007fe06045d7d4 in qt_assert_x (where=where@entry=0x7fe02116c360 "PolarGrid::calculateGrid", what=what@entry=0x7fe021173a98 "calculateGrid() expects a list with exactly two entries.", file=file@entry=0x7fe0211739d8 "./src/KChart/Polar/KChartPolarGrid.cpp", line=line@entry=26) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/global/qassert.cpp:114 #16 0x00007fe02107d7b6 in KChart::PolarGrid::calculateGrid (this=0x6396e7038fd0, rawDataDimensions=...) at /usr/src/kdiagram-3.0.1-0zneon+24.04+noble+release+build1/src/KChart/Polar/KChartPolarGrid.cpp:26 #17 0x00007fe0210c7e5a in KChart::AbstractGrid::updateData (this=0x6396e7038fd0, plane=0x6396e70390a0) at /usr/src/kdiagram-3.0.1-0zneon+24.04+noble+release+build1/src/KChart/KChartAbstractGrid.cpp:52 #18 0x00007fe02109206d in KChart::AbstractCoordinatePlane::gridDimensionsList (this=<optimized out>) at /usr/src/kdiagram-3.0.1-0zneon+24.04+noble+release+build1/src/KChart/KChartAbstractCoordinatePlane.cpp:154 #19 0x00007fe02123aeb2 in KReportTab::updateDataRange (this=0x6396e5969500) at /usr/src/kmymoney-5.2.1-0zneon+24.04+noble+release+build12/kmymoney/plugins/views/reports/kreportsview_p.h:458 #20 KReportsView::doConfigure (this=0x6396e54892e0, configureOption=KReportsView::NoConfigureOption) at /usr/src/kmymoney-5.2.1-0zneon+24.04+noble+release+build12/kmymoney/plugins/views/reports/kreportsview.cpp:398 #21 0x00007fe060546e39 in QtPrivate::QSlotObjectBase::call (a=0x7ffd7f1c6090, r=<optimized out>, this=0x6396e5482f60, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobjectdefs_impl.h:461 #22 doActivate<false> (sender=0x6396e4f91f70, signal_index=7, argv=0x7ffd7f1c6090) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobject.cpp:4157 #23 0x00007fe060e887e4 in QMetaObject::activate<void, bool> (ret=0x0, local_signal_index=4, mo=0x7fe061099d80, sender=0x6396e4f91f70, sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>, ret=<optimized out>) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobjectdefs.h:306 #24 QAction::triggered (this=this@entry=0x6396e4f91f70, _t1=<optimized out>) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/obj-x86_64-linux-gnu/src/gui/Gui_autogen/include/moc_qaction.cpp:372 #25 0x00007fe060e8e4c3 in QAction::activate (this=0x6396e4f91f70, event=<optimized out>) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/gui/kernel/qaction.cpp:1104 #26 0x00007fe0615d2b22 in QAbstractButtonPrivate::click (this=0x6396e4d810b0) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/widgets/qabstractbutton.cpp:364 #27 0x00007fe0615e0273 in QAbstractButton::mouseReleaseEvent (this=0x6396e6f52cd0, e=0x7ffd7f1c66a0) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/widgets/qabstractbutton.cpp:976 #28 0x00007fe0616f35cc in QToolButton::mouseReleaseEvent (this=0x6396e6f52cd0, e=0x7ffd7f1c66a0) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/widgets/qtoolbutton.cpp:588 #29 0x00007fe06151b770 in QWidget::event (this=0x6396e6f52cd0, event=0x7ffd7f1c66a0) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/kernel/qwidget.cpp:8983 #30 0x00007fe0614c7dcd in QApplicationPrivate::notify_helper (this=this@entry=0x6396e498ad00, receiver=receiver@entry=0x6396e6f52cd0, e=e@entry=0x7ffd7f1c66a0) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/kernel/qapplication.cpp:3300 #31 0x00007fe0614cd3bf in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=<optimized out>) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/kernel/qapplication.cpp:2777 #32 0x00007fe0604e59c0 in QCoreApplication::notifyInternal2 (receiver=0x6396e6f52cd0, event=0x7ffd7f1c66a0) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qcoreapplication.cpp:1106 #33 0x00007fe0604e5a1d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qcoreapplication.cpp:1560 #34 0x00007fe0614cbbd4 in QApplicationPrivate::sendMouseEvent (receiver=0x6396e6f52cd0, event=0x7ffd7f1c66a0, alienWidget=0x6396e6f52cd0, nativeWidget=0x6396e4b553a0, buttonDown=0x7fe061969310 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/kernel/qapplication.cpp:2358 #35 0x00007fe06152e3ee in QWidgetWindow::handleMouseEvent (this=0x6396e4cde650, event=0x7ffd7f1c6a40) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/kernel/qwidgetwindow.cpp:683 #36 0x00007fe0615312fd in QWidgetWindow::event (this=0x6396e4cde650, event=0x7ffd7f1c6a40) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/kernel/qwidgetwindow.cpp:292 #37 0x00007fe0614c7dcd in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x6396e4cde650, e=0x7ffd7f1c6a40) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/widgets/kernel/qapplication.cpp:3300 #38 0x00007fe0604e59c0 in QCoreApplication::notifyInternal2 (receiver=0x6396e4cde650, event=0x7ffd7f1c6a40) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qcoreapplication.cpp:1106 #39 0x00007fe0604e5a1d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qcoreapplication.cpp:1560 #40 0x00007fe060aeb11f in QGuiApplicationPrivate::processMouseEvent (e=0x6396e70df070) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/gui/kernel/qguiapplication.cpp:2476 #41 0x00007fe060b4844c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/gui/kernel/qwindowsysteminterface.cpp:1117 #42 0x00007fe060b485b8 in QWindowSystemInterface::flushWindowSystemEvents (flags=...) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/gui/kernel/qwindowsysteminterface.cpp:1086 #43 0x00007fe060539540 in QObject::event (this=0x6396e49c9980, e=0x7fe03c001f30) at /usr/src/qt6-base-6.9.2-0zneon+24.04+noble+release+build121/src/corelib/kernel/qobject.cpp:1432 #44 0x00007fe0614c7dcd in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x6396e49c9980, e=0x7fe03c001f30)
Two small questions: a) can you please provide a small sample file to duplicate the problem and attach it here? b) which diagram type did you select? (should be clear if the sample is available) BTW: you could start KMyMoney with the option --lang=C to see the original English version. This usually modifies the names of the account groups (hence the file appears to be changed). No need to save that. In case you do, using it in German (or any other language) will adjust them again.
a) As I obviously can't attach my real file, I just created a new empty file. Same behavior there as well. Not sure how much it is worth but i'll attach i. b) It is not a specific diagram. Any pie/polar chart triggers the crash as soon as i click ob "configure report".
Created attachment 186498 [details] sample file for crash
I cannot reproduce this, with a new version locally compiled from git head master branch. First question - I do not see anything in KMM referring to a polar chart - are you just using this as a synonym for pie chart? I can click configure on any pie chart in the reports list, and for any graph, if I Configure and change the chart type to pie, I can save and reopen or re-configure the report without crash. I'm also on Wayland, so that's not at issue. I'll try wading through the backtrace in more detail to see if there are any good hints there.
I used polar chart, because the error comes from PolarGrid::calculateGrid(). As i didn't know the english translation of the chart type, i used that name.