Package: galax Version: 1.1-6+b1 Severity: normal
The use of a very large XML file (1.1 GB in my case) can cause a segfault in galax. The backtrace doesn't seem to be useful to me, but then again I don't know OCaml. Here's how to reproduce the issue: $ galax-run -context-item test.rdf noop.xq noop.xq can be an empty file. Hence, I suspect that no XQuery-related code is affected, but rather just the XML parser used for the context item. The memory consumption goes up to about 160 MB before the segfault. In comparison, it is about 5.2 GB for loading the document with xsltproc, xmllint or xmlstarlet which thrashes my system a bit but otherwise works fine on the document. In case it works with other large documents, the specific one was pulled from: http://glue.cefriel.it/glue/Service-Finder-Data/ -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages galax depends on: ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libcamomile-ocaml-data 0.7.2-2 Unicode data for OCaml ii libpcre3 7.8-3 Perl 5 Compatible Regular Expressi galax recommends no packages. galax suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org