Control: tags -1 + upstream pending Le mercredi 19 décembre 2012 à 03:39 +0100, Vincent Lefevre a écrit :
> On 2012-12-19 00:16:41 +0100, Vincent Lefevre wrote: > [...] > > $ gnucash test.gnucash > > Found Finance::Quote version 1.17 > > I/O error : Resource temporarily unavailable > > $ > > I've done tests with gdb, and the problem occurs at > > xmlParseDocument( ctxt->data.saxParserCtxt ); > > in src/backend/xml/sixtp.c line 709 (sixtp_parse_file_common). > It comes from a known bug in libxml2, discussed here: > > https://bugzilla.redhat.com/show_bug.cgi?id=877567 [...] > So, this is also a bug in GnuCash, as like xmllint, GnuCash should > have detected the error, but it doesn't: Thanks for investigating the issue. I have written a patch that should fix this (I tested it on a home-crafted, truncated, compressed XML file). The patch is in the wheezy branch of the Debian git packaging: http://anonscm.debian.org/gitweb/?p=pkg-gnucash/gnucash.git;a=commitdiff;h=205e5ba1e396ce291148bef1345bdab6aeaa1ab8 I have also created unofficial GnuCash packages including that patch: http://people.debian.org/~sebastien/gnucash/ Please confirm that it fixes the problem for you on the GnuCash side (i.e. that you get an error message instead of a silent data truncation). If you have libxml knowledge, please also review my patch. I may take some time to actually do the upload, because I am going for vacation tomorrow. As a reminder for myself: push the patch upstream, merge it in experimental. -- .''`. Sébastien Villemot : :' : Debian Developer `. `' http://www.dynare.org/sebastien `- GPG Key: 4096R/381A7594
signature.asc
Description: This is a digitally signed message part