Make fails

Alex Aycinena alex.aycinena at gmail.com
Thu Dec 3 16:00:47 EST 2015


John,

When I put a breakpoint on /gnc-pricedb-xml-v2.cpp:445 and ran the test, it
stopped at the break and then I continued several times before the
following:

Breakpoint 1, 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))
(gdb) c
Continuing.

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))
(gdb) p sourcestr
$3 = (const gchar *) 0x3 <error: Cannot access memory at address 0x3>
(gdb) p strlen(sourcestr)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff46d20ba in strlen () from /lib64/libc.so.6

Alex


More information about the gnucash-devel mailing list