In a test I´ve done, doing:

php5  -dshort_open_tag=0 -dsafe_mode=0
/usr/src/php5-200312181230/pear/install-pear.php -d
/usr/local/php/lib/php/ -b /usr/local/php/bin/ 
/usr/src/php5-200312181230/pear/packages/*.tar

Tracing all script with Xdebug, seems that the last
function call is:

   23.4601          0       -> is_object()
/usr/src/php5-200312181230/pear/PEAR.php:235

and a NULL is passed to it. But I´m sure the seg fault
is not there:

stat64("/usr/local/php/lib/php//.registry",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/local/php/lib/php//.lock",
{st_mode=S_IFREG|0644, st_size=0, ...}) = 0
getcwd("/usr/src/php5-200312181230/xdebug-1.3.0rc1",
4096) = 43
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
lstat64("/usr/local", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat64("/usr/local/php", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat64("/usr/local/php/lib", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat64("/usr/local/php/lib/php",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/php/lib/php/.lock",
{st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/usr/local/php/lib/php/.lock", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
lseek(3, 0, SEEK_CUR)                   = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


Going home now, and then i´ll try to look deeper at
it.

Eduardo R. Maciel

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to