Re: [xml] Segfaults on FreeBSD when using XPath....



i.e. it will display the first node and the memory used (0
for some reason) and then, as soon as xmlXPathInit() is called, it
ends up with a segfault. I'm using the FreeBSD port of libxml-2.3.8
and wonder whether this is a FreeBSD issue or related to some general
libxml bug. Any help would be greatly appreciated.

  Well this is the last thread in the list archive:
    http://mail.gnome.org/archives/xml/2001-June/msg00049.html

Apply the foolowing patch to your configure.in

http://cvs.gnome.org/bonsai/cvsquery.cgi?module=gnome-xml&branch=HEAD&branchtype=match&dir=gnome-xml&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=06%2F07%2F01+11%3A30&maxdate=06%2F07%2F01+11%3A30&cvsroot=%2Fcvs%2Fgnome

  rebuild configure with autogen.sh or autoconf, rerun configure
and recompile. I hope this fixes the problem.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]