ID:               48744
 User updated by:  tom at ideaweb dot de
 Reported By:      tom at ideaweb dot de
-Status:           Feedback
+Status:           Open
 Bug Type:         Safe Mode/open_basedir
 Operating System: Linux Debian Etch
 PHP Version:      5.3.0
 Assigned To:      fb-req-jani
 New Comment:

Sorry for the delay, the test server was in use...

Seems to be the same =(

(gdb) run -X -d /www/apache/current/
Starting program: /www/apache/2.2.11/bin/httpd -X -d 
/www/apache/current/
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1212967232 (LWP 27684)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212967232 (LWP 27684)]
0xb755848f in OnUpdateBaseDir (entry=0x824fbb8, 
    new_value=0x83b5070 
"/www/htdocs/ecolint.ch/dev:/www/htdocs/ecolint.ch/tmp:/www/htdocs/eco
lint.ch/mysql", 
    new_value_length=82, mh_arg1=0x48, mh_arg2=0xb7b37e80, 
mh_arg3=0x0, stage=4)
    at /www/src/php5.3-200907101630/main/fopen_wrappers.c:103
103             if (!*p || !**p) {
(gdb)


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

[2009-07-10 22:15:18] j...@php.net

Is the backtrace the same?

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

[2009-07-10 18:46:07] tom at ideaweb dot de

Keeps crashing with php5.3-200907101630 =(

[Fri Jul 10 20:41:45 2009] [notice] child pid 13862 exit signal 
Segmentation fault (11)
[Fri Jul 10 20:41:47 2009] [notice] child pid 13863 exit signal 
Segmentation fault (11)

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

[2009-07-10 18:26:39] j...@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

Just in case this is just another side-effect caused by another bug..

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

[2009-07-10 15:50:01] tom at ideaweb dot de

Without php.ini the server keeps crashing, but i think with "wrong 
configuration parameters" the server should not crash...

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

[2009-07-10 14:00:09] jleg at nrw dot net

Hi,

i just wanted to confirm this behaviour - we recently upgraded one of
our development servers from PHP 5.2.9 to 5.3.0, and experienced similar
segfaulting. Test script only contains "phpinfo()".
It segfaults one time out of three.

System is a CentOS 5.3, standard httpd (prefork). Updating PHP was the
only change. Reverting back to 5.2.9 stops segfaulting, as well as
removing the "php_admin_value open_basedir" in apache config.
To build the PHP 5.3.0, the same configure-script as fpr 5.2.x was used
- with the exception of including "mysqlnd".

Error msg in log while segfaulting is (note that garbage in "allowed
paths"):

PHP Warning:  Unknown: open_basedir restriction in effect.
File(<....>/t.php) is not within the allowed path(s): (\³<        \³<   
 Àg=     ) in Unknown on line 0
PHP Warning:  Unknown: failed to open stream: Operation not permitted
in Unknown on line 0

regards, Jan

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

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/48744

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

Reply via email to