SUMMARY Moving all account transactions to another account will leave the app hung up. It appears it is in a continuous loop. STEPS TO REPRODUCE 1. Open an account with a few transactions 2. Select all, right click, move to another account OBSERVED RESULT Transactions disappear, but the app hangs up, with a continuously spinning "wheel". EXPECTED RESULT Empty account should be shown, app should continue to be responsive.
Heaviest stack for the main thread of the target process: 11 start + 462 (dyld + 21790) [0x2006a051e] 11 ??? (kmymoney + 100928) [0x1000c5a40] 11 ??? (kmymoney + 106487) [0x1000c6ff7] 11 QCoreApplication::exec() + 130 (QtCore + 1988290) [0x1148836c2] 11 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471 (QtCore + 1972007) [0x11487f727] 11 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2090 (libqcocoa.dylib + 240330) [0x11aadbaca] 11 -[NSApplication run] + 586 (AppKit + 196457) [0x7ff81da27f69] 11 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 (AppKit + 252090) [0x7ff81da358ba] 11 _DPSNextEvent + 927 (AppKit + 258557) [0x7ff81da371fd] 11 _BlockUntilNextEventMatchingListInModeWithFilter + 70 (HIToolbox + 188645) [0x7ff8241d50e5] 11 ReceiveNextEventCommon + 283 (HIToolbox + 188947) [0x7ff8241d5213] 11 RunCurrentEventLoopInMode + 292 (HIToolbox + 189926) [0x7ff8241d55e6] 11 CFRunLoopRunSpecific + 562 (CoreFoundation + 512020) [0x7ff81b0c1014] 11 __CFRunLoopRun + 892 (CoreFoundation + 514640) [0x7ff81b0c1a50] 11 __CFRunLoopDoSources0 + 242 (CoreFoundation + 520256) [0x7ff81b0c3040] 11 __CFRunLoopDoSource0 + 180 (CoreFoundation + 520898) [0x7ff81b0c32c2] 11 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CoreFoundation + 521050) [0x7ff81b0c335a] 11 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40 (libqcocoa.dylib + 245272) [0x11aadce18] 11 QCocoaEventDispatcherPrivate::processPostedEvents() + 312 (libqcocoa.dylib + 243448) [0x11aadc6f8] 11 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 792 (QtCore + 1991224) [0x114884238] 11 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 167 (QtCore + 1986855) [0x114883127] 11 QApplication::notify(QObject*, QEvent*) + 480 (QtWidgets + 72000) [0x10cd23940] 11 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 262 (QtWidgets + 66950) [0x10cd22586] 11 QAbstractItemView::event(QEvent*) + 591 (QtWidgets + 2582527) [0x10cf887ff] 11 QFrame::event(QEvent*) + 43 (QtWidgets + 986123) [0x10ce02c0b] 11 QWidget::event(QEvent*) + 4677 (QtWidgets + 306245) [0x10cd5cc45] 11 QObject::event(QEvent*) + 745 (QtCore + 2153801) [0x1148abd49] 11 ??? (kmymoney + 839113) [0x100179dc9] 11 QHeaderView::length() const + 111 (QtWidgets + 2644479) [0x10cf979ff] 10 QHeaderViewPrivate::resizeSections(QHeaderView::ResizeMode, bool) + 1085 (QtWidgets + 2655837) [0x10cf9a65d] 10 void doActivate<false>(QObject*, int, void**) + 1124 (QtCore + 2185684) [0x1148b39d4] 10 ColumnSelector::slotUpdateHeaderState() + 236 (libkmm_base_widgets.5.1.80.dylib + 122796) [0x10937ffac] 9 KConfig::sync() + 1360 (libKF5ConfigCore.5.95.0.dylib + 26416) [0x10be3d730] 3 ??? (libKF5ConfigCore.5.95.0.dylib + 115360) [0x10be532a0] 2 ??? (libKF5ConfigCore.5.95.0.dylib + 109908) [0x10be51d54] 1 ??? [0x10beb6568] Process: kmymoney (KMyMoney) [5246] [unique pid 2095826] UUID: 7CB6CB51-D6AD-363A-8487-A60C708E5449 Path: /Applications/kmymoney.app/Contents/MacOS/kmymoney Identifier: org.kde.KMyMoney Version: 5.1.80 (5.1.80) Team ID: 5433B4KXM8 Shared Cache: 53B6853F-0BC3-33F5-BE72-1ACA3A188FF8 slid base address 0x7ff81acdc000, slide 0x1acdc000 Architecture: x86_64 (translated) Footprint: 487.57 MB Time Since Fork: 2708s Num samples: 11 (1-11) CPU Time: 0.910s (2.8G cycles, 9.8G instructions, 0.29c/i) Note: 1 idle work queue thread omitted Thread 0x16f6b66 DispatchQueue "com.apple.main-thread"(1) 11 samples (1-11) priority 47 (base 47) cpu time 0.909s (2.8G cycles, 9.8G instructions, 0.29c/i) <process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [603], IO tier 0> 11 start + 462 (dyld + 21790) [0x2006a051e] 1-11 11 ??? (kmymoney + 100928) [0x1000c5a40] 1-11 11 ??? (kmymoney + 106487) [0x1000c6ff7] 1-11 11 QCoreApplication::exec() + 130 (QtCore + 1988290) [0x1148836c2] 1-11 11 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471 (QtCore + 1972007) [0x11487f727] 1-11 11 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2090 (libqcocoa.dylib + 240330) [0x11aadbaca] 1-11 11 -[NSApplication run] + 586 (AppKit + 196457) [0x7ff81da27f69] 1-11 11 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 (AppKit + 252090) [0x7ff81da358ba] 1-11 11 _DPSNextEvent + 927 (AppKit + 258557) [0x7ff81da371fd] 1-11 11 _BlockUntilNextEventMatchingListInModeWithFilter + 70 (HIToolbox + 188645) [0x7ff8241d50e5] 1-11 11 ReceiveNextEventCommon + 283 (HIToolbox + 188947) [0x7ff8241d5213] 1-11 11 RunCurrentEventLoopInMode + 292 (HIToolbox + 189926) [0x7ff8241d55e6] 1-11 11 CFRunLoopRunSpecific + 562 (CoreFoundation + 512020) [0x7ff81b0c1014] 1-11 11 __CFRunLoopRun + 892 (CoreFoundation + 514640) [0x7ff81b0c1a50] 1-11 11 __CFRunLoopDoSources0 + 242 (CoreFoundation + 520256) [0x7ff81b0c3040] 1-11 11 __CFRunLoopDoSource0 + 180 (CoreFoundation + 520898) [0x7ff81b0c32c2] 1-11 11 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CoreFoundation + 521050) [0x7ff81b0c335a] 1-11 11 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40 (libqcocoa.dylib + 245272) [0x11aadce18] 1-11 11 QCocoaEventDispatcherPrivate::processPostedEvents() + 312 (libqcocoa.dylib + 243448) [0x11aadc6f8] 1-11 11 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 792 (QtCore + 1991224) [0x114884238] 1-11 11 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 167 (QtCore + 1986855) [0x114883127] 1-11 11 QApplication::notify(QObject*, QEvent*) + 480 (QtWidgets + 72000) [0x10cd23940] 1-11 11 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 262 (QtWidgets + 66950) [0x10cd22586] 1-11 11 QAbstractItemView::event(QEvent*) + 591 (QtWidgets + 2582527) [0x10cf887ff] 1-11 11 QFrame::event(QEvent*) + 43 (QtWidgets + 986123) [0x10ce02c0b] 1-11 11 QWidget::event(QEvent*) + 4677 (QtWidgets + 306245) [0x10cd5cc45] 1-11 11 QObject::event(QEvent*) + 745 (QtCore + 2153801) [0x1148abd49] 1-11 11 ??? (kmymoney + 839113) [0x100179dc9] 1-11 11 QHeaderView::length() const + 111 (QtWidgets + 2644479) [0x10cf979ff] 1-11 4 QHeaderViewPrivate::resizeSections(QHeaderView::ResizeMode, bool) + 1085 (QtWidgets + 2655837) [0x10cf9a65d] 1-4 4 void doActivate<false>(QObject*, int, void**) + 1124 (QtCore + 2185684) [0x1148b39d4] 1-4 4 ColumnSelector::slotUpdateHeaderState() + 236 (libkmm_base_widgets.5.1.80.dylib + 122796) [0x10937ffac] 1-4 3 KConfig::sync() + 1360 (libKF5ConfigCore.5.95.0.dylib + 26416) [0x10be3d730] 1-3 1 ??? (libKF5ConfigCore.5.95.0.dylib + 115360) [0x10be532a0] 1 1 ??? (libKF5ConfigCore.5.95.0.dylib + 109908) [0x10be51d54] 1 1 ??? [0x10beb6568] (running) 1 1 ??? (libKF5ConfigCore.5.95.0.dylib + 116537) [0x10be53739] 2 1 ??? (libKF5ConfigCore.5.95.0.dylib + 113832) [0x10be52ca8] 2 1 ??? [0x10becc010] (running) 2 1 ??? (libKF5ConfigCore.5.95.0.dylib + 116545) [0x10be53741] 3 1 QFileDevice::size() const + 35 (QtCore + 1261699) [0x1147d2083] 3 1 QFileDevice::flush() + 92 (QtCore + 1259260) [0x1147d16fc] 3 1 ??? [0x7ff8ab576940] 3 *1 ??? (kernel.release.t8101 + 30712) [0xfffffe000789b7f8] 3 *1 ??? (kernel.release.t8101 + 1627640) [0xfffffe0007a215f8] 3 *1 ??? (kernel.release.t8101 + 7074636) [0xfffffe0007f5334c] 3 *1 ??? (kernel.release.t8101 + 6099596) [0xfffffe0007e6528c] 3 *1 ??? (kernel.release.t8101 + 6100092) [0xfffffe0007e6547c] 3 *1 ??? (kernel.release.t8101 + 3068876) [0xfffffe0007b813cc] 3 *1 VNOP_WRITE + 132 (kernel.release.t8101 + 3121872) [0xfffffe0007b8e2d0] 3 *1 apfs_vnop_write + 6604 (apfs + 405792) [0xfffffe000a3a9190] 3 *1 cluster_write + 28 (kernel.release.t8101 + 2817540) [0xfffffe0007b43e04] 3 *1 cluster_write_ext + 676 (kernel.release.t8101 + 2818228) [0xfffffe0007b440b4] 3 *1 ??? (kernel.release.t8101 + 2819972) [0xfffffe0007b44784] 3 *1 ubc_upl_commit_range + 120 (kernel.release.t8101 + 6191448) [0xfffffe0007e7b958] 3 *1 ??? (kernel.release.t8101 + 1297904) [0xfffffe00079d0df0] 3 *1 ??? (kernel.release.t8101 + 32640) [0xfffffe000789bf80] 3 *1 ??? (kernel.release.t8101 + 32640) [0xfffffe000789bf80] (running) 3 1 KConfig::sync() + 262 (libKF5ConfigCore.5.95.0.dylib + 25318) [0x10be3d2e6] 4 1 ??? (libKF5ConfigCore.5.95.0.dylib + 119315) [0x10be54213] 4 1 QLockFile::tryLock(int) + 115 (QtCore + 1299443) [0x1147db3f3] 4 1 QLockFilePrivate::tryLock_sys() + 132 (QtCore + 1646900) [0x114830134] 4 1 ??? [0x7ff8ab576940] 4 *1 ??? (kernel.release.t8101 + 30712) [0xfffffe000789b7f8] 4 *1 ??? (kernel.release.t8101 + 1627640) [0xfffffe0007a215f8] 4 *1 ??? (kernel.release.t8101 + 7074636) [0xfffffe0007f5334c] 4 *1 ??? (kernel.release.t8101 + 2973020) [0xfffffe0007b69d5c] 4 *1 ??? (kernel.release.t8101 + 2969844) [0xfffffe0007b690f4] 4 *1 ??? (kernel.release.t8101 + 3072896) [0xfffffe0007b82380] 4 *1 ??? (kernel.release.t8101 + 2915644) [0xfffffe0007b5bd3c] 4 *1 ??? (kernel.release.t8101 + 3120340) [0xfffffe0007b8dcd4] 4 *1 apfs_vnop_create + 1052 (apfs + 430220) [0xfffffe000a3af0fc] 4 *1 fs_obj_create_do + 132 (apfs + 823848) [0xfffffe000a40f298] 4 *1 fs_tx_enter_internal + 236 (apfs + 804156) [0xfffffe000a40a5ac] 4 *1 spaceman_currently_available_space + 124 (apfs + 1203404) [0xfffffe000a46bd3c] 4 *1 ??? (kernel.release.t8101 + 1624052) [0xfffffe0007a207f4] 4 *1 ??? (kernel.release.t8101 + 458880) [0xfffffe0007904080] 4 *1 ??? (kernel.release.t8101 + 554928) [0xfffffe000791b7b0] 4 *1 ??? (kernel.release.t8101 + 561844) [0xfffffe000791d2b4] (blocked by turnstile waiting for kernel_task [0] thread 0x1678484) 4 1 QHeaderViewPrivate::resizeSections(QHeaderView::ResizeMode, bool) + 59 (QtWidgets + 2654811) [0x10cf9a25b] 5 1 QBasicTimer::stop() + 40 (QtCore + 1969448) [0x11487ed28] 5 1 QCocoaEventDispatcher::unregisterTimer(int) + 85 (libqcocoa.dylib + 237973) [0x11aadb195] 5 1 QCocoaEventDispatcherPrivate::maybeStartCFRunLoopTimer() + 209 (libqcocoa.dylib + 237649) [0x11aadb051] 5 1 CFRunLoopTimerSetNextFireDate + 494 (CoreFoundation + 771641) [0x7ff81b100639] 5 1 __CFRepositionTimerInMode + 135 (CoreFoundation + 303038) [0x7ff81b08dfbe] 5 1 ??? [0x7ff8ab576940] 5 *1 ??? (kernel.release.t8101 + 30712) [0xfffffe000789b7f8] 5 *1 ??? (kernel.release.t8101 + 1628340) [0xfffffe0007a218b4] 5 *1 ??? (kernel.release.t8101 + 1583508) [0xfffffe0007a16994] 5 *1 ??? (kernel.release.t8101 + 485204) [0xfffffe000790a754] (running) 5 6 QHeaderViewPrivate::resizeSections(QHeaderView::ResizeMode, bool) + 1085 (QtWidgets + 2655837) [0x10cf9a65d] 6-11 6 void doActivate<false>(QObject*, int, void**) + 1124 (QtCore + 2185684) [0x1148b39d4] 6-11 6 ColumnSelector::slotUpdateHeaderState() + 236 (libkmm_base_widgets.5.1.80.dylib + 122796) [0x10937ffac] 6-11 6 KConfig::sync() + 1360 (libKF5ConfigCore.5.95.0.dylib + 26416) [0x10be3d730] 6-11 1 ??? (libKF5ConfigCore.5.95.0.dylib + 117013) [0x10be53915] 6 1 QSaveFile::commit() + 162 (QtCore + 1355090) [0x1147e8d52] 6 1 QFSFileEngine::renameOverwrite(QString const&) + 59 (QtCore + 1440123) [0x1147fd97b] 6 1 QFileSystemEngine::renameOverwriteFile(QFileSystemEntry const&, QFileSystemEntry const&, QSystemError&) + 278 (QtCore + 1644294) [0x11482f706] 6 1 ??? [0x7ff8ab576940] 6 *1 ??? (kernel.release.t8101 + 30712) [0xfffffe000789b7f8] 6 *1 ??? (kernel.release.t8101 + 1627640) [0xfffffe0007a215f8] 6 *1 ??? (kernel.release.t8101 + 7074636) [0xfffffe0007f5334c] 6 *1 ??? (kernel.release.t8101 + 3013756) [0xfffffe0007b73c7c] 6 *1 ??? (kernel.release.t8101 + 2878176) [0xfffffe0007b52ae0] 6 *1 ??? (kernel.release.t8101 + 2879732) [0xfffffe0007b530f4] 6 *1 ??? (kernel.release.t8101 + 2883120) [0xfffffe0007b53e30] 6 *1 apfs_vnop_reclaim + 1176 (apfs + 300108) [0xfffffe000a38f4bc] 6 *1 fs_delete_inode_with_name + 756 (apfs + 822000) [0xfffffe000a40eb60] 6 *1 fs_delete_inode_with_xid + 752 (apfs + 813848) [0xfffffe000a40cb88] 6 *1 decrement_dstream_id_for_deletion + 560 (apfs + 815960) [0xfffffe000a40d3c8] 6 *1 remove_jobj + 224 (apfs + 767956) [0xfffffe000a401844] 6 *1 create_or_modify_jobj + 1044 (apfs + 760340) [0xfffffe000a3ffa84] 6 *1 tree_remove + 340 (apfs + 951560) [0xfffffe000a42e578] 6 *1 bt_remove_internal + 1712 (apfs + 1023356) [0xfffffe000a43fdec] 6 *1 bt_search_node + 28 (apfs + 1000572) [0xfffffe000a43a4ec] 6 *1 bt_search_node_insert + 188 (apfs + 1000256) [0xfffffe000a43a3b0] 6 *1 apfs_key_compare + 120 (apfs + 762884) [0xfffffe000a400474] (running) 6 1 ??? (libKF5ConfigCore.5.95.0.dylib + 116545) [0x10be53741] 7 1 QFileDevice::size() const + 35 (QtCore + 1261699) [0x1147d2083] 7 1 QFileDevice::flush() + 92 (QtCore + 1259260) [0x1147d16fc] 7 1 ??? [0x7ff8ab576940] 7 *1 ??? (kernel.release.t8101 + 30712) [0xfffffe000789b7f8] 7 *1 ??? (kernel.release.t8101 + 1627640) [0xfffffe0007a215f8] 7 *1 ??? (kernel.release.t8101 + 7074636) [0xfffffe0007f5334c] 7 *1 ??? (kernel.release.t8101 + 6099596) [0xfffffe0007e6528c] 7 *1 ??? (kernel.release.t8101 + 6100092) [0xfffffe0007e6547c] 7 *1 ??? (kernel.release.t8101 + 3068876) [0xfffffe0007b813cc] 7 *1 VNOP_WRITE + 132 (kernel.release.t8101 + 3121872) [0xfffffe0007b8e2d0] 7 *1 apfs_vnop_write + 6604 (apfs + 405792) [0xfffffe000a3a9190] 7 *1 cluster_write + 28 (kernel.release.t8101 + 2817540) [0xfffffe0007b43e04] 7 *1 cluster_write_ext + 676 (kernel.release.t8101 + 2818228) [0xfffffe0007b440b4] 7 *1 ??? (kernel.release.t8101 + 2819100) [0xfffffe0007b4441c] 7 *1 ??? (kernel.release.t8101 + 6187408) [0xfffffe0007e7a990] 7 *1 ??? (kernel.release.t8101 + 1275072) [0xfffffe00079cb4c0] (running) 7 1 ??? (libKF5ConfigCore.5.95.0.dylib + 117013) [0x10be53915] 8 1 QSaveFile::commit() + 162 (QtCore + 1355090) [0x1147e8d52] 8 1 QFSFileEngine::renameOverwrite(QString const&) + 59 (QtCore + 1440123) [0x1147fd97b] 8 1 QFileSystemEngine::renameOverwriteFile(QFileSystemEntry const&, QFileSystemEntry const&, QSystemError&) + 278 (QtCore + 1644294) [0x11482f706] 8 1 ??? [0x7ff8ab576940] 8 *1 ??? (kernel.release.t8101 + 30712) [0xfffffe000789b7f8] 8 *1 ??? (kernel.release.t8101 + 1627640) [0xfffffe0007a215f8] 8 *1 ??? (kernel.release.t8101 + 7074636) [0xfffffe0007f5334c] 8 *1 ??? (kernel.release.t8101 + 3013756) [0xfffffe0007b73c7c] 8 *1 ??? (kernel.release.t8101 + 2877840) [0xfffffe0007b52990] 8 *1 ??? (kernel.release.t8101 + 3132220) [0xfffffe0007b90b3c] 8 *1 apfs_vnop_inactive + 868 (apfs + 304960) [0xfffffe000a3907b0] 8 *1 ubc_setsize + 20 (kernel.release.t8101 + 6187696) [0xfffffe0007e7aab0] 8 *1 ubc_setsize_ex + 376 (kernel.release.t8101 + 6187004) [0xfffffe0007e7a7fc] 8 *1 ??? (kernel.release.t8101 + 1015744) [0xfffffe000798bfc0] 8 *1 ??? (kernel.release.t8101 + 1211476) [0xfffffe00079bbc54] 8 *1 ??? (kernel.release.t8101 + 1624052) [0xfffffe0007a207f4] 8 *1 ??? (kernel.release.t8101 + 458880) [0xfffffe0007904080] (running) 8 1 ??? (libKF5ConfigCore.5.95.0.dylib + 117574) [0x10be53b46] 9 1 QMapDataBase::freeTree(QMapNodeBase*, int) + 39 (QtCore + 408583) [0x114701c07] 9 1 QMapDataBase::freeTree(QMapNodeBase*, int) + 39 (QtCore + 408583) [0x114701c07] 9 1 QMapDataBase::freeTree(QMapNodeBase*, int) + 59 (QtCore + 408603) [0x114701c1b] 9 1 QMapDataBase::freeTree(QMapNodeBase*, int) + 39 (QtCore + 408583) [0x114701c07] 9 1 ??? [0x7ff8ab574018] (running) 9 2 ??? (libKF5ConfigCore.5.95.0.dylib + 115360) [0x10be532a0] 10-11 1 ??? [0x10bec8fec] (running) 10 1 ??? (libKF5ConfigCore.5.95.0.dylib + 109908) [0x10be51d54] 11 1 ??? (libKF5ConfigCore.5.95.0.dylib + 64962) [0x10be46dc2] 11 1 ??? (libKF5ConfigCore.5.95.0.dylib + 44756) [0x10be41ed4] 11 1 malloc + 0 (libsystem_malloc.dylib + 5424) [0x7ff81ae18530] (running) 11
The cause is that the model implementation is not optimized for mass operations. So for each transaction all data is updated. Depending on the number of transactions to be changed and on the number of views/ledgers you have open at the time this may take a very long time to complete. But eventually it does finish. A few (as in 5..10) transactions should not be a problem.