make check fails

2015-07-05 Thread Alex Aycinena
On Fedora 21 make check fails with latest pull on master with:

make[6]: Entering directory
'/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/optional/python-bindings/tests'
rm -f runTests.py.tmp
sed 
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/optional/python-bindings/tests/
runTests.py.in  runTests.py.tmp \
-e 's#@-PYTHON-@#/usr/bin/python#'
mv runTests.py.tmp runTests.py
chmod u+x runTests.py
FAIL: runTests.py
make[7]: Entering directory
'/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/optional/python-bindings/tests'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory
'/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/optional/python-bindings/tests'

Testsuite summary for GnuCash 2.6.99

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

See src/optional/python-bindings/tests/test-suite.log
Please report to gnucash-devel@gnucash.org

Makefile:698: recipe for target 'test-suite.log' failed
make[6]: *** [test-suite.log] Error 1
make[6]: Leaving directory
'/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/optional/python-bindings/tests'

src/optional/python-bindings/tests/test-suite.log says:

===
   GnuCash 2.6.99: src/optional/python-bindings/tests/test-suite.log
===

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: runTests.py
=

* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-html.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-ofx.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-aqbanking.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-log-replay.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-register-core.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-csv-export.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-search.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-engine.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-engine.so: undefined
symbol: g_hash_table_kv_pair_free_gfunc
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-customer_import.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-business-gnome.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-register-gnome.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:40  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-stylesheets.so':
/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
undefined symbol: gnc_option_db_load_from_kvp
* 12:41:41  WARN gnc.module Failed to dlopen()
'/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-csv-import.so':

seg fault on master

2015-07-05 Thread Alex Aycinena
When I try to open a file on the latest master I get a seg fault. Following
is the bt:

