From:             ab
Operating system: irrelevant
PHP version:      5.5Git-2013-05-16 (Git)
Package:          *Configuration Issues
Bug Type:         Bug
Bug description:Use of no longer available ini directives causes crash on TS 
build

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 bug report at https://bugs.php.net/bug.php?id=64853&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64853&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64853&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=64853&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=64853&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=64853&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=64853&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=64853&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=64853&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=64853&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=64853&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=64853&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=64853&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=64853&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64853&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=64853&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=64853&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=64853&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64853&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=64853&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64853&r=mysqlcfg

Reply via email to