[xml/sgml-pkgs] Bug#568382: libxslt1.1: Invalid free() in xslReleaseRVT
Toby Speight
T.M.Speight.90 at cantab.net
Fri Feb 5 12:35:28 UTC 2010
reassign 568382 libxml-libxslt-perl
thanks
I'm now becoming convinced that this is a memory management issue
between Perl and libxslt - I think that both are trying to free the
same objects. So I'm reassigning this - feel free to punt it back to
libxslt if appropriate.
The following code should demonstrate this, and gives a good backtrace
under GDB (try it with and without the 'push @keep'):
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 568382a.pl
Type: text/x-perl
Size: 922 bytes
Desc: XSLT test program - fails
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20100205/5cbba04f/attachment.pl>
-------------- next part --------------
Further experimentation shows that this issue is not triggered if I
select the text content instead of the attribute to pass to the
extension function - this may be a basis for a workaround for me.
Alternatively, going through a second variable seems to work, thus:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 568382b.pl
Type: text/x-perl
Size: 930 bytes
Desc: XSLT test program - succeeds
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20100205/5cbba04f/attachment-0001.pl>
More information about the debian-xml-sgml-pkgs
mailing list