Program received signal SIGSEGV, Segmentation fault.
0x7325b86e in boost::variantlong, double, _gnc_numeric, char
const*, _gncGuid*, timespec64, _GList*, KvpFrameImpl*, _GDate,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_::using_backup (this=0x0) at
/usr/include/boost/variant/variant.hpp:1382
1382return which_  0;
Missing separate debuginfos, use: debuginfo-install
GConf2-3.2.6-11.fc21.x86_64 PackageKit-gtk3-module-1.0.6-1.fc21.x86_64
adwaita-gtk2-theme-3.14.2.2-1.fc21.x86_64 aqbanking-5.5.1-1.fc21.x86_64
at-spi2-atk-2.14.1-1.fc21.x86_64 at-spi2-core-2.14.1-1.fc21.x86_64
atk-2.14.0-1.fc21.x86_64 boost-date-time-1.55.0-8.fc21.x86_64
bzip2-libs-1.0.6-14.fc21.x86_64 cairo-1.14.2-1.fc21.x86_64
dbus-glib-0.104-1.fc21.x86_64 dbus-libs-1.8.18-1.fc21.x86_64
dconf-0.22.0-1.fc21.x86_64 elfutils-libelf-0.161-6.fc21.x86_64
elfutils-libs-0.161-6.fc21.x86_64 enchant-1.6.0-9.fc21.x86_64
expat-2.1.0-10.fc21.x86_64 fontconfig-2.11.1-5.fc21.x86_64
freetype-2.5.3-16.fc21.x86_64 gc-7.4.2-2.fc21.x86_64
gdk-pixbuf2-2.31.1-1.fc21.x86_64 glib2-2.42.2-1.fc21.x86_64
gmp-6.0.0-9.fc21.x86_64 gnutls-3.3.15-1.fc21.x86_64
goffice08-0.8.17-12.fc21.x86_64 graphite2-1.2.4-3.fc21.x86_64
gstreamer1-1.4.5-1.fc21.x86_64 gstreamer1-plugins-base-1.4.5-1.fc21.x86_64
gtk2-2.24.28-1.fc21.x86_64 guile-2.0.11-3.fc21.x86_64
gvfs-1.22.4-2.fc21.x86_64 gwenhywfar-4.13.1-2.fc21.x86_64
gwenhywfar-gui-gtk2-4.13.1-2.fc21.x86_64 harfbuzz-0.9.36-1.fc21.x86_64
harfbuzz-icu-0.9.36-1.fc21.x86_64 keyutils-libs-1.5.9-4.fc21.x86_64
krb5-libs-1.12.2-17.fc21.x86_64 libICE-1.0.9-2.fc21.x86_64
libSM-1.2.2-2.fc21.x86_64 libX11-1.6.2-2.fc21.x86_64
libXau-1.0.8-4.fc21.x86_64 libXcomposite-0.4.4-6.fc21.x86_64
libXcursor-1.1.14-4.fc21.x86_64 libXdamage-1.1.4-6.fc21.x86_64
libXext-1.3.3-2.fc21.x86_64 libXfixes-5.0.1-4.fc21.x86_64
libXi-1.7.4-2.fc21.x86_64 libXinerama-1.1.3-4.fc21.x86_64
libXrandr-1.4.2-2.fc21.x86_64 libXrender-0.9.8-4.fc21.x86_64
libXt-1.1.4-10.fc21.x86_64 libXxf86vm-1.1.3-4.fc21.x86_64
libart_lgpl-2.3.21-12.fc21.x86_64 libatomic_ops-7.4.2-4.fc21.x86_64
libbluray-0.7.0-1.fc21.x86_64 libcanberra-0.30-7.fc21.x86_64
libcanberra-gtk2-0.30-7.fc21.x86_64 libcom_err-1.42.12-4.fc21.x86_64
libdbi-0.9.0-3.fc21.x86_64 libdbi-dbd-mysql-0.9.0-3.fc21.x86_64
libdbi-dbd-sqlite-0.9.0-3.fc21.x86_64 libdrm-2.4.60-1.fc21.x86_64
libffi-3.1-7.fc21.x86_64 libgcc-4.9.2-6.fc21.x86_64
libgcrypt-1.6.3-4.fc21.x86_64 libgnome-keyring-3.12.0-4.fc21.x86_64
libgnomecanvas-2.30.3-9.fc21.x86_64 libgpg-error-1.17-2.fc21.x86_64
libgsf-1.14.33-1.fc21.x86_64 libicu-52.1-6.fc21.x86_64
libjpeg-turbo-1.3.1-5.fc21.x86_64 libofx-0.9.9-4.fc21.x86_64
libogg-1.3.0-8.fc21.x86_64 libpng-1.6.10-3.fc21.x86_64
libsecret-0.18-6.fc21.x86_64 libselinux-2.3-9.fc21.x86_64
libsoup-2.48.1-2.fc21.x86_64 libstdc++-4.9.2-6.fc21.x86_64
libtasn1-4.5-1.fc21.x86_64 libtdb-1.3.1-1.fc21.x86_64
libtool-ltdl-2.4.2-31.fc21.x86_64 libunistring-0.9.3-11.fc21.x86_64
libuuid-2.25.2-3.fc21.x86_64 libvorbis-1.3.4-3.fc21.x86_64
libwayland-client-1.6.0-1.fc21.x86_64 libwayland-server-1.6.0-1.fc21.x86_64
libwebp-0.4.3-2.fc21.x86_64 libxcb-1.11-5.fc21.x86_64
libxml2-2.9.1-7.fc21.x86_64 libxshmfence-1.2-1.fc21.x86_64
libxslt-1.1.28-8.fc21.x86_64 mariadb-libs-10.0.19-2.fc21.x86_64
mesa-libEGL-10.4.7-1.20150323.fc21.x86_64
mesa-libGL-10.4.7-1.20150323.fc21.x86_64
mesa-libgbm-10.4.7-1.20150323.fc21.x86_64
mesa-libglapi-10.4.7-1.20150323.fc21.x86_64
ncurses-libs-5.9-16.20140323.fc21.x86_64 nettle-2.7.1-5.fc21.x86_64
nss-softokn-freebl-3.19.2-1.0.fc21.x86_64 opensp-1.5.2-20.fc21.x86_64
openssl-libs-1.0.1k-10.fc21.x86_64 orc-0.4.22-3.fc21.x86_64
p11-kit-0.22.1-1.fc21.x86_64 pango-1.36.8-5.fc21.x86_64
pcre-8.35-11.fc21.x86_64 pixman-0.32.6-4.fc21.x86_64
pycairo-1.10.0-1.fc21.x86_64 pygobject2-2.28.6-13.fc21.x86_64
pygtk2-2.24.0-11.fc21.x86_64 python-libs-2.7.8-9.fc21.x86_64
readline-6.3-5.fc21.x86_64 sqlite-3.8.10.2-1.fc21.x86_64
sssd-client-1.12.5-2.fc21.x86_64 systemd-libs-216-25.fc21.x86_64
trousers-0.3.13-3.fc21.x86_64 webkitgtk-2.4.9-1.fc21.x86_64
xz-libs-5.1.2-14alpha.fc21.x86_64 zlib-1.2.8-7.fc21.x86_64
(gdb) bt
#0  0x7325b86e in boost::variantlong, double, _gnc_numeric, char
const*, _gncGuid*, timespec64, _GList*, KvpFrameImpl*, _GDate,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_::using_backup() const (this=0x0) at

