From: ralph at alletha dot nl Operating system: Windows Server 2008 R2 Standard PHP version: 5.4.4 Package: MSSQL related Bug Type: Bug Bug description:The FastCGI process exited unexpectedly
Description: ------------ Our Server is: Windows Server 2008 R2 Standard Running: - IIS 7.5 - MSSQL 2008 R2 - php-5.4.4-Win32-VC9-x86 We narrowed the error down to a select query we perform. Query ex. = SELECT [ID], [NAME], [THUMBNAILPHOTO] FROM [DBNAME] When we include a text field ([THUMBNAILPHOTO]) in the select query we receive the mentioned error. If we just select [ID], [NAME] then it works fine. We've tried to change the field [THUMBNAILPHOTO] from to text to varchar(max) but no difference there. The content of the field [THUMBNAILPHOTO] is a base64_encoded string. If we put in less then 300 characters then it would also work fine. Actual result: -------------- Backtrace result using windows debug diagnostics: WARNING - DebugDiag was not able to locate debug symbols for php5ts.dll, so the information below may be incomplete. In php- cgi__PID__3648__Date__07_11_2012__Time_11_44_52AM__904__Second_Chance_Exception_ C0000005.dmp the assembly instruction at php5ts!zend_hash_quick_add_or_update+8d8 in E:\php-5.4.4-Win32-VC9- x86\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x41527441 on thread 0 Report: Report for php- cgi__PID__3788__Date__07_11_2012__Time_11_24_54AM__217__Second_Chance_Exception_ C0000005.dmp Type of Analysis Performed Crash Analysis Machine Name WWW-INTRANET-01 Operating System Windows Server 2008 R2 Service Pack 1 Number Of Processors 2 Process ID 3788 Process Image E:\php-5.4.4-Win32-VC9-x86\php-cgi.exe System Up-Time 08:05:28 Process Up-Time 00:00:02 Thread 0 - System ID 4184 Entry point php_cgi+75cd Create time 7/11/2012 11:24:52 AM Time spent in user mode 0 Days 0:0:0.796 Time spent in kernel mode 0 Days 0:0:0.140 Full Call Stack Function Arg 1 Arg 2 Arg 3 Arg 4 Source php5ts!zend_hash_quick_add_or_update+8d8 00002000 028e7ff8 028e2630 00002000 php5ts!zend_objects_free_object_storage+306 0000000a 6ba309bf 028e2630 00002000 php5ts!ts_resource_ex+14 028e2630 00002000 70c42c3b 028e2630 php5ts!erealloc+2f 028e2630 00002000 00000000 028e7bb0 php_pdo_odbc+2c3b 028e7bb0 00002000 00a6f9cc 00a6f9d8 php5ts!zend_std_get_properties+19f 00000002 00000000 00000000 00000000 php5ts!php_pcre_replace_impl+22d5 00000000 6bf312ca 00a6fa38 012f2650 php5ts!zend_parse_parameters+2b 028c5a80 0000000b 00000000 00000000 php5ts!php_strlcpy+e5 00000001 028c5a80 00000000 028e7bb0 php5ts!zval_ptr_dtor+84a 011c2c08 012f2650 6ba31dbd 00a6fe48 php5ts!php_array_merge+67f 00a6fe48 00a6fb30 00000000 011c2c08 php5ts!execute+1fd 0130d8e8 011c2c01 011c2c08 00a6fe48 php5ts!zend_execute_scripts+119 00000001 0130c739 00a6fb4c 00000000 user32!PostThreadMessageA+e1 00a6ff08 00000000 56433230 00000000 php5ts!php_execute_script+a7 00000160 00000004 00001000 011b0000 php5ts!php_load_extension+2aa 00000004 00000000 00000001 00a6fcd4 php5ts!php_stream_open_for_zend_ex+140 012f2060 00a6fe48 00000089 011c2c08 php5ts!php_stream_open_for_zend_ex+1a6 012f2060 00a6fe48 011c2c08 0130a068 php5ts!php_fopen_primary_script+1a8 00a6fe48 011c2c08 0103b4cc 00000001 php_cgi+468d 00000000 00000000 00000000 00000000 msvcr90!__getmainargs+21 7efde000 00a6ff64 77669ef2 7efde000 f:\dd\vctools\crt_bld\self_x86\crt\src\crtlib.c @ 159 kernel32!BaseThreadInitThunk+e 7efde000 7669b358 00000000 00000000 ntdll!__RtlUserThreadStart+70 010375cd 7efde000 ffffffff 776f736f ntdll!_RtlUserThreadStart+1b 010375cd 7efde000 00000000 00000000 Exception Information PHP5TS!ZEND_HASH_QUICK_ADD_OR_UPDATE+8D8WARNING - DebugDiag was not able to locate debug symbols for php5ts.dll, so the information below may be incomplete. In php- cgi__PID__3788__Date__07_11_2012__Time_11_24_54AM__217__Second_Chance_Exception_ C0000005.dmp the assembly instruction at php5ts!zend_hash_quick_add_or_update+8d8 in E:\php-5.4.4-Win32-VC9- x86\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x41527441 on thread 0 Module Information Image Name: E:\php-5.4.4-Win32-VC9-x86\php5ts.dll Symbol Type: Export Base address: 0x00905a4d Time Stamp: Wed Jun 13 22:30:20 2012 Checksum: 0x00000000 Comments: COM DLL: False Company Name: The PHP Group ISAPIExtension: False File Description: PHP Script Interpreter ISAPIFilter: False File Version: 5.4.4 Managed DLL: False Internal Name: PHP Script Interpreter VB DLL: False Legal Copyright: Copyright © 1997-2010 The PHP Group Loaded Image Name: php5ts.dll Legal Trademarks: PHP Mapped Image Name: Original filename: php5ts.dll Module name: php5ts Private Build: Single Threaded: False Product Name: PHP Module Size: 5.96 MBytes Product Version: 5.4.4 Symbol File Name: php5ts.dll Special Build: & -- Edit bug report at https://bugs.php.net/bug.php?id=62530&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62530&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62530&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62530&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62530&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62530&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62530&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62530&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62530&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62530&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62530&r=support Expected behavior: https://bugs.php.net/fix.php?id=62530&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62530&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62530&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62530&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62530&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62530&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62530&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62530&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62530&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62530&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62530&r=mysqlcfg