Crashing on save
Description:
Version 5.6 running on ArchLinux with glib2 2.80.2-2
When I press the Save button after transactions generated by the schedule...
I get a segfault/coredump
backtrace:
#0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76
#1 0x00007f6924f2a66e in g_strdup (str=0xb87e38e0b881b3d <error: Cannot access memory at address 0xb87e38e0b881b3d>)
at ../glib/glib/gstrfuncs.c:322
#2 0x00007f6923b0a774 in g_strdup_inline (str=0xb87e38e0b881b3d <error: Cannot access memory at address 0xb87e38e0b881b3d>)
at /usr/include/glib-2.0/glib/gstrfuncs.h:321
#3 text_to_dom_tree (tag=<optimized out>, str=0xb87e38e0b881b3d <error: Cannot access memory at address 0xb87e38e0b881b3d>)
at /usr/src/debug/gnucash/gnucash-5.6/libgnucash/backend/xml/sixtp-dom-generators.cpp:55
#4 0x00007f6923aedaea in gnc_commodity_dom_tree_create (com=0x639230a08670)
at /usr/src/debug/gnucash/gnucash-5.6/libgnucash/backend/xml/gnc-commodity-xml-v2.cpp:103
#5 0x00007f6923b0a569 in write_commodities
(out=out@entry=0x639231f6b140, book=book@entry=0x63923094de70, gd=gd@entry=0x6392320b4a70)
at /usr/src/debug/gnucash/gnucash-5.6/libgnucash/backend/xml/io-gncxml-v2.cpp:1064
#6 0x00007f6923b0bf76 in write_book (out=0x639231f6b140, book=0x6392320b4a70, gd=0x6392320b4a70)
at /usr/src/debug/gnucash/gnucash-5.6/libgnucash/backend/xml/io-gncxml-v2.cpp:1012
Additional info:
- package version(s):
- config and/or log files:
- link to upstream bug report, if any:
Steps to reproduce:
Apparently it's been FIXED in STABLE HEAD. I compiled it and tested it on my system.
so this is just a matter of updating the package in Arch.
Edited by Toolybird