Re: make check fails

2015-07-05 Thread John Ralls

 On Jul 5, 2015, at 12:52 PM, Alex Aycinena alex.aycin...@gmail.com wrote:
 
 On Fedora 21 make check fails with latest pull on master with:
 
 make[6]: Entering directory
 '/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/optional/python-bindings/tests'
 rm -f runTests.py.tmp
 sed 
 /home/gnucash-dev/gitcheckouts/gnucash-clean/src/optional/python-bindings/tests/
 runTests.py.in  runTests.py.tmp \
-e 's#@-PYTHON-@#/usr/bin/python#'
 mv runTests.py.tmp runTests.py
 chmod u+x runTests.py
 FAIL: runTests.py
 make[7]: Entering directory
 '/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/optional/python-bindings/tests'
 make[7]: Nothing to be done for 'all'.
 make[7]: Leaving directory
 '/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/optional/python-bindings/tests'
 
 Testsuite summary for GnuCash 2.6.99
 
 # TOTAL: 1
 # PASS:  0
 # SKIP:  0
 # XFAIL: 0
 # FAIL:  1
 # XPASS: 0
 # ERROR: 0
 
 See src/optional/python-bindings/tests/test-suite.log
 Please report to gnucash-devel@gnucash.org
 
 Makefile:698: recipe for target 'test-suite.log' failed
 make[6]: *** [test-suite.log] Error 1
 make[6]: Leaving directory
 '/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/optional/python-bindings/tests'
 
 src/optional/python-bindings/tests/test-suite.log says:
 
 ===
   GnuCash 2.6.99: src/optional/python-bindings/tests/test-suite.log
 ===
 
 # TOTAL: 1
 # PASS:  0
 # SKIP:  0
 # XFAIL: 0
 # FAIL:  1
 # XPASS: 0
 # ERROR: 0
 
 .. contents:: :depth: 2
 
 FAIL: runTests.py
 =
 
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-html.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-ofx.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-aqbanking.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-log-replay.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-register-core.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-csv-export.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-search.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-engine.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-engine.so: undefined
 symbol: g_hash_table_kv_pair_free_gfunc
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-customer_import.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-business-gnome.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-register-gnome.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 undefined symbol: gnc_option_db_load_from_kvp
 * 12:41:40  WARN gnc.module Failed to dlopen()
 '/opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-stylesheets.so':
 /opt/gnucash-git/gnucash-clean/lib/gnucash/libgncmod-gnome-utils.so:
 

Re: seg fault on master

2015-07-05 Thread John Ralls

 On Jul 5, 2015, at 1:28 PM, Alex Aycinena alex.aycin...@gmail.com wrote:
 
 When I try to open a file on the latest master I get a seg fault. Following
 is the bt:
 #5  0x7325a3f6 in KvpValueImpl::getKvpFrameImpl*() const
 (this=0x0)
at
 /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/kvp-value.hpp:153
 #6  0x72048be5 in qof_book_get_features(QofBook*) (book=0x64de40)
at
 /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/qofbook.cpp:1069

Alex,

This one was easy to find, and is fixed.

Next?

Regards,
John Ralls


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: seg fault on master

2015-07-05 Thread John Ralls

 On Jul 5, 2015, at 6:43 PM, Alex Aycinena alex.aycin...@gmail.com wrote:
 
 Program received signal SIGSEGV, Segmentation fault.
 0x72025cf2 in std::_Rb_treechar const*, std::pairchar const* const, 
 KvpValueImpl*, std::_Select1ststd::pairchar const* const, KvpValueImpl* 
 , KvpFrameImpl::cstring_comparer, std::allocatorstd::pairchar const* 
 const, KvpValueImpl*  ::_M_lower_bound (this=0x32069c0, __x=0x31, 
 __y=0x3a286f8, 
 __k=@0x7fffbda0: 0x33c16b8 Budgeting)
 at /usr/include/c++/4.9.2/bits/stl_tree.h:1277

