new crash on closing file
Jack Ostroff
ostroffjh at aya.yale.edu
Tue May 14 22:05:23 BST 2024
With 5.1.80-022af411a, I get a crash closing my data file (xml.) (So
far tried with two different files.) Possibly related to f34f4e99?
Backtrace:
(gdb) bt
#0 KMyMoneyAccountCombo::setSelected (this=0x3ff0000000000000, id=...,
ignoreCache=ignoreCache at entry=false) at
/usr/include/qt5/QtCore/qscopedpointer.h:116
#1 0x00007ffff7c90296 in KMyMoneyAccountCombo::setSelected
(this=<optimized out>, id=...) at
/usr/src/debug/app-office/kmymoney-9999-r1/kmymoney-9999/kmymoney/widgets/kmymoneyaccountcombo.cpp:286
#2 0x0000555555635ef2 in KInvestmentView::executeAction
(this=<optimized out>, action=<optimized out>, selections=<optimized
out>) at
/usr/src/debug/app-office/kmymoney-9999-r1/kmymoney-9999/kmymoney/views/kinvestmentview.cpp:327
#3 0x000055555563d37d in KMyMoneyView::executeAction
(this=this at entry=0x555555f4c900,
action=action at entry=eMenu::Action::FileClose, selections=...) at
/usr/src/debug/app-office/kmymoney-9999-r1/kmymoney-9999/kmymoney/views/kmymoneyview.cpp:694
#4 0x000055555560312a in KMyMoneyApp::Private::fileAction
(this=0x555555d8b1d0,
action=action at entry=eKMyMoney::FileAction::Closing) at
/usr/src/debug/app-office/kmymoney-9999-r1/kmymoney-9999/kmymoney/kmymoney.cpp:1251
#5 0x00005555555e9a88 in KMyMoneyApp::slotFileClose
(this=0x555555d07010) at
/usr/src/debug/app-office/kmymoney-9999-r1/kmymoney-9999/kmymoney/kmymoney.cpp:4815
#6 0x00005555555fb47f in
QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>,
void, bool (KMyMoneyApp::*)()>::call(bool (KMyMoneyApp::*)(),
KMyMoneyApp*, void**) (f=<optimized out>, o=<optimized out>,
arg=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#7 0x00005555555fb4c0 in QtPrivate::FunctionPointer<bool
(KMyMoneyApp::*)()>::call<QtPrivate::List<>, void>(bool
(KMyMoneyApp::*)(), KMyMoneyApp*, void**) (arg=<optimized out>,
o=<optimized out>, f=<optimized out>) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#8 QtPrivate::QSlotObject<bool (KMyMoneyApp::*)(), QtPrivate::List<>,
void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
(which=<optimized out>, this_=<optimized out>, r=<optimized out>,
a=<optimized out>, ret=<optimized out>) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#9 0x00007ffff5e20a85 in QtPrivate::QSlotObjectBase::call
(a=0x7fffffffc440, r=0x555555d07010, this=0x5555561024f0) at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x555556104c80, signal_index=<optimized
out>, argv=<optimized out>) at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/src/corelib/kernel/qobject.cpp:3925
#11 0x00007ffff5e19898 in QMetaObject::activate
(sender=sender at entry=0x555556104c80, m=m at entry=0x7ffff6d5a3c0
<QAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=1,
argv=argv at entry=0x7fffffffc440) at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/src/corelib/kernel/qobject.cpp:3985
#12 0x00007ffff68f8d07 in QAction::triggered
(this=this at entry=0x555556104c80, _t1=<optimized out>) at
.moc/moc_qaction.cpp:376
#13 0x00007ffff68fa95f in QAction::activate
(this=this at entry=0x555556104c80, event=event at entry=QAction::Trigger) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/kernel/qaction.cpp:1161
#14 0x00007ffff6a2f45c in QMenuPrivate::activateCausedStack
(this=this at entry=0x555555e6a110, causedStack=...,
action=action at entry=0x555556104c80,
action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/widgets/qmenu.cpp:1384
#15 0x00007ffff6a3508a in QMenuPrivate::activateAction
(this=this at entry=0x555555e6a110, action=action at entry=0x555556104c80,
action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/widgets/qmenu.cpp:1461
#16 0x00007ffff6a35ba5 in QMenu::mouseReleaseEvent (this=<optimized
out>, e=0x7fffffffcb20) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/widgets/qmenu.cpp:2967
#17 0x00007ffff693348e in QWidget::event
(this=this at entry=0x555555f52720, event=event at entry=0x7fffffffcb20) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/kernel/qwidget.cpp:8671
#18 0x00007ffff6a3750b in QMenu::event (this=0x555555f52720,
e=0x7fffffffcb20) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/widgets/qmenu.cpp:3089
#19 0x00007ffff68fe1a6 in QApplicationPrivate::notify_helper
(this=this at entry=0x55555586dee0,
receiver=receiver at entry=0x555555f52720, e=0x7fffffffcb20) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/kernel/qapplication.cpp:3640
#20 0x00007ffff6904059 in QApplication::notify (this=<optimized out>,
receiver=0x555555f52720, e=0x7fffffffcb20) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/kernel/qapplication.cpp:3084
#21 0x00007ffff5df9579 in QCoreApplication::notifyInternal2
(receiver=0x555555f52720, event=0x7fffffffcb20) at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/src/corelib/kernel/qcoreapplication.cpp:1064
#22 0x00007ffff5df9658 in QCoreApplication::sendSpontaneousEvent
(receiver=receiver at entry=0x555555f52720,
event=event at entry=0x7fffffffcb20) at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/src/corelib/kernel/qcoreapplication.cpp:1474
#23 0x00007ffff6903348 in QApplicationPrivate::sendMouseEvent
(receiver=0x555555f52720, event=event at entry=0x7fffffffcb20,
alienWidget=0x0, alienWidget at entry=0x555555f52720,
nativeWidget=nativeWidget at entry=0x555555f52720,
buttonDown=buttonDown at entry=0x7ffff6d89330 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false)
at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/kernel/qapplication.cpp:2622
#24 0x00007ffff69473e2 in QWidgetWindow::handleMouseEvent
(this=this at entry=0x55555eca5920, event=event at entry=0x7fffffffcf60) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/kernel/qwidgetwindow.cpp:580
#25 0x00007ffff6948a72 in QWidgetWindow::event (this=0x55555eca5920,
event=0x7fffffffcf60) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/kernel/qwidgetwindow.cpp:300
#26 0x00007ffff68fe1a6 in QApplicationPrivate::notify_helper
(this=this at entry=0x55555586dee0,
receiver=receiver at entry=0x55555eca5920, e=e at entry=0x7fffffffcf60) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/kernel/qapplication.cpp:3640
#27 0x00007ffff6903ca1 in QApplication::notify (this=0x7fffffffd460,
receiver=0x55555eca5920, e=0x7fffffffcf60) at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/kernel/qapplication.cpp:2980
#28 0x00007ffff5df9579 in QCoreApplication::notifyInternal2
(receiver=0x55555eca5920, event=0x7fffffffcf60) at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/src/corelib/kernel/qcoreapplication.cpp:1064
#29 0x00007ffff5df9658 in QCoreApplication::sendSpontaneousEvent
(receiver=receiver at entry=0x55555eca5920,
event=event at entry=0x7fffffffcf60) at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/src/corelib/kernel/qcoreapplication.cpp:1474
#30 0x00007ffff62ef3b1 in QGuiApplicationPrivate::processMouseEvent
(e=e at entry=0x55555e813610) at
/usr/src/debug/dev-qt/qtgui-5.15.13/qtbase-everywhere-src-5.15.13/src/gui/kernel/qguiapplication.cpp:2285
#31 0x00007ffff62f03cf in
QGuiApplicationPrivate::processWindowSystemEvent
(e=e at entry=0x55555e813610) at
/usr/src/debug/dev-qt/qtgui-5.15.13/qtbase-everywhere-src-5.15.13/src/gui/kernel/qguiapplication.cpp:2005
#32 0x00007ffff62d53b1 in
QWindowSystemInterface::sendWindowSystemEvents (flags=flags at entry=...)
at
/usr/src/debug/dev-qt/qtgui-5.15.13/qtbase-everywhere-src-5.15.13/src/gui/kernel/qwindowsysteminterface.cpp:1169
#33 0x00007fffe7d03a06 in xcbSourceDispatch (source=<optimized out>) at
/usr/src/debug/dev-qt/qtgui-5.15.13/qtbase-everywhere-src-5.15.13/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#34 0x00007ffff391c802 in ??? () at /usr/lib64/libglib-2.0.so.0
#35 0x00007ffff391fad7 in ??? () at /usr/lib64/libglib-2.0.so.0
#36 0x00007ffff3920130 in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#37 0x00007ffff5e424ea in QEventDispatcherGlib::processEvents
(this=0x5555559aa510, flags=...) at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#38 0x00007fffe7d03d92 in QXcbGlibEventDispatcher::processEvents
(this=<optimized out>, flags=...) at
/usr/src/debug/dev-qt/qtgui-5.15.13/qtbase-everywhere-src-5.15.13/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:143
#39 0x00007ffff5df471b in QEventLoop::processEvents
(this=this at entry=0x7fffffffd2f0, flags=..., flags at entry=...) at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/src/corelib/kernel/qeventloop.cpp:142
#40 0x00007ffff5df4b65 in QEventLoop::exec
(this=this at entry=0x7fffffffd2f0, flags=flags at entry=...) at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/include/QtCore/../../src/corelib/global/qflags.h:69
#41 0x00007ffff5df9eea in QCoreApplication::exec () at
/usr/src/debug/dev-qt/qtcore-5.15.13/qtbase-everywhere-src-5.15.13/include/QtCore/../../src/corelib/global/qflags.h:121
#42 0x00007ffff62e7bb0 in QGuiApplication::exec () at
/usr/src/debug/dev-qt/qtgui-5.15.13/qtbase-everywhere-src-5.15.13/src/gui/kernel/qguiapplication.cpp:1870
#43 0x00007ffff68fe117 in QApplication::exec () at
/usr/src/debug/dev-qt/qtwidgets-5.15.13/qtbase-everywhere-src-5.15.13/src/widgets/kernel/qapplication.cpp:2832
#44 0x00005555555d633b in runKMyMoney (a=..., file=...,
noFile=noFile at entry=false) at
/usr/src/debug/app-office/kmymoney-9999-r1/kmymoney-9999/kmymoney/main.cpp:361
#45 0x00005555555d72e8 in main (argc=<optimized out>, argv=<optimized
out>) at
/usr/src/debug/app-office/kmymoney-9999-r1/kmymoney-9999/kmymoney/main.cpp:270
(gdb)
I think I've got the bt without any wrapping, I'll be glad to send as
an attachment if it would make it easier to read.
More information about the KMyMoney-devel
mailing list