SPUG: XML::Simple not playing well with Apache/mod_perl?

DeRykus, Charles E charles.e.derykus at boeing.com
Thu Sep 29 14:15:04 PDT 2005


 


> I 've got a problem with Apache 1.33 and XML::Simple, or at least I
think I do.

> Apache is dying with these sorts of errors:

> Attempt to free unreferenced scalar: SV 0xa2a4394, Perl interpreter:
> A thread exited while 2 threads were running.

>(note that I'm not trying to use threads in my mod_perl code, but might
be doing so in CPAN libraries.)

> When I remove the call to XMLin (from XML::Simple), these errors go
away.
> When I put the call back in, the errors come back, 100% of the time.
(Easy to reproduce.)

> Anyone else run into something like this?  It doesn't seem likely that
XML::Simple would cause mod_perl to die like 
> this, but the gun appears to be warm to the touch if not exactly
smoking.

I haven't seen this but you might want to poke around one of the search
engines, etc.

Here's a general pointer:
http://answers.google.com/answers/threadview?id=2263


-- 
Charles DeRykus


More information about the spug-list mailing list