This one is harder. I’ve found the cause, but it’s bedtime so I’ll have figure 
out what to fix tomorrow. The fundamental problem is that when I call “new 
KvpFrame” in sixtp-dom-parser.cpp, it’s allocating memory that libxml2 thinks 
belongs to it, so when the “data_for_children()” subtree is freed in 
gnc_book_slots_end_handler(), the frame belonging to that KvpValue gets freed 
and later overwritten by a call to g_log. When the optiondb tries to access 
later, boom.

Regards,
John Ralls



___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: seg fault on master

2015-07-05 Thread Alex Aycinena
John,

On Sun, Jul 5, 2015 at 4:17 PM, John Ralls jra...@ceridwen.us wrote:


  On Jul 5, 2015, at 1:28 PM, Alex Aycinena alex.aycin...@gmail.com
 wrote:
 
  When I try to open a file on the latest master I get a seg fault.
 Following
  is the bt:
  #5  0x7325a3f6 in KvpValueImpl::getKvpFrameImpl*() const
  (this=0x0)
 at
 
 /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/kvp-value.hpp:153
  #6  0x72048be5 in qof_book_get_features(QofBook*) (book=0x64de40)
 at
 
 /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/qofbook.cpp:1069

 Alex,

 This one was easy to find, and is fixed.

 Next?

 Regards,
 John Ralls

 Make check works and so does my file load but when I try to change
File-Properties-Currency Accounting method it seg faults. bt:

