ID: 40641
Updated by: tony2001@php.net
Reported By: jfgingras at cegep-ste-foy dot qc dot ca
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: FreeBSD 6.1-RELEASE
PHP Version: 5.2.1
New Comment:
Try rebuilding PHP with --disable-debug and CFLAGS="-O0 -g".
Btw, what GCC version do you use?
Previous Comments:
------------------------------------------------------------------------
[2007-02-28 14:53:57] jfgingras at cegep-ste-foy dot qc dot ca
I should I have read more before posting my last comment, seems like
the FreeBSD port only support i386 and the amd64 support is only for
Linux right now.
Guess I'll have to forget about open_basedir for now :(
------------------------------------------------------------------------
[2007-02-28 14:32:39] jfgingras at cegep-ste-foy dot qc dot ca
Well, the portage of Valgrind under FreeBSD 6.1 is only for i386 and it
complains because I'm on a amd64. So I can't get valgrind to compile.
I'll try the source directly from http://valgrind.org/,
they saids it
support amd64. Stay tune!
------------------------------------------------------------------------
[2007-02-26 20:25:26] tony2001@php.net
Please check if valgrind is able to find something there.
------------------------------------------------------------------------
[2007-02-26 20:14:31] jfgingras at cegep-ste-foy dot qc dot ca
Ok, I wasn't able to generate a backtrace even if I rebuild Apache and
PHP with debug option, I can't get a core file. Anyway, like I said
earlier, PHP without extionsion doesn't crash if open_basedir is
defined, but as soon as I build the following extentions, I receive a
Bus error from httpd:
php5-bcmath-5.2.1_2 The bcmath shared extension for php
php5-bz2-5.2.1_2 The bz2 shared extension for php
php5-calendar-5.2.1_2 The calendar shared extension for php
php5-ctype-5.2.1_2 The ctype shared extension for php
php5-dom-5.2.1_2 The dom shared extension for php
php5-extensions-1.1 A "meta-port" to install PHP extensions
php5-gd-5.2.1_2 The gd shared extension for php
php5-gettext-5.2.1_2 The gettext shared extension for php
php5-iconv-5.2.1_2 The iconv shared extension for php
php5-imap-5.2.1_2 The imap shared extension for php
php5-mbstring-5.2.1_2 The mbstring shared extension for php
php5-mcrypt-5.2.1_2 The mcrypt shared extension for php
php5-mhash-5.2.1_2 The mhash shared extension for php
php5-mysql-5.2.1_2 The mysql shared extension for php
php5-mysqli-5.2.1_2 The mysqli shared extension for php
php5-odbc-5.2.1_2 The odbc shared extension for php
php5-pcre-5.2.1_2 The pcre shared extension for php
php5-pdo-5.2.1_2 The pdo shared extension for php
php5-pdo_sqlite-5.2.1_2 The pdo_sqlite shared extension for php
php5-posix-5.2.1_3 The posix shared extension for php
php5-session-5.2.1_2 The session shared extension for php
php5-simplexml-5.2.1_2 The simplexml shared extension for php
php5-spl-5.2.1_2 The spl shared extension for php
php5-sqlite-5.2.1_2 The sqlite shared extension for php
php5-tidy-5.2.1_2 The tidy shared extension for php
php5-tokenizer-5.2.1_2 The tokenizer shared extension for php
php5-xml-5.2.1_2 The xml shared extension for php
php5-xmlreader-5.2.1_2 The xmlreader shared extension for php
php5-xmlwriter-5.2.1_2 The xmlwriter shared extension for php
php5-zlib-5.2.1_2 The zlib shared extension for php
phpMyAdmin-2.9.0.1 A set of PHP-scripts to manage MySQL over the web
pecl-filter-0.11.0 PHP extension for safely dealing with input
parameters
pecl-hash-1.3 HASH Message Digest Framework for PHP
pecl-json-1.2.1 PHP extension for JSON (JavaScript Object Notation)
seriali
pecl-pdflib-2.1.2 A PECL extension to create PDF on the fly
I did exactly what was written on this page,
http://bugs.php.net/bugs-generating-backtrace.php,
but no core file and
gdb can't stand httpd so no backtrace. Any help will be most welcome.
Thx
------------------------------------------------------------------------
[2007-02-26 19:12:42] jfgingras at cegep-ste-foy dot qc dot ca
Well, if that can help.. PHP with --enable-debug and no extension
doesn't crash if open_basedir is defined. I'll have to test this with
--disable-debug.
I'm buidling the extensions we use for the debug version and see if I
can reproduce the crash.
------------------------------------------------------------------------
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/40641--
Edit this bug report at http://bugs.php.net/?id=40641&edit=1