Skip Menu |

This queue is for tickets about the XML-LibXSLT CPAN distribution.

Report information
The Basics
Id: 93611
Status: new
Priority: 0/
Queue: XML-LibXSLT

Owner: Nobody in particular
Requestors: NWELLNHOF [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Exceptions in Perl callbacks leak memory
Download (untitled) / with headers
text/plain 584b
If a Perl callbacks throws an exception during a transformation, the libxslt transform context is leaked. This includes: * input callbacks * security callbacks * extenstion functions * extension elements Possible solutions: 1. Don't croak in the callback handlers but store the error in a global. Then 'transform' can check for an error and croak after the transform context and other data structures were freed. 2. Always create an XML::LibXSLT::TransformContext Perl object for transform contexts. Make these objects mortal and implement a DESTROY method that frees the context.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to