new assertion
Jeremy Whiting
jpwhiting at kde.org
Mon May 16 16:53:45 BST 2022
Hello all,
Today I'm getting a new assertion when I try to open my .kmy file and save
with any change. I don't think any recent update changed the code, and the
same .kmy file crashes on the same assertion in kmymoney from arch and a
build from master branch. (Both are using the same libalkimia version
though)
Here's the backtrace:
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo at entry=6, no_tid=no_tid at entry=0) at pthread_kill.c:44
#1 0x00007ffff585f3d3 in __pthread_kill_internal (signo=6,
threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007ffff580f838 in __GI_raise (sig=sig at entry=6) at
../sysdeps/posix/raise.c:26
#3 0x00007ffff57f9535 in __GI_abort () at abort.c:79
#4 0x00007ffff586928d in __malloc_assert
(assertion=assertion at entry=0x7ffff5994628 "(old_top == initial_top (av)
&& old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse
(old_top) && ((unsigned long) old_end & (pagesize - 1)
) == 0)", file=file at entry=0x7ffff598f27e "malloc.c", line=line at entry=2617,
function=function at entry=0x7ffff5994e98 <__PRETTY_FUNCTION__.8> "sysmalloc")
at malloc.c:307
#5 0x00007ffff586bc62 in sysmalloc (nb=nb at entry=112,
av=av at entry=0x7ffff59cfbc0
<main_arena>) at malloc.c:2617
#6 0x00007ffff586ca5a in _int_malloc (av=av at entry=0x7ffff59cfbc0
<main_arena>, bytes=bytes at entry=104) at malloc.c:4407
#7 0x00007ffff586d358 in __GI___libc_malloc (bytes=bytes at entry=104) at
malloc.c:3329
#8 0x00007ffff5b8e37d in operator new(unsigned long) (sz=sz at entry=104) at
/usr/src/debug/gcc/libstdc++-v3/libsupc++/new_op.cc:50
#9 0x00007ffff731ac4b in QDomElementPrivate::setAttribute(QString const&,
QString const&) (newValue=..., aname=..., this=0x55555d199bb0) at
dom/qdom.cpp:3960
#10 QDomElementPrivate::setAttribute(QString const&, QString const&)
(this=0x55555d199bb0, aname=..., newValue=...) at dom/qdom.cpp:3956
#11 0x00007fff6b7f1d01 in () at /usr/lib/qt/plugins/kmymoney/xmlstorage.so
#12 0x00007fff6b7ff51d in () at /usr/lib/qt/plugins/kmymoney/xmlstorage.so
#13 0x00007fff6b7fe6aa in () at /usr/lib/qt/plugins/kmymoney/xmlstorage.so
#14 0x00007fff6b7ea9d6 in () at /usr/lib/qt/plugins/kmymoney/xmlstorage.so
#15 0x00007fff6b7eb41b in () at /usr/lib/qt/plugins/kmymoney/xmlstorage.so
#16 0x0000555555649911 in ()
#17 0x00007ffff60d4c41 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fffffffd320, r=<optimized out>, this=0x555555f63470, this=<optimized
out>, r=<optimized out>, a=<optimized out>)
at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false>(QObject*, int, void**) (sender=0x555555f63300,
signal_index=4, argv=0x7fffffffd320) at kernel/qobject.cpp:3886
#19 0x00007ffff6b8ae07 in QAction::triggered(bool)
(this=this at entry=0x555555f63300,
_t1=<optimized out>) at .moc/moc_qaction.cpp:376
#20 0x00007ffff6b90817 in QAction::activate(QAction::ActionEvent)
(this=0x555555f63300, event=<optimized out>) at kernel/qaction.cpp:1161
#21 0x00007ffff6c7f4ce in QAbstractButtonPrivate::click()
(this=0x555555f2f840) at widgets/qabstractbutton.cpp:399
#22 0x00007ffff6c7f6d0 in QAbstractButton::mouseReleaseEvent(QMouseEvent*)
(this=0x555555f05570, e=0x7fffffffd8b0) at widgets/qabstractbutton.cpp:1045
#23 0x00007ffff6d7194f in QToolButton::mouseReleaseEvent(QMouseEvent*)
(this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:622
#24 0x00007ffff6bce677 in QWidget::event(QEvent*) (this=0x555555f05570,
event=0x7fffffffd8b0) at kernel/qwidget.cpp:8659
#25 0x00007ffff6b97a7c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) (this=this at entry=0x5555559746a0,
receiver=receiver at entry=0x555555f05570,
e=e at entry=0x7fffffffd8b0)
at kernel/qapplication.cpp:3637
#26 0x00007ffff6b9d289 in QApplication::notify(QObject*, QEvent*)
(this=<optimized out>, receiver=<optimized out>, e=0x7fffffffd8b0) at
kernel/qapplication.cpp:3081
#27 0x00007ffff60a44a8 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) (receiver=0x555555f05570, event=0x7fffffffd8b0) at
kernel/qcoreapplication.cpp:1064
#28 0x00007ffff6b9b287 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
(receiver=0x555555f05570, event=0x7fffffffd8b0, alienWidget=<optimized
out>, nativeWidget=0x5555561077b0, buttonDown=<optimized out>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=fa
lse) at kernel/qapplication.cpp:2619
#29 0x00007ffff6bec345 in QWidgetWindow::handleMouseEvent(QMouseEvent*)
(this=0x55555603c3a0, event=0x7fffffffdc10) at kernel/qwidgetwindow.cpp:683
#30 0x00007ffff6bee0ee in QWidgetWindow::event(QEvent*)
(this=0x55555603c3a0, event=0x7fffffffdc10) at kernel/qwidgetwindow.cpp:300
#31 0x00007ffff6b97a7c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) (this=<optimized out>, receiver=0x55555603c3a0, e=0x7fffffffdc10)
at kernel/qapplication.cpp:3637
#32 0x00007ffff60a44a8 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) (receiver=0x55555603c3a0, event=0x7fffffffdc10) at
kernel/qcoreapplication.cpp:1064
#33 0x00007ffff64f7f8c in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
(e=0x55555c38c6e0) at kernel/qguiapplication.cpp:2282
#34 0x00007ffff64e18e5 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(flags=flags at entry=...) at kernel/qwindowsysteminterface.cpp:1169
#35 0x00007fffda0f3de0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer)
(source=<optimized out>) at
/usr/src/debug/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#36 0x00007fffebafc163 in g_main_dispatch (context=0x7fffd4005010) at
../glib/glib/gmain.c:3417
#37 g_main_context_dispatch (context=0x7fffd4005010) at
../glib/glib/gmain.c:4135
#38 0x00007fffebb529e9 in g_main_context_iterate.constprop.0
(context=context at entry=0x7fffd4005010, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4211
#39 0x00007fffebaf96c5 in g_main_context_iteration (context=0x7fffd4005010,
may_block=1) at ../glib/glib/gmain.c:4276
#40 0x00007ffff60eec6c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x555555a44d50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#41 0x00007ffff609cc5c in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fffffffdfa0, flags=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#42 0x00007ffff60a7759 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#43 0x000055555562cc8d in ()
#44 0x00007ffff57fa290 in __libc_start_call_main
(main=main at entry=0x55555562a990,
argc=argc at entry=1, argv=argv at entry=0x7fffffffe5f8) at
../sysdeps/nptl/libc_start_call_main.h:58
#45 0x00007ffff57fa34a in __libc_start_main_impl (main=0x55555562a990,
argc=1, argv=0x7fffffffe5f8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffe5e8)
Is there a way to generate an anonymized .kmy from my file to upload to the
bug tracker? My last save on May 14th worked, I don't remember powering off
the laptop, etc. and a 3 day old backup has the same assertion. I'll try
older backups to see when it started. Any help is appreciated, but I'll get
to the bottom of it to get back to a working file.
thanks,
Jeremy Whiting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20220516/34c667d8/attachment-0001.htm>
More information about the KMyMoney-devel
mailing list