[kmymoney] [Bug 453896] When saving a new transaction Kmymoney crashes each time without saving

Jeremy Whiting bugzilla_noreply at kde.org
Mon May 16 17:22:59 BST 2022


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

--- Comment #3 from Jeremy Whiting <jpwhiting at kde.org> ---
Here's the backtrace when using locally built master branch from git:

Thread 1 "kmymoney" received signal SIGSEGV, Segmentation fault.
0x00007ffff57735b0 in _int_malloc (av=av at entry=0x7ffff58d6bc0 <main_arena>,
bytes=bytes at entry=48) at malloc.c:3937
3937                          bck->fd = bin;
(gdb) bt
#0  0x00007ffff57735b0 in _int_malloc (av=av at entry=0x7ffff58d6bc0 <main_arena>,
bytes=bytes at entry=48) at malloc.c:3937
#1  0x00007ffff5774358 in __GI___libc_malloc (bytes=bytes at entry=48) at
malloc.c:3329
#2  0x00007ffff5a9337d in operator new(unsigned long) (sz=sz at entry=48) at
/usr/src/debug/gcc/libstdc++-v3/libsupc++/new_op.cc:50
#3  0x00007ffff5e3ec43 in QHashData::detach_helper(void (*)(QHashData::Node*,
void*), void (*)(QHashData::Node*), int, int)
     (this=<optimized out>, node_duplicate=node_duplicate at entry=0x7ffff5679c50
<QHash<QString, QDomNodePrivate*>::duplicateNode(QHashData::Node*, void*)>,
node_delete=node_delete at entry=0x7ffff5679920 <QHash<QString,
QDomNodePrivate*>::deleteNode2(QHashData::Node*)>, nodeSize=nodeSize at entry=32,
nodeAlign=nodeAlign at entry=8) at tools/qhash.cpp:503
#4  0x00007ffff567b760 in QHash<QString, QDomNodePrivate*>::detach_helper()
(this=this at entry=0x55555891c198) at
../../include/QtCore/../../src/corelib/tools/qhash.h:631
#5  0x00007ffff567b927 in QHash<QString, QDomNodePrivate*>::detach()
(this=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qhash.h:291
#6  QMultiHash<QString, QDomNodePrivate*>::insert(QString const&,
QDomNodePrivate* const&) (this=0x55555891c198, akey=...,
avalue=@0x7fffffffcee8: 0x55555e32ea00)
    at ../../include/QtCore/../../src/corelib/tools/qhash.h:1124
#7  0x00007ffff566ee11 in
QDomNamedNodeMapPrivate::setNamedItem(QDomNodePrivate*) (this=0x55555891c190,
arg=<optimized out>) at dom/qdom.cpp:2611
#8  0x00007fff8ab7ddb8 in
MyMoneyXmlContentHandler::writeKeyValueContainer(MyMoneyKeyValueContainer
const&, QDomDocument&, QDomElement&) (container=<optimized out>, document=...,
parent=...)
    at
/home/jeremy/data/devel/kde/src/extragear/office/kmymoney/kmymoney/plugins/xml/mymoneystoragexml.cpp:531
#9  0x00007fff8ab896f9 in MyMoneyXmlContentHandler::writeAccount(MyMoneyAccount
const&, QDomDocument&, QDomElement&) (account=..., document=..., parent=...)
    at
/home/jeremy/data/devel/kde/src/extragear/office/kmymoney/kmymoney/plugins/xml/mymoneystoragexml.cpp:874
#10 0x00007fff8ab89e2c in MyMoneyStorageXML::writeAccount(QDomElement&,
MyMoneyAccount const&) (p=<optimized out>, account=..., this=0x55555836a510)
    at
/home/jeremy/data/devel/kde/src/extragear/office/kmymoney/kmymoney/plugins/xml/mymoneystoragexml.cpp:1841
#11 MyMoneyStorageXML::writeAccounts(QDomElement&) (this=0x55555836a510,
accounts=...) at
/home/jeremy/data/devel/kde/src/extragear/office/kmymoney/kmymoney/plugins/xml/mymoneystoragexml.cpp:1835
#12 0x00007fff8ab81f03 in MyMoneyStorageXML::writeFile(QIODevice*,
MyMoneyFile*) (this=this at entry=0x55555836a510, qf=qf at entry=0x5555564a8040,
file=<optimized out>)
    at
/home/jeremy/data/devel/kde/src/extragear/office/kmymoney/kmymoney/plugins/xml/mymoneystoragexml.cpp:1619
#13 0x00007fff8ab78947 in XMLStorage::saveToLocalFile(QString const&,
IMyMoneyOperationsFormat*, bool, QString const&)

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


More information about the KMyMoney-devel mailing list