Program received signal SIGSEGV, Segmentation fault.
0x72025cf2 in std::_Rb_treechar const*, std::pairchar const*
const, KvpValueImpl*, std::_Select1ststd::pairchar const* const,
KvpValueImpl* , KvpFrameImpl::cstring_comparer,
std::allocatorstd::pairchar const* const, KvpValueImpl* 
::_M_lower_bound (this=0x32069c0, __x=0x31, __y=0x3a286f8,
__k=@0x7fffbda0: 0x33c16b8 Budgeting)
at /usr/include/c++/4.9.2/bits/stl_tree.h:1277
1277if (!_M_impl._M_key_compare(_S_key(__x), __k))
Missing separate debuginfos, use: debuginfo-install
GConf2-3.2.6-11.fc21.x86_64 PackageKit-gtk3-module-1.0.6-1.fc21.x86_64
adwaita-gtk2-theme-3.14.2.2-1.fc21.x86_64 alsa-lib-1.0.28-2.fc21.x86_64
aqbanking-5.5.1-1.fc21.x86_64 at-spi2-atk-2.14.1-1.fc21.x86_64
at-spi2-core-2.14.1-1.fc21.x86_64 atk-2.14.0-1.fc21.x86_64
boost-date-time-1.55.0-8.fc21.x86_64 bzip2-libs-1.0.6-14.fc21.x86_64
cairo-1.14.2-1.fc21.x86_64 cyrus-sasl-lib-2.1.26-19.fc21.x86_64
dbus-glib-0.104-1.fc21.x86_64 dbus-libs-1.8.18-1.fc21.x86_64
dconf-0.22.0-1.fc21.x86_64 elfutils-libelf-0.161-6.fc21.x86_64
elfutils-libs-0.161-6.fc21.x86_64 enchant-1.6.0-9.fc21.x86_64
expat-2.1.0-10.fc21.x86_64 flac-libs-1.3.1-1.fc21.x86_64
fontconfig-2.11.1-5.fc21.x86_64 freetype-2.5.3-16.fc21.x86_64
gc-7.4.2-2.fc21.x86_64 gdk-pixbuf2-2.31.1-1.fc21.x86_64
gecko-mediaplayer-1.0.9-3.fc21.x86_64 glib-networking-2.42.0-2.fc21.x86_64
glib2-2.42.2-1.fc21.x86_64 gmp-6.0.0-9.fc21.x86_64 gmtk-1.0.9-2.fc21.x86_64
gnome-shell-3.14.4-2.fc21.x86_64 gnutls-3.3.15-1.fc21.x86_64
goffice08-0.8.17-12.fc21.x86_64 graphite2-1.2.4-3.fc21.x86_64
gsm-1.0.13-12.fc21.x86_64 gstreamer1-1.4.5-1.fc21.x86_64
gstreamer1-plugins-base-1.4.5-1.fc21.x86_64 gtk2-2.24.28-1.fc21.x86_64
guile-2.0.11-3.fc21.x86_64 gvfs-1.22.4-2.fc21.x86_64
gwenhywfar-4.13.1-2.fc21.x86_64 gwenhywfar-gui-gtk2-4.13.1-2.fc21.x86_64
harfbuzz-0.9.36-1.fc21.x86_64 harfbuzz-icu-0.9.36-1.fc21.x86_64
hunspell-1.3.3-3.fc21.x86_64 ibus-gtk2-1.5.10-5.fc21.x86_64
ibus-libs-1.5.10-5.fc21.x86_64 json-c-0.12-5.fc21.x86_64
json-glib-1.0.2-4.fc21.x86_64 keyutils-libs-1.5.9-4.fc21.x86_64
krb5-libs-1.12.2-17.fc21.x86_64 libICE-1.0.9-2.fc21.x86_64
libSM-1.2.2-2.fc21.x86_64 libX11-1.6.2-2.fc21.x86_64
libXau-1.0.8-4.fc21.x86_64 libXcomposite-0.4.4-6.fc21.x86_64
libXcursor-1.1.14-4.fc21.x86_64 libXdamage-1.1.4-6.fc21.x86_64
libXext-1.3.3-2.fc21.x86_64 libXfixes-5.0.1-4.fc21.x86_64
libXi-1.7.4-2.fc21.x86_64 libXinerama-1.1.3-4.fc21.x86_64
libXrandr-1.4.2-2.fc21.x86_64 libXrender-0.9.8-4.fc21.x86_64
libXt-1.1.4-10.fc21.x86_64 libXtst-1.2.2-4.fc21.x86_64
libXxf86vm-1.1.3-4.fc21.x86_64 libart_lgpl-2.3.21-12.fc21.x86_64
libasyncns-0.8-8.fc21.x86_64 libatomic_ops-7.4.2-4.fc21.x86_64
libattr-2.4.47-9.fc21.x86_64 libbluray-0.7.0-1.fc21.x86_64
libcanberra-0.30-7.fc21.x86_64 libcanberra-gtk2-0.30-7.fc21.x86_64
libcap-2.24-7.fc21.x86_64 libcom_err-1.42.12-4.fc21.x86_64
libcurl-7.37.0-14.fc21.x86_64 libdbi-0.9.0-3.fc21.x86_64
libdbi-dbd-mysql-0.9.0-3.fc21.x86_64 libdbi-dbd-sqlite-0.9.0-3.fc21.x86_64
libdrm-2.4.60-1.fc21.x86_64 libffi-3.1-7.fc21.x86_64
libgcc-4.9.2-6.fc21.x86_64 libgcrypt-1.6.3-4.fc21.x86_64
libgnome-keyring-3.12.0-4.fc21.x86_64 libgnomecanvas-2.30.3-9.fc21.x86_64
libgpg-error-1.17-2.fc21.x86_64 libgsf-1.14.33-1.fc21.x86_64
libicu-52.1-6.fc21.x86_64 libidn-1.28-6.fc21.x86_64
libjpeg-turbo-1.3.1-5.fc21.x86_64 libmodman-2.0.1-9.fc21.x86_64
libofx-0.9.9-4.fc21.x86_64 libogg-1.3.0-8.fc21.x86_64
libpng-1.6.10-3.fc21.x86_64 libproxy-0.4.11-10.fc21.x86_64
libsecret-0.18-6.fc21.x86_64 libselinux-2.3-9.fc21.x86_64
libsndfile-1.0.25-14.fc21.x86_64 libsoup-2.48.1-2.fc21.x86_64
libssh2-1.5.0-1.fc21.x86_64 libstdc++-4.9.2-6.fc21.x86_64
libtasn1-4.5-1.fc21.x86_64 libtdb-1.3.1-1.fc21.x86_64
libtool-ltdl-2.4.2-31.fc21.x86_64 libunistring-0.9.3-11.fc21.x86_64
libuuid-2.25.2-3.fc21.x86_64 libvorbis-1.3.4-3.fc21.x86_64
libwayland-client-1.6.0-1.fc21.x86_64 libwayland-server-1.6.0-1.fc21.x86_64
libwebp-0.4.3-2.fc21.x86_64 libxcb-1.11-5.fc21.x86_64
libxml2-2.9.1-7.fc21.x86_64 libxshmfence-1.2-1.fc21.x86_64
libxslt-1.1.28-8.fc21.x86_64 mariadb-libs-10.0.19-2.fc21.x86_64
mesa-libEGL-10.4.7-1.20150323.fc21.x86_64
mesa-libGL-10.4.7-1.20150323.fc21.x86_64

