Segfault with CVS

Tim Wunder twunder@iwmail.com
Wed, 17 Oct 2001 15:55:22 -0400


Hi folks,
After much trial and tribulation, and some fantastic help on 
#gnucash@irc.gnome.org, I managed to get gnucash from cvs compiled. The 
problem I'm now having is that gnucash generates a segfault when I try 
to create an account. The backtrace from gdb seems to indicate a problem 
with libxml.
#0 0x40a39150 in xmlFreeNodeList () from /usr/lib/libxml.so.2
#1 0x40a391cc in xmlFreeNode () from /usr/lib/libxml.so.2

ldd /usr/local/bin/gnucash |grep xml gave:
libxml.so.2 => /usr/lib/libxml.so.2
libxml.so.1 => /opt/gnome/lib/libxml.so.1


Now, when I originally compiled gnucash-cvs, I had libxml-1.8.10 which 
was located in /opt/gnome/lib and libxml-2.2.10 located in /usr/lib. On 
the off chance that conflicting versions of libxml was the culprit, I 
uninstalled libxml-2.2.10. Unfortunately, that caused a problem with 
libguile which caused a problem with guppi which made it impossible for 
me to complete a ./configure. So, I re-installed 2.2.10.

Next I tried using JUST the 2.2.10 version of libxml when compiling by 
linking /opt/gnome/lib/libxml.so and /opt/gnome/lib/libxml.so.1 to 
/usr/lib/libxml.so.2.2.10 and tried a configure/make/make install, which 
compiled. But, I still got the same segfault when creating a new account.

I've since returned my system back to where it was and I currently have 
/opt/gnome/lib/libxml.so and /opt/gnome/lib/libxml.so.1 linking to 
/opt/gnome/lib/libxml.so.1.8.10

FWIW, I also have libxml2 installed in /opt/gnome/lib.

Should I install another version of libxml? jsled advised me that he has 
1.8.13, IIRC, and the cvs version obviously works for him. But the 
problem, from the perspective of my untrained eye seems to be with 
libxml.so.2, which, I guess, is different from libxml2.so (or 
libxml2.so.2) which are linked to libxml2.so.2.4.5.

Any ideas?

Thanks,
Tim