[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-Modules] Nasty error with HTML::Parser 3.07



On Wed, Apr 19, 2000 at 04:09:53PM +0000, Bart Lateur wrote:
} On Tue, 18 Apr 2000 12:49:57 -0500 (CDT), Matthew Langford wrote:
} 
} >I've seen this error if I try to run too many test files in one running of
} >MacPerl.  If you run just the one file, it shouldn't give you the error.
} >I don't know what causes it, but hopefully it will be fixed by a MacPerl
} >based on 5.6 RSN.
} 
} I wouldn't count on it.
} 
} I suspect this is a bug that is present for ALL versions of Perl. Only,
} on MacPerl, the interpreter program stays open after the script is run.
} That makes it different from Perl on other platforms.

Well, since I've seen the problem only in 5.004, on two different
platforms, I'd suspect that it is a problem that got fixed in 5.005.

} 
} It also indicates that using HTML::Parser v.3.07 is NOT SAFE safe to use
} under mod_perl. On any platform. That is why I cc'ed the MacPerl-Modules
} mailing list -- I hope you don't mind. :-)

And the evidence that mod_perl and HTML::Parser aren't "safe" under
5.6.0 is ... ?

} 
} I believe that somewhere, very likely around the time when releasing
} memory, the module is modifying some things that where already freed,
} and thereby corrupting areas of Perl's memory.

There are problems that can arise if perl is using its built in malloc
and the XS tries to use the system malloc.  I don't know whether that
applies to MacPerl at all.

} 
} -- 
} 	Bart.
} 

-- 
Paul Schinder
schinder@pobox.com

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-modules-request@macperl.org