Re: seg fault on master

2015-07-05 Thread Alex Aycinena
John,

On Sun, Jul 5, 2015 at 4:17 PM, John Ralls jra...@ceridwen.us wrote:


  On Jul 5, 2015, at 1:28 PM, Alex Aycinena alex.aycin...@gmail.com
 wrote:
 
  When I try to open a file on the latest master I get a seg fault.
 Following
  is the bt:
  #5  0x7325a3f6 in KvpValueImpl::getKvpFrameImpl*() const
  (this=0x0)
 at
 
 /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/kvp-value.hpp:153
  #6  0x72048be5 in qof_book_get_features(QofBook*) (book=0x64de40)
 at
 
 /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/qofbook.cpp:1069

 Alex,

 This one was easy to find, and is fixed.

 Next?

 Regards,
 John Ralls

 Make check works and so does my file load but when I try to change
File-Properties-Currency Accounting method it seg faults. bt:

Program received signal SIGSEGV, Segmentation fault.
0x72025cf2 in std::_Rb_treechar const*, std::pairchar const*
const, KvpValueImpl*, std::_Select1ststd::pairchar const* const,
KvpValueImpl* , KvpFrameImpl::cstring_comparer,
std::allocatorstd::pairchar const* const, KvpValueImpl* 
::_M_lower_bound (this=0x32069c0, __x=0x31, __y=0x3a286f8,
__k=@0x7fffbda0: 0x33c16b8 Budgeting)
at /usr/include/c++/4.9.2/bits/stl_tree.h:1277
1277if (!_M_impl._M_key_compare(_S_key(__x), __k))
Missing separate debuginfos, use: debuginfo-install
GConf2-3.2.6-11.fc21.x86_64 PackageKit-gtk3-module-1.0.6-1.fc21.x86_64
adwaita-gtk2-theme-3.14.2.2-1.fc21.x86_64 alsa-lib-1.0.28-2.fc21.x86_64
aqbanking-5.5.1-1.fc21.x86_64 at-spi2-atk-2.14.1-1.fc21.x86_64
at-spi2-core-2.14.1-1.fc21.x86_64 atk-2.14.0-1.fc21.x86_64
boost-date-time-1.55.0-8.fc21.x86_64 bzip2-libs-1.0.6-14.fc21.x86_64
cairo-1.14.2-1.fc21.x86_64 cyrus-sasl-lib-2.1.26-19.fc21.x86_64
dbus-glib-0.104-1.fc21.x86_64 dbus-libs-1.8.18-1.fc21.x86_64
dconf-0.22.0-1.fc21.x86_64 elfutils-libelf-0.161-6.fc21.x86_64
elfutils-libs-0.161-6.fc21.x86_64 enchant-1.6.0-9.fc21.x86_64
expat-2.1.0-10.fc21.x86_64 flac-libs-1.3.1-1.fc21.x86_64
fontconfig-2.11.1-5.fc21.x86_64 freetype-2.5.3-16.fc21.x86_64
gc-7.4.2-2.fc21.x86_64 gdk-pixbuf2-2.31.1-1.fc21.x86_64
gecko-mediaplayer-1.0.9-3.fc21.x86_64 glib-networking-2.42.0-2.fc21.x86_64
glib2-2.42.2-1.fc21.x86_64 gmp-6.0.0-9.fc21.x86_64 gmtk-1.0.9-2.fc21.x86_64
gnome-shell-3.14.4-2.fc21.x86_64 gnutls-3.3.15-1.fc21.x86_64
goffice08-0.8.17-12.fc21.x86_64 graphite2-1.2.4-3.fc21.x86_64
gsm-1.0.13-12.fc21.x86_64 gstreamer1-1.4.5-1.fc21.x86_64
gstreamer1-plugins-base-1.4.5-1.fc21.x86_64 gtk2-2.24.28-1.fc21.x86_64
guile-2.0.11-3.fc21.x86_64 gvfs-1.22.4-2.fc21.x86_64
gwenhywfar-4.13.1-2.fc21.x86_64 gwenhywfar-gui-gtk2-4.13.1-2.fc21.x86_64
harfbuzz-0.9.36-1.fc21.x86_64 harfbuzz-icu-0.9.36-1.fc21.x86_64
hunspell-1.3.3-3.fc21.x86_64 ibus-gtk2-1.5.10-5.fc21.x86_64
ibus-libs-1.5.10-5.fc21.x86_64 json-c-0.12-5.fc21.x86_64
json-glib-1.0.2-4.fc21.x86_64 keyutils-libs-1.5.9-4.fc21.x86_64
krb5-libs-1.12.2-17.fc21.x86_64 libICE-1.0.9-2.fc21.x86_64
libSM-1.2.2-2.fc21.x86_64 libX11-1.6.2-2.fc21.x86_64
libXau-1.0.8-4.fc21.x86_64 libXcomposite-0.4.4-6.fc21.x86_64
libXcursor-1.1.14-4.fc21.x86_64 libXdamage-1.1.4-6.fc21.x86_64
libXext-1.3.3-2.fc21.x86_64 libXfixes-5.0.1-4.fc21.x86_64
libXi-1.7.4-2.fc21.x86_64 libXinerama-1.1.3-4.fc21.x86_64
libXrandr-1.4.2-2.fc21.x86_64 libXrender-0.9.8-4.fc21.x86_64
libXt-1.1.4-10.fc21.x86_64 libXtst-1.2.2-4.fc21.x86_64
libXxf86vm-1.1.3-4.fc21.x86_64 libart_lgpl-2.3.21-12.fc21.x86_64
libasyncns-0.8-8.fc21.x86_64 libatomic_ops-7.4.2-4.fc21.x86_64
libattr-2.4.47-9.fc21.x86_64 libbluray-0.7.0-1.fc21.x86_64
libcanberra-0.30-7.fc21.x86_64 libcanberra-gtk2-0.30-7.fc21.x86_64
libcap-2.24-7.fc21.x86_64 libcom_err-1.42.12-4.fc21.x86_64
libcurl-7.37.0-14.fc21.x86_64 libdbi-0.9.0-3.fc21.x86_64
libdbi-dbd-mysql-0.9.0-3.fc21.x86_64 libdbi-dbd-sqlite-0.9.0-3.fc21.x86_64
libdrm-2.4.60-1.fc21.x86_64 libffi-3.1-7.fc21.x86_64
libgcc-4.9.2-6.fc21.x86_64 libgcrypt-1.6.3-4.fc21.x86_64
libgnome-keyring-3.12.0-4.fc21.x86_64 libgnomecanvas-2.30.3-9.fc21.x86_64
libgpg-error-1.17-2.fc21.x86_64 libgsf-1.14.33-1.fc21.x86_64
libicu-52.1-6.fc21.x86_64 libidn-1.28-6.fc21.x86_64
libjpeg-turbo-1.3.1-5.fc21.x86_64 libmodman-2.0.1-9.fc21.x86_64
libofx-0.9.9-4.fc21.x86_64 libogg-1.3.0-8.fc21.x86_64
libpng-1.6.10-3.fc21.x86_64 libproxy-0.4.11-10.fc21.x86_64
libsecret-0.18-6.fc21.x86_64 libselinux-2.3-9.fc21.x86_64
libsndfile-1.0.25-14.fc21.x86_64 libsoup-2.48.1-2.fc21.x86_64
libssh2-1.5.0-1.fc21.x86_64 libstdc++-4.9.2-6.fc21.x86_64
libtasn1-4.5-1.fc21.x86_64 libtdb-1.3.1-1.fc21.x86_64
libtool-ltdl-2.4.2-31.fc21.x86_64 libunistring-0.9.3-11.fc21.x86_64
libuuid-2.25.2-3.fc21.x86_64 libvorbis-1.3.4-3.fc21.x86_64
libwayland-client-1.6.0-1.fc21.x86_64 libwayland-server-1.6.0-1.fc21.x86_64
libwebp-0.4.3-2.fc21.x86_64 libxcb-1.11-5.fc21.x86_64
libxml2-2.9.1-7.fc21.x86_64 libxshmfence-1.2-1.fc21.x86_64
libxslt-1.1.28-8.fc21.x86_64 mariadb-libs-10.0.19-2.fc21.x86_64
mesa-libEGL-10.4.7-1.20150323.fc21.x86_64
mesa-libGL-10.4.7-1.20150323.fc21.x86_64