Why am I getting a panic with Perl 5.10, Mason, and Apache?
Question
I'm developing an application using Perl 5.10, HTML::Mason, and apache 2.2. This is the first time I've used Perl 5.10 for a big project. I get a strange behavior every once in a while. The application dies with a very strange error:
panic: attempt to copy value
to a freed scalar b87acf34 at ...
I guess my question is it Perl 5.10 because I've never experienced this before, or is it some other faulty dependency?
Thanks a lot!
Solution
Not sure if this has anything to do with your error (probably not), but mod_perl+mason+perl5.10 is a no go. Perl 5.10 introduced at least one big bug that leads to segmentation faults under some conditions: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480480#24
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow