Edit report at https://bugs.php.net/bug.php?id=60627&edit=1

 ID:                 60627
 Updated by:         larue...@php.net
 Reported by:        fedora at famillecollet dot com
 Summary:            httpd.worker segfault on startup with php_value
-Status:             Analyzed
+Status:             Closed
 Type:               Bug
 Package:            Apache2 related
 Operating System:   GNU/Linux (Fedora 16)
 PHP Version:        5.4SVN-2011-12-30 (snap)
-Assigned To:        
+Assigned To:        laruence
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2012-01-04 08:24:39] larue...@php.net

Automatic comment from SVN on behalf of laruence
Revision: http://svn.php.net/viewvc/?view=revision&revision=321753
Log: Fixed bug #60627 (httpd.worker segfault on startup with php_value)

------------------------------------------------------------------------
[2012-01-04 07:46:15] larue...@php.net

The following patch has been added/updated:

Patch Name: bug60627.patch
Revision:   1325663174
URL:        
https://bugs.php.net/patch-display.php?bug=60627&patch=bug60627.patch&revision=1325663174

------------------------------------------------------------------------
[2012-01-04 07:32:22] larue...@php.net

hmm, the problem is when the real_value_hnd is called, the signal_startup has 
not 
been called yet...

------------------------------------------------------------------------
[2012-01-01 19:22:16] public at wernig dot net

Just tried with 5.3.9RC4, and the problem does not occur. Seems to be something 
in 5.4

------------------------------------------------------------------------
[2012-01-01 19:05:57] public at wernig dot net

I have the same problem on Solaris 11 (express) i86pc. I'm not sure about ZTS 
mode (I have NOT set --enable-maintainer-zts)

I have compiled php-5.4 (various versions, the latest one being 5.4.0RC4) with 
the following configure flags:
--with-apxs2=/usr/local/apache2/bin/apxs --with-openssl=/usr/local/ssl 
--with-openssl-dir=/usr/local/ssl --with-zlib --enable-sockets 
--enable-shared=yes --enable-static=yes --prefix=/usr/local/apache2/php 
--enable-calendar --disable-ftp --with-mysql=/usr/local/mysql 
--with-imap=/usr/local/imap --with-imap-ssl=/usr/local/ssl --enable-flatfile 
--without-recode --disable-ipv6 --with-mysql-sock=/var/run/mysql/mysql.sock 
--with-gettext=/opt/csw --enable-libxml --with-db4=/usr/local/BerkeleyDB

Builds and installs fine.

But during apache (2.2.21) startup, it segfaults and dumps core:
# /usr/local/svc/init.d/apache2 restart
Restarting Apache2 httpd ... 
/usr/local/apache2/bin/apachectl: line 80: 17568: Memory fault(coredump)

In fact, uncommenting all php_admin_value lines from apache config file, apache 
starts normally.

When compiling and installing 5.3.6 with the same configure options, the 
problem does not occur.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=60627


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60627&edit=1

Reply via email to