ID:               39902
 User updated by:  felici at iddqd dot hu
 Reported By:      felici at iddqd dot hu
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: FreeBSD 6.2-PRERELEASE
 PHP Version:      5.2.0
 New Comment:

I sent you the login credentials.


Previous Comments:
------------------------------------------------------------------------

[2006-12-20 18:42:54] [EMAIL PROTECTED]

Could you please provide a shell account on this machine?

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

[2006-12-20 18:30:24] felici at iddqd dot hu

Of course I rebuilt all of the extensions using the CVS snapshot. 

If I'm trying to use the CLI version I get the same:

[EMAIL PROTECTED] /var/virtual/users/feldeci/www/mail.dns123.eu]# php
phpi___.php 

[...]

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact [EMAIL PROTECTED]
Segmentation fault: 11 (core dumped)

PHP finishes with the script, then crashes. The backtrace is the same
in this case, too. There is only a simple phpinfo() in the file.

<?php
        phpinfo();
?>

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

[2006-12-20 18:02:53] [EMAIL PROTECTED]

Did you rebuild extensions using the snapshot or do you still use the
ones from ports?
Does it work with PHP CLI?

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

[2006-12-20 16:42:03] felici at iddqd dot hu

Hello, 

I'm using FreeBSD latest stable (6.2-PRERELEASE) i386, Apache 2.2.3
with suexec and mod_fastcgi-2.4.2 and php as cgi compiled with fastcgi
support (see phpinfo for more details about php)

httpd.conf:

<IfModule fastcgi_module>
        AddHandler fastcgi-script .fcgi
        FastCgiWrapper /usr/local/sbin/suexec
        FastCgiConfig -singleThreshold 100 -killInterval 300
-autoUpdate -idle-timeout 240 -pass-header HTTP_AUTHORIZATION
        FastCgiIpcDir /tmp
</IfModule>

[...]

SuexecUserGroup feldeci feldeci
ScriptAlias /cgi-bin/ /var/virtual/users/feldeci/www/cgi-bin/

<Directory "/var/virtual/users/feldeci/www/cgi-bin">
        AllowOverride None
        Options +ExecCGI -Includes
        Order allow,deny
        Allow from all
</Directory>

<Location /cgi-bin/>
        Options ExecCGI
        SetHandler fastcgi-script
</Location>

Action application/x-httpd-php /cgi-bin/php

cgi-bin/php (owned by user feldeci)

#!/bin/sh
PHPRC="/var/virtual/users/feldeci/conf"
export PHPRC
PHP_FCGI_CHILDREN=4
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
exec /usr/local/bin/php-cgi

php.ini:

[PHP]

open_basedir = "/var/virtual/users/feldeci"
upload_tmp_dir = "/var/virtual/users/feldeci/temp"
session.save_path = "/var/virtual/users/feldeci/temp"

the rest is in /usr/local/etc/php/master.ini and extensions.ini 

set up this environment, run php applications (like phpMyAdmin,
RoundCube, whatever) and wait for the segfaults.

let me know if you need the core file or the php.inis or I can help you
somehow

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

[2006-12-20 15:53:49] [EMAIL PROTECTED]

Please provide more information on how to reproduce it.

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

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
    http://bugs.php.net/39902

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

Reply via email to