Edit report at https://bugs.php.net/bug.php?id=64853&edit=1

 ID:                 64853
 Updated by:         a...@php.net
 Reported by:        a...@php.net
 Summary:            Use of no longer available ini directives causes
                     crash on TS build
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            *Configuration Issues
 Operating System:   irrelevant
 PHP Version:        5.5Git-2013-05-16 (Git)
 Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2013-05-16 06:45:42] a...@php.net

Automatic comment on behalf of ab
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=d82704b6779cf54e9c8bd16ecc78c612892b4c9d
Log: Fixed bug #64853Use of no longer available ini directives causes crash on 
TS build

------------------------------------------------------------------------
[2013-05-16 06:36:01] a...@php.net

Description:
------------
Basically it's the test 
ext/standard/tests/general_functions/get_cfg_var_variation8.phpt crashing on 
windows TS build with the following BT

        php5ts_debug.dll!zend_get_class_entry(const _zval_struct * zobject, 
void 
* * * tsrm_ls) Line 237 C
        php5ts_debug.dll!zend_exception_error(_zval_struct * exception, int 
severity, void * * * tsrm_ls) Line 799  C
        php5ts_debug.dll!zend_error(int type, const char * format, ...) Line 
1045    C
        php5ts_debug.dll!php_module_startup(_sapi_module_struct * sf, 
_zend_module_entry * additional_modules, unsigned 

int num_additional_modules) Line 2298   C
        php.exe!php_cli_startup(_sapi_module_struct * sapi_module) Line 417     
C
        php.exe!main(int argc, char * * argv) Line 1357 C


On linux there's no crash, but one can observe this valgrind trace

==53484== Conditional jump or move depends on uninitialised value(s)
==53484==    at 0xA6531C: zend_error (zend.c:1033)
==53484==    by 0x9A7908: php_module_startup (main.c:2293)
==53484==    by 0xB25833: php_cli_startup (php_cli.c:417)
==53484==    by 0xB28594: main (php_cli.c:1357)
==53484==
==53484== Conditional jump or move depends on uninitialised value(s)
==53484==    at 0xAA35CA: zend_objects_store_mark_destructed 
(zend_objects_API.c:70)
==53484==    by 0x9A39A4: php_error_cb (main.c:1164)
==53484==    by 0x78624F: soap_error_handler (soap.c:2130)
==53484==    by 0xA656C4: zend_error (zend.c:1110)
==53484==    by 0x9A7908: php_module_startup (main.c:2293)
==53484==    by 0xB25833: php_cli_startup (php_cli.c:417)
==53484==    by 0xB28594: main (php_cli.c:1357)
==53484==



Test script:
---------------
ext/standard/tests/general_functions/get_cfg_var_variation8.phpt

Expected result:
----------------
test pass

Actual result:
--------------
crash


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



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

Reply via email to