On Mon, Jul 18, 2005 at 06:59:42PM +0100, Robert Rothenberg wrote:
> I've tried increasing reference counts or using malloc/memcpy manually, 
> but still get the same errors.  My amateurish guess is that the new 
> memory is being deallocated.

There's nothing obvious in your code. Have you been able to run it under
a debugger and get a stack backtrace?
 
> I'm using perl 5.8.7, compiled with MS Visual C++ Toolkit 2003 (the free 
> version).

This shouldn't make a difference. If you've got access to x86 Linux, and
the code is portable to Linux, have you tried running it under valgrind?

Nicholas Clark

Reply via email to