Re: segfault in 2.0RC1, didn't happen in 1.99_16?

[prev] [thread] [next] [Date index for 2004/12/24]

From: Stas Bekman
Subject: Re: segfault in 2.0RC1, didn't happen in 1.99_16?
Date: 15:54 on 24 Dec 2004
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:stas@xxxxxx.xxx 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

segfault in 2.0RC1, didn't happen in 1.99_16?
Tyler MacDonald 23:14 on 23 Dec 2004

Re: segfault in 2.0RC1, didn't happen in 1.99_16?
Stas Bekman 15:54 on 24 Dec 2004

Re: segfault in 2.0RC1, didn't happen in 1.99_16?
Tyler MacDonald 19:29 on 24 Dec 2004

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52