Bug #64769 [NEW]: mbstring PHPTs crash on x64 php builds
| From: | mattficken@php.net | Date: | Fri, 03 May 2013 07:41:15 +0000 |
| Subject: | Bug #64769 [NEW]: mbstring PHPTs crash on x64 php builds | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-178764@lists.php.net to get a copy of this message | ||
From: mattficken
Operating system: Windows
PHP version: 5.5Git-2013-05-03 (snap)
Package: ICONV related
Bug Type: Bug
Bug description:mbstring PHPTs crash on x64 php builds
Description:
------------
On 5.5.0-x64, these 2 tests crash, with and without opcache
Test script:
---------------
ext/mbstring/tests/mb_eregi.phpt
ext/mbstring/tests/mb_eregi_invalid_arguments.phpt
Expected result:
----------------
Test Pass
Actual result:
--------------
Crash here:
00000000
008ce338 000007fee309fe79 php_mbstring!code2_hash
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\oniguruma\enc\unicode.c
@ 10860]
00000000008ce340 000007fee30a23fc php_mbstring!onig_st_add_direct+0x29
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\oniguruma\st.c
@ 309]
00000000008ce370 000007fee30a3038 php_mbstring!init_case_fold_table+0x12c
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\oniguruma\enc\unicode.c
@ 10937]
00000000008ce3a0 000007fee30a45bd
php_mbstring!onigenc_unicode_get_case_fold_codes_by_str+0x58
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\oniguruma\enc\unicode.c
@ 11169]
00000000008ce4a0 000007fee3074d9b
php_mbstring!get_case_fold_codes_by_str+0x1d
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\oniguruma\enc\utf8.c
@ 286]
00000000008ce4e0 000007fee3074907
php_mbstring!expand_case_fold_string+0x7b
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\oniguruma\regcomp.c
@ 3388]
00000000008ce6a0 000007fee3076a69 php_mbstring!setup_tree+0xb7
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\oniguruma\regcomp.c
@ 3899]
00000000008ce6f0 000007fee3076f70 php_mbstring!onig_compile+0xc9
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\oniguruma\regcomp.c
@ 5336]
00000000008ce820 000007fee30a5d50 php_mbstring!onig_new+0x70
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\oniguruma\regcomp.c
@ 5546]
00000000008ce860 000007fee30a48ce
php_mbstring!php_mbregex_compile_pattern+0xd0
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\php_mbregex.c
@ 458]
00000000008ce990 000007fee30a658b
php_mbstring!_php_mb_regex_ereg_exec+0x1de
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\php_mbregex.c
@ 728]
00000000008cea20 000007fee356fbe2 php_mbstring!zif_mb_eregi+0x1b
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\ext\mbstring\php_mbregex.c
@ 783]
00000000008cea70 000007fee356eafa
php5ts!zend_do_fcall_common_helper_SPEC+0x272
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\zend\zend_vm_execute.h @
548]
00000000008ceb30 000007fee35b302e php5ts!execute_ex+0x7a
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\zend\zend_vm_execute.h @
356]
00000000008ceba0 000007fee35b2a2c php5ts!zend_execute+0x4be
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\zend\zend_vm_execute.h @
382]
00000000008cec00 000007fee35b25d9 php5ts!zend_execute_scripts+0x19c
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\zend\zend.c @ 1317]
00000000008cecc0 000000013f19248f php5ts!php_execute_script+0x209
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\main\main.c @ 2479]
00000000008cf080 000000013f1933a5 php!do_cli+0x9df
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\sapi\cli\php_cli.c @
994]
00000000008cf590 000000013f19b683 php!main+0x655
[c:\php-sdk\snap_5_5\vc11\x64\ts-windows-vc11-x64\sapi\cli\php_cli.c @
1377]
00000000008cf790 000000007700f56d php!__tmainCRTStartup+0x10f
[f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crtexe.c @ 536]
00000000008cf7c0 0000000077143281 kernel32!BaseThreadInitThunk+0xd
00000000008cf7f0 0000000000000000 ntdll!RtlUserThreadStart+0x21
--
Edit bug report at https://bugs.php.net/bug.php?id=64769&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64769&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64769&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64769&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64769&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64769&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64769&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64769&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64769&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64769&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64769&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64769&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64769&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64769&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64769&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64769&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64769&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64769&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64769&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64769&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64769&r=mysqlcfg