On Thu, Dec 3, 2015 at 11:54 AM, John Ralls <jra...@ceridwen.us> wrote:
> > > > Alex, > > Yeah, the segfault is the same one Geert reported. > > I don’t see the problem with test-pricedb in Debian stable, so I’m trying > F21. In the meantime can you run it under gdb and get a stack trace of the > crash? > > Regards, > John Ralls > > John, This is what I did: cd /home/gnucash-dev/gitcheckouts/gnucash-build export LT=`pwd`/libtool cd src/backend/xml/test $LT --mode=execute gdb test-xml-pricedb Then: (gdb) run Starting program: /home/gnucash-dev/gitcheckouts/gnucash-build/src/backend/xml/test/.libs/lt-test-xml-pricedb Missing separate debuginfos, use: dnf debuginfo-install glibc-2.21-8.fc22.x86_64 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x0000000000449228 in gnc_price_to_dom_tree (tag=0x4574ce "price", price=0x695590) at /home/gnucash-dev/gitcheckouts/gnucash/src/backend/xml/gnc-pricedb-xml-v2.cpp:445 445 if (sourcestr && (strlen(sourcestr) != 0)) Missing separate debuginfos, use: dnf debuginfo-install boost-date-time-1.57.0-6.fc22.x86_64 gc-7.4.2-2.fc22.x86_64 glib2-2.44.1-2.fc22.x86_64 gmp-6.0.0-9.fc22.x86_64 guile-2.0.11-7.fc22.x86_64 libatomic_ops-7.4.2-4.fc22.x86_64 libffi-3.1-7.fc22.x86_64 libgcc-5.1.1-4.fc22.x86_64 libselinux-2.3-10.fc22.x86_64 libstdc++-5.1.1-4.fc22.x86_64 libtool-ltdl-2.4.2-34.fc22.x86_64 libunistring-0.9.4-1.fc22.x86_64 libxml2-2.9.3-1.fc22.x86_64 nss-softokn-freebl-3.21.0-1.1.fc22.x86_64 pcre-8.37-5.fc22.x86_64 xz-libs-5.2.0-2.fc22.x86_64 zlib-1.2.8-7.fc22.x86_64 (gdb) strace warning: Couldn't determine the static tracepoint marker to probe Static tracepoint 2 at 0x449228: file /home/gnucash-dev/gitcheckouts/gnucash/src/backend/xml/gnc-pricedb-xml-v2.cpp, line 445. Does this help you? By the way I'm on Fedora 22. Alex _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel