php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48491 Crash at start-up
Submitted: 2009-06-07 18:18 UTC Modified: 2009-12-22 01:00 UTC
From: jom at grosjo dot net Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.3.0RC2 OS: Linux OpenSUSE 11.0 x86_64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-06-07 18:18 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-06-07 19:08 UTC] derick@php.net
Please try using this CVS snapshot:

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

  http://windows.php.net/snapshots/
 [2009-06-09 08:38 UTC] jom at grosjo dot net
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
 [2009-06-10 12:50 UTC] jani@php.net
Exactly what compiler are you using..? What was the exact configure line 
you used? Did you use some CFLAGS/LDFLAGS/etc. of your own?
 [2009-06-18 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-12-15 00:40 UTC] felipe@php.net
Please try using this snapshot:

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

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


 [2009-12-22 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 05:01:30 2024 UTC