[kmymoney] [Bug 392735] Crash on viewing or trying to add data into any account

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Jun 4 18:40:38 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=392735

--- Comment #15 from bobbilly5 at gmail.com ---
Same issue. If I go into the ledger and click on 'new' or 'edit' instant crash.
1.2GB core file

If I go and "Enter Schedule"  - that is all fine, the transaction is added to
ledger.  If I then try to 'Edit' that transaction it core dumps.

My compilation issues was due to library upgrade [mesa-lib], other things also
quit working - recompiled with newer library, other things are back to working
and kmymoney compiles.

5.0.80-dd77e1f9

--- a/kmymoney/widgets/qwidgetcontainer.cpp
+++ b/kmymoney/widgets/qwidgetcontainer.cpp
@@ -51,9 +51,10 @@ void QWidgetContainer::removeOrphans()
     if ((*it_w) && (*it_w)->parent())
       ++it_w;
     else {
-      remove(it_w.key());
-      delete(*it_w);
-      it_w = begin();
+      QWidget* const w = *it_w;
+      it_w = erase(it_w);
+      if (w)
+        w->deleteLater();
     }


(gdb) 
(gdb) 
(gdb) bt
#0  0x000000080829afd5 in QObject::installEventFilter () from
/usr/local/lib/qt5/libQt5Core.so.5
#1  0x00000000004ea0ab in KConfigGroup::readEntry<QByteArray> ()
#2  0x00000000004f9378 in KConfigGroup::readEntry<QByteArray> ()
#3  0x00000000004ec1ee in KConfigGroup::readEntry<QByteArray> ()
#4  0x00000008082a0978 in QMetaObject::activate () from
/usr/local/lib/qt5/libQt5Core.so.5
#5  0x0000000805d6de8b in QAction::activate () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#6  0x0000000805e62c4e in QAbstractButton::isCheckable () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#7  0x0000000805e63c3f in QAbstractButton::mouseReleaseEvent () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#8  0x0000000805f3b78f in QToolButton::mouseReleaseEvent () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#9  0x0000000805daf1b2 in QWidget::event () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#10 0x0000000805f3bcf7 in QToolButton::event () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#11 0x0000000805d76e10 in QApplicationPrivate::notify_helper () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#12 0x0000000805d799fd in QApplication::notify () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#13 0x000000080826ff93 in QCoreApplication::notifyInternal2 () from
/usr/local/lib/qt5/libQt5Core.so.5
#14 0x0000000805d77776 in QApplicationPrivate::sendMouseEvent () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#15 0x0000000805dcdeaf in QDesktopWidget::qt_metacall () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#16 0x0000000805dcce15 in QDesktopWidget::qt_metacall () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#17 0x0000000805d76e10 in QApplicationPrivate::notify_helper () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#18 0x0000000805d7814a in QApplication::notify () from
/usr/local/lib/qt5/libQt5Widgets.so.5
#19 0x000000080826ff93 in QCoreApplication::notifyInternal2 () from
/usr/local/lib/qt5/libQt5Core.so.5
#20 0x0000000806708719 in QGuiApplicationPrivate::processMouseEvent () from
/usr/local/lib/qt5/libQt5Gui.so.5
#21 0x00000008066ef2bb in QWindowSystemInterface::sendWindowSystemEvents ()
from /usr/local/lib/qt5/libQt5Gui.so.5
#22 0x000000081d0b962d in QXcbGlIntegrationPlugin::qt_metacall () from
/usr/local/lib/qt5/libQt5XcbQpa.so.5
#23 0x000000080826ba4e in QEventLoop::exec () from
/usr/local/lib/qt5/libQt5Core.so.5
#24 0x0000000808270631 in QCoreApplication::exec () from
/usr/local/lib/qt5/libQt5Core.so.5
#25 0x0000000000461022 in ?? ()
#26 0x000000000045f09b in ?? ()
#27 0x000000000045e08f in ?? ()
#28 0x0000000800a34000 in ?? ()
#29 0x0000000000000000 in ?? ()
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list