https://bugs.kde.org/show_bug.cgi?id=454485
Bug ID: 454485 Summary: KMyMoney crashed when opening a ledger Product: kmymoney Version: 5.1.2 Platform: openSUSE RPMs OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kmymoney-de...@kde.org Reporter: apk...@yahoo.com Target Milestone: --- Application: kmymoney (5.1.2) Qt Version: 5.15.2 Frameworks Version: 5.94.0 Operating System: Linux 5.17.9-1-default x86_64 Windowing System: X11 Distribution: openSUSE Tumbleweed DrKonqi: 5.24.5 [KCrashBackend] -- Information about the crash: - What I was doing when the application crashed: App started up and prompted to enter a scheduled transaction. I cancelled that and tried to open a ledger. The app crashed. The crash can be reproduced every time. -- Backtrace: Application: KMyMoney (kmymoney), signal: Aborted [KCrash Handler] #4 0x00007eff5e92d6ac in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x00007eff5e8da6f6 in raise () from /lib64/libc.so.6 #6 0x00007eff5e8c3814 in abort () from /lib64/libc.so.6 #7 0x00007eff5e92079e in __libc_message () from /lib64/libc.so.6 #8 0x00007eff5e9c587a in __fortify_fail () from /lib64/libc.so.6 #9 0x00007eff5e9c3e36 in __chk_fail () from /lib64/libc.so.6 #10 0x00007eff4f089446 in memcpy (__len=3, __src=0x5588c1e9fcc0, __dest=0x5588c1e31930) at /usr/include/bits/string_fortified.h:29 #11 gnutls_realloc_zero (data=0x5588c1e9fcc0, old_size=3, new_size=2) at nettle/init.c:130 #12 0x00007eff5648ea60 in __gmpz_get_str (res_str=<optimized out>, base=<optimized out>, x=<optimized out>) at mpz/get_str.c:111 #13 0x00007eff60f10756 in __gmp_expr<__mpz_struct [1], __mpz_struct [1]>::get_str[abi:cxx11](int) const (base=10, this=0x7ffe24defde0) at /usr/include/gmpxx.h:1702 #14 MyMoneyMoney::formatMoney (this=<optimized out>, currency=..., prec=2, showThousandSeparator=<optimized out>) at /usr/src/debug/kmymoney-5.1.2-3.9.x86_64/kmymoney/mymoney/mymoneymoney.cpp:267 #15 0x00007eff60f10fcd in MyMoneyMoney::formatMoney (this=this@entry=0x7ffe24deffa0, denom=<optimized out>, showThousandSeparator=showThousandSeparator@entry=true) at /usr/src/debug/kmymoney-5.1.2-3.9.x86_64/kmymoney/mymoney/mymoneymoney.cpp:193 #16 0x00005588c0eda108 in KMyMoneyRegister::StdTransaction::registerCellText (this=<optimized out>, txt=..., align=..., row=<optimized out>, col=<optimized out>, painter=<optimized out>) at /usr/src/debug/kmymoney-5.1.2-3.9.x86_64/kmymoney/widgets/stdtransaction.cpp:405 #17 0x00005588c0ed3010 in KMyMoneyRegister::StdTransaction::registerColWidth (this=0x5588c39f15f0, col=6, cellFontMetrics=...) at /usr/src/debug/kmymoney-5.1.2-3.9.x86_64/kmymoney/widgets/stdtransaction.cpp:490 #18 0x00005588c0ecca46 in KMyMoneyRegister::Register::minimumColumnWidth (this=0x5588c201c5b0, col=6) at /usr/src/debug/kmymoney-5.1.2-3.9.x86_64/kmymoney/widgets/register.cpp:903 #19 0x00005588c0f136c5 in KMyMoneyRegister::Register::adjustColumn (col=6, this=0x5588c201c5b0) at /usr/src/debug/kmymoney-5.1.2-3.9.x86_64/kmymoney/widgets/register.cpp:932 #20 KMyMoneyRegister::Register::resize(int, bool) [clone .constprop.0] (this=0x5588c201c5b0, force=<optimized out>, col=4) at /usr/src/debug/kmymoney-5.1.2-3.9.x86_64/kmymoney/widgets/register.cpp:773 #21 0x00007eff5fe3ea43 in QWidget::event (this=this@entry=0x5588c201c5b0, event=event@entry=0x7ffe24df03e0) at kernel/qwidget.cpp:8810 #22 0x00007eff5fee967e in QFrame::event (this=0x5588c201c5b0, e=0x7ffe24df03e0) at widgets/qframe.cpp:550 #23 0x00007eff5f1bd70b in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5588c1e2d2e0, event=event@entry=0x7ffe24df03e0) at kernel/qcoreapplication.cpp:1190 #24 0x00007eff5fdfc36e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5588c1e2d2e0, e=0x7ffe24df03e0) at kernel/qapplication.cpp:3626 #25 0x00007eff5f1bd988 in QCoreApplication::notifyInternal2 (receiver=0x5588c1e2d2e0, event=0x7ffe24df03e0) at kernel/qcoreapplication.cpp:1064 #26 0x00007eff5fe34db8 in QWidgetPrivate::setGeometry_sys (this=this@entry=0x5588c1fe8dc0, x=2, y=26, w=<optimized out>, h=526, isMove=<optimized out>, isMove@entry=true) at kernel/qwidget.cpp:7126 #27 0x00007eff5fe35d8d in QWidget::setGeometry (this=this@entry=0x5588c1e2d2e0, r=...) at kernel/qwidget.cpp:7014 #28 0x00007eff5feeaa7a in QAbstractScrollAreaPrivate::layoutChildren_helper (this=this@entry=0x5588c1eda100, needHorizontalScrollbar=needHorizontalScrollbar@entry=0x7ffe24df05f6, needVerticalScrollbar=needVerticalScrollbar@entry=0x7ffe24df05f7) at widgets/qabstractscrollarea.cpp:446 #29 0x00007eff5feeafea in QAbstractScrollAreaPrivate::layoutChildren (this=this@entry=0x5588c1eda100) at widgets/qabstractscrollarea.cpp:322 #30 0x00007eff5feec54f in QAbstractScrollArea::event (this=0x5588c201c5b0, e=0x7ffe24df07b0) at widgets/qabstractscrollarea.cpp:936 #31 0x00007eff5fdfc37e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5588c201c5b0, e=0x7ffe24df07b0) at kernel/qapplication.cpp:3632 #32 0x00007eff5f1bd988 in QCoreApplication::notifyInternal2 (receiver=0x5588c201c5b0, event=0x7ffe24df07b0) at kernel/qcoreapplication.cpp:1064 #33 0x00007eff5fe34db8 in QWidgetPrivate::setGeometry_sys (this=this@entry=0x5588c1eda100, x=0, y=0, w=<optimized out>, h=554, isMove=<optimized out>, isMove@entry=true) at kernel/qwidget.cpp:7126 #34 0x00007eff5fe35d8d in QWidget::setGeometry (this=0x5588c201c5b0, r=...) at kernel/qwidget.cpp:7014 #35 0x00007eff5fe1f58b in QWidget::setGeometry (ah=<optimized out>, aw=<optimized out>, ay=0, ax=0, this=<optimized out>) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:857 #36 QWidgetItem::setGeometry (rect=..., this=0x5588c1e88f50) at kernel/qlayoutitem.cpp:522 #37 QWidgetItem::setGeometry (this=0x5588c1e88f50, rect=...) at kernel/qlayoutitem.cpp:457 #38 0x00007eff5fe15341 in QBoxLayout::setGeometry (this=<optimized out>, r=...) at kernel/qboxlayout.cpp:822 #39 0x00007eff5fe1b9c8 in QLayoutPrivate::doResize (this=0x5588c1abf810) at kernel/qlayout.cpp:594 #40 0x00007eff5fe1cf95 in QLayout::widgetEvent (this=<optimized out>, e=e@entry=0x7ffe24df0ae0) at kernel/qlayout.cpp:617 #41 0x00007eff5fdfc363 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5588c1f67f40, e=0x7ffe24df0ae0) at kernel/qapplication.cpp:3621 #42 0x00007eff5f1bd988 in QCoreApplication::notifyInternal2 (receiver=0x5588c1f67f40, event=0x7ffe24df0ae0) at kernel/qcoreapplication.cpp:1064 #43 0x00007eff5fe34db8 in QWidgetPrivate::setGeometry_sys (this=this@entry=0x5588c1f872c0, x=0, y=38, w=<optimized out>, h=554, isMove=<optimized out>, isMove@entry=true) at kernel/qwidget.cpp:7126 #44 0x00007eff5fe35d8d in QWidget::setGeometry (this=0x5588c1f67f40, r=...) at kernel/qwidget.cpp:7014 #45 0x00007eff5fe1f58b in QWidget::setGeometry (ah=<optimized out>, aw=<optimized out>, ay=38, ax=0, this=<optimized out>) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:857 #46 QWidgetItem::setGeometry (rect=..., this=0x5588c1e2d220) at kernel/qlayoutitem.cpp:522 #47 QWidgetItem::setGeometry (this=0x5588c1e2d220, rect=...) at kernel/qlayoutitem.cpp:457 #48 0x00007eff5fe15341 in QBoxLayout::setGeometry (this=<optimized out>, r=...) at kernel/qboxlayout.cpp:822 #49 0x00007eff5fe1b9c8 in QLayoutPrivate::doResize (this=this@entry=0x5588c2023630) at kernel/qlayout.cpp:594 #50 0x00007eff5fe1ce0e in QLayout::activate (this=<optimized out>) at kernel/qlayout.cpp:1117 #51 0x00007eff5fe1cfab in QLayout::widgetEvent (this=<optimized out>, e=e@entry=0x7ffe24df0e70) at kernel/qlayout.cpp:619 #52 0x00007eff5fdfc363 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5588c17b00b0, e=0x7ffe24df0e70) at kernel/qapplication.cpp:3621 #53 0x00007eff5f1bd988 in QCoreApplication::notifyInternal2 (receiver=0x5588c17b00b0, event=0x7ffe24df0e70) at kernel/qcoreapplication.cpp:1064 #54 0x00007eff5fe34db8 in QWidgetPrivate::setGeometry_sys (this=this@entry=0x5588c183a810, x=0, y=0, w=<optimized out>, h=908, isMove=<optimized out>, isMove@entry=true) at kernel/qwidget.cpp:7126 #55 0x00007eff5fe35d8d in QWidget::setGeometry (this=0x5588c17b00b0, r=...) at kernel/qwidget.cpp:7014 #56 0x00007eff5fe1b9c8 in QLayoutPrivate::doResize (this=0x5588c17a7680) at kernel/qlayout.cpp:594 #57 0x00007eff5fe1cf95 in QLayout::widgetEvent (this=<optimized out>, e=e@entry=0x7ffe24df1070) at kernel/qlayout.cpp:617 #58 0x00007eff5fdfc363 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5588c1840e60, e=0x7ffe24df1070) at kernel/qapplication.cpp:3621 #59 0x00007eff5f1bd988 in QCoreApplication::notifyInternal2 (receiver=0x5588c1840e60, event=0x7ffe24df1070) at kernel/qcoreapplication.cpp:1064 #60 0x00007eff5fe34db8 in QWidgetPrivate::setGeometry_sys (this=this@entry=0x5588c1804450, x=141, y=6, w=<optimized out>, h=908, isMove=<optimized out>, isMove@entry=true) at kernel/qwidget.cpp:7126 #61 0x00007eff5fe35d8d in QWidget::setGeometry (this=0x5588c1840e60, r=...) at kernel/qwidget.cpp:7014 #62 0x00007eff5fe1f58b in QWidget::setGeometry (ah=<optimized out>, aw=<optimized out>, ay=6, ax=141, this=<optimized out>) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:857 #63 QWidgetItem::setGeometry (rect=..., this=0x5588c182cda0) at kernel/qlayoutitem.cpp:522 #64 QWidgetItem::setGeometry (this=0x5588c182cda0, rect=...) at kernel/qlayoutitem.cpp:457 #65 0x00007eff5fe19522 in QGridBox::setGeometry (r=..., this=<optimized out>) at kernel/qgridlayout.cpp:83 #66 QGridLayoutPrivate::distribute (this=this@entry=0x5588c17950c0, r=..., hSpacing=<optimized out>, vSpacing=vSpacing@entry=6) at kernel/qgridlayout.cpp:979 #67 0x00007eff5fe199b2 in QGridLayout::setGeometry (this=0x5588c1840e10, rect=...) at kernel/qgridlayout.cpp:1391 #68 0x00007eff5fe1b9c8 in QLayoutPrivate::doResize (this=this@entry=0x5588c17950c0) at kernel/qlayout.cpp:594 #69 0x00007eff5fe1ce0e in QLayout::activate (this=<optimized out>) at kernel/qlayout.cpp:1117 #70 0x00007eff5fe1cfab in QLayout::widgetEvent (this=<optimized out>, e=e@entry=0x7eff440065f0) at kernel/qlayout.cpp:619 #71 0x00007eff5fdfc363 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5588c179c540, e=0x7eff440065f0) at kernel/qapplication.cpp:3621 #72 0x00007eff5f1bd988 in QCoreApplication::notifyInternal2 (receiver=0x5588c179c540, event=0x7eff440065f0) at kernel/qcoreapplication.cpp:1064 #73 0x00007eff5f1c0921 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5588c1239000) at kernel/qcoreapplication.cpp:1821 #74 0x00007eff5f215ec3 in postEventSourceDispatch (s=0x5588c13a0150) at kernel/qeventdispatcher_glib.cpp:277 #75 0x00007eff54d8cda0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #76 0x00007eff54d8d158 in ?? () from /lib64/libglib-2.0.so.0 #77 0x00007eff54d8d1ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #78 0x00007eff5f2155a6 in QEventDispatcherGlib::processEvents (this=0x5588c13a4440, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #79 0x00007eff5f1bc3fb in QEventLoop::exec (this=this@entry=0x7ffe24df1650, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #80 0x00007eff5f1c4566 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #81 0x00005588c0d5599a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kmymoney-5.1.2-3.9.x86_64/kmymoney/main.cpp:272 [Inferior 1 (process 5723) detached] Possible duplicates by query: bug 454421, bug 454399, bug 421299, bug 326732, bug 285922. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.