Bug #68820 [NEW]: AV in sprintf
From: mattficken
Operating system: Windows
PHP version: 5.6.4
Package: Unknown/Other Function
Bug Type: Bug
Bug description:AV in sprintf
Description:
------------
Stack traces of user-mode application crashes on Windows can (with user
consent) be reported to Microsoft (see Windows Error Reporting and
Watson). This bug is based on one of those reports.
Reported for 5.6.2 php-cgi NTS x86. Likely repros on newer builds.
Watson #73587777330
Actual result:
--------------
00ccd760 5289b9eb php5!_efree+0x69
[c:\php-sdk\php56\vc11\x86\php-5.6.2\zend\zend_alloc.c @ 2440]
00ccd7a8 5289b28b php5!php_verror+0x1bb
[c:\php-sdk\php56\vc11\x86\php-5.6.2\main\main.c @ 944]
00ccd7c0 52bb3907 php5!php_error_docref0+0x1b
[c:\php-sdk\php56\vc11\x86\php-5.6.2\main\main.c @ 958]
00cce83c 52bebe49 php5!php_message_handler_for_zend+0x147
[c:\php-sdk\php56\vc11\x86\php-5.6.2\main\main.c @ 1472]
00cce89c 5289c49c php5!ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER+0x33a439
[c:\php-sdk\php56\vc11\x86\php-5.6.2\zend\zend_vm_execute.h @ 8338]
00cce8ac 528a421c php5!ZEND_CONCAT_SPEC_VAR_CONST_HANDLER+0x4c
[c:\php-sdk\php56\vc11\x86\php-5.6.2\zend\zend_vm_execute.h @ 14338]
00cce8e4 528c1cc4 php5!execute_ex+0x6c
[c:\php-sdk\php56\vc11\x86\php-5.6.2\zend\zend_vm_execute.h @ 363]
00cce994 529e038f php5!zend_call_function+0x3c4
[c:\php-sdk\php56\vc11\x86\php-5.6.2\zend\zend_execute_api.c @ 832]
00cce9dc 528a4c82 php5!zif_call_user_func+0x4f
[c:\php-sdk\php56\vc11\x86\php-5.6.2\ext\standard\basic_functions.c @
4751]
00ccea30 528a4453 php5!zend_do_fcall_common_helper_SPEC+0x122
[c:\php-sdk\php56\vc11\x86\php-5.6.2\zend\zend_vm_execute.h @ 558]
00ccea68 528820ae php5!execute_ex+0x2a3
[c:\php-sdk\php56\vc11\x86\php-5.6.2\zend\zend_vm_execute.h @ 363]
00ccea8c 528834be php5!zend_execute+0x14e
[c:\php-sdk\php56\vc11\x86\php-5.6.2\zend\zend_vm_execute.h @ 388]
00cceac0 528836cc php5!zend_execute_scripts+0xde
[c:\php-sdk\php56\vc11\x86\php-5.6.2\zend\zend.c @ 1344]
00ccecec 5289d5f2 php5!php_execute_script+0x14c
[c:\php-sdk\php56\vc11\x86\php-5.6.2\main\main.c @ 2584]
00ccf574 00000000 php5!xbuf_format_converter+0x172
[c:\php-sdk\php56\vc11\x86\php-5.6.2\main\spprintf.c @ 777]
--
Edit bug report at https://bugs.php.net/bug.php?id=68820&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68820&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68820&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68820&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68820&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68820&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68820&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68820&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68820&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68820&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68820&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68820&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68820&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68820&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68820&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68820&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68820&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68820&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68820&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68820&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68820&r=mysqlcfg
Thread (3 messages)
- mattficken@php.net