Tyler MacDonald wrote:
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

Hello,

        I just tried an upgrade to 2.0RC1... only to have to back out.

        All of my scripts run fine, except for one -- which exits with a
segmentation fault reliably.

        The segfault happens in the following line of code:

        return Apache::OK;

        The same script compiles OK in the following manner:

        use Apache::Const qw(:common);

        ... that seems really, really odd to me. Segfaulting on a constant?
I just downgraded back to 1.99_16 to avoid the problem.

Tyler, have you by chance read: http://perl.apache.org/docs/2.0/user/help/help.html#Resolving_Segmentation_Faults plus the short script that we can reproduce the problem with.

        Here's my system configuration -- this is a production server so
I've had to move back to 1.99_16 until this problem is resolved, but nothing
else has changed.

It's never a good idea to upgrade a production server, w/o first testing the new software on the staging machine. Please read this section in chapter 5 of "Practical mod_perl":
5.9. Three-Tier Server Scheme: Development, Staging, and Production
http://modperlbook.org/html/ch05_09.html


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to