ID: 48491
User updated by: jom at grosjo dot net
Reported By: jom at grosjo dot net
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Linux OpenSUSE 11.0 x86_64
PHP Version: 5.3.0RC2
New Comment:
latest cvs does not compile !
In file included from
/data/admin/softs/php5.3-200906090630/Zend/zend_API.h:30,
from
/data/admin/softs/php5.3-200906090630/main/php.h:38,
from ext/intl/php_intl.h:23,
from
/data/admin/softs/php5.3-200906090630/ext/intl/msgformat/msgformat_helpers.cpp:26:
/data/admin/softs/php5.3-200906090630/Zend/zend_execute.h: In function
'void zend_arg_types_stack_2_pop(zend_ptr_stack*, zval**,
zend_function**)':
/data/admin/softs/php5.3-200906090630/Zend/zend_execute.h:301: error:
invalid conversion from 'void*' to 'zval*'
/data/admin/softs/php5.3-200906090630/Zend/zend_execute.h:302: error:
invalid conversion from 'void*' to 'zend_function*'
/data/admin/softs/php5.3-200906090630/Zend/zend_execute.h: In function
'void zend_arg_types_stack_3_pop(zend_ptr_stack*, zend_class_entry**,
zval**, zend_function**)':
/data/admin/softs/php5.3-200906090630/Zend/zend_execute.h:311: error:
invalid conversion from 'void*' to 'zend_class_entry*'
/data/admin/softs/php5.3-200906090630/Zend/zend_execute.h:312: error:
invalid conversion from 'void*' to 'zval*'
/data/admin/softs/php5.3-200906090630/Zend/zend_execute.h:313: error:
invalid conversion from 'void*' to 'zend_function*'
make: *** [ext/intl/msgformat/msgformat_helpers.lo] Error 1
Previous Comments:
------------------------------------------------------------------------
[2009-06-07 19:08:38] [email protected]
Please try using this CVS snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-06-07 18:18:19] jom at grosjo dot net
Description:
------------
./sapi/cli/php crash at start-up time
Reproduce code:
---------------
# gdb ./sapi/cli/php
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...
(gdb) run
Starting program: /data/admin/softs/php-5.3.0RC2/sapi/cli/php
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at
0000000000000158
[New Thread 0x7f700dfe8700 (LWP 32397)]
PHP Warning: PHP Startup: It is not safe to rely on the system's
timezone settings. You are *required* to use the date.timezone setting
or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'Europe/Helsinki' for
'EEST/3.0/DST' instead in Unknown on line 0
Warning: PHP Startup: It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'Europe/Helsinki' for
'EEST/3.0/DST' instead in Unknown on line 0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f700dfe8700 (LWP 32397)]
0x00000000007d9140 in zend_hash_find (ht=0x10527f0, arKey=0x8e2e49
"Africa/Cairo", nKeyLength=16, pData=0x7fff15ef97a8)
at /data/admin/softs/php-5.3.0RC2/Zend/zend_hash.c:880
880 p = ht->arBuckets[nIndex];
(gdb) next
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48491&edit=1