Edit report at https://bugs.php.net/bug.php?id=65125&edit=1
ID: 65125 User updated by: lavesh626 at gmail dot com Reported by: lavesh626 at gmail dot com Summary: On running PHP scipt using PDO server for db execution, it crashes apache -Status: Feedback +Status: Open Type: Bug Package: Apache related Operating System: Windows server 2008 R2 PHP Version: 5.4Git-2013-06-25 (Git) Block user comment: N Private report: N New Comment: Find below the Crash report: Report for httpd__PID__9112__Date__06_26_2013__Time_08_36_44AM__544__First chance exception 0XC0000008.dmp Type of Analysis Performed Crash Analysis Machine Name AMAZONA-F421F23 Operating System Windows Server 2008 R2 Service Pack 1 Number Of Processors 1 Process ID 9112 Process Image c:\xampp\apache\bin\httpd.exe System Up-Time 7 day(s) 00:04:03 Process Up-Time 03:34:35 Thread 0 - System ID 5092 Entry point httpd+2681 Create time 6/26/2013 5:02:22 AM Time spent in user mode 0 Days 0:0:6.474 Time spent in kernel mode 0 Days 0:0:0.998 Full Call Stack Function Arg 1 Arg 2 Arg 3 Arg 4 Source ntdll!ZwClose+12 00000188 00000188 0013fd00 74db1438 KERNELBASE!CloseHandle+2d 00000188 000afe67 0013fd18 74640127 kernel32!CloseHandleImplementation+3f 00000188 01f8bde0 01fea0f0 01f677a8 libapr_1!apr_crypto_sha256_new+77 01fea0f0 01f8bde0 01fe1470 0013fd3c libapr_1!apr_shm_detach+e 01fea0f0 01f894e0 0013fd54 72e8f4c7 mod_socache_shmcb+1709 01fe1470 01f8bde0 01f677a8 01f8bde0 mod_ssl+f4c7 01f8bde0 01f677b8 0013fd7c 74638663 mod_ssl+558d 01f8bde0 74638b37 74638b00 74667f80 libapr_1!apr_pool_cleanup_run+43 01f677a8 00885370 00000001 00000000 httpd+20e4 00000001 008313a8 00831b68 a0d205ec httpd+2560 7efde000 0013fe54 775a9ef2 7efde000 kernel32!BaseThreadInitThunk+e 7efde000 543f6163 00000000 00000000 ntdll!__RtlUserThreadStart+70 00882681 7efde000 ffffffff 7763736f ntdll!_RtlUserThreadStart+1b 00882681 7efde000 00000000 00000000 Exception Information In httpd__PID__9112__Date__06_26_2013__Time_08_36_44AM__544__First chance exception 0XC0000008.dmp the assembly instruction at 0x773e12f7 which does not correspond to any known native module in the process has caused an unknown exception (0xc0000008) on thread 0 Report for httpd__PID__9112__Date__06_26_2013__Time_08_36_58AM__410__Second_Chance_Exceptio n_C0000008.dmp Report for httpd__PID__9112__Date__06_26_2013__Time_08_36_58AM__410__Second_Chance_Exceptio n_C0000008.dmp Type of Analysis Performed Crash Analysis Machine Name AMAZONA-F421F23 Operating System Windows Server 2008 R2 Service Pack 1 Number Of Processors 1 Process ID 9112 Process Image c:\xampp\apache\bin\httpd.exe System Up-Time 7 day(s) 00:04:17 Process Up-Time 03:34:49 Thread 0 - System ID 5092 Entry point httpd+2681 Create time 6/26/2013 5:02:22 AM Time spent in user mode 0 Days 0:0:6.474 Time spent in kernel mode 0 Days 0:0:0.998 Full Call Stack Function Arg 1 Arg 2 Arg 3 Arg 4 Source ntdll!ZwClose+12 00000188 00000188 0013fd00 74db1438 KERNELBASE!CloseHandle+2d 00000188 000afe67 0013fd18 74640127 kernel32!CloseHandleImplementation+3f 00000188 01f8bde0 01fea0f0 01f677a8 libapr_1!apr_crypto_sha256_new+77 01fea0f0 01f8bde0 01fe1470 0013fd3c libapr_1!apr_shm_detach+e 01fea0f0 01f894e0 0013fd54 72e8f4c7 mod_socache_shmcb+1709 01fe1470 01f8bde0 01f677a8 01f8bde0 mod_ssl+f4c7 01f8bde0 01f677b8 0013fd7c 74638663 mod_ssl+558d 01f8bde0 74638b37 74638b00 74667f80 libapr_1!apr_pool_cleanup_run+43 01f677a8 00885370 00000001 00000000 httpd+20e4 00000001 008313a8 00831b68 a0d205ec httpd+2560 7efde000 0013fe54 775a9ef2 7efde000 kernel32!BaseThreadInitThunk+e 7efde000 543f6163 00000000 00000000 ntdll!__RtlUserThreadStart+70 00882681 7efde000 ffffffff 7763736f ntdll!_RtlUserThreadStart+1b 00882681 7efde000 00000000 00000000 Exception Information In httpd__PID__9112__Date__06_26_2013__Time_08_36_58AM__410__Second_Chance_Exceptio n_C0000008.dmp the assembly instruction at 0x773e12f7 which does not correspond to any known native module in the process has caused an unknown exception (0xc0000008) on thread 0 Report for httpd__PID__6184__Date__06_26_2013__Time_08_36_30AM__480__Second_Chance_Exceptio n_C0000005.dmp Report for httpd__PID__6184__Date__06_26_2013__Time_08_36_30AM__480__Second_Chance_Exceptio n_C0000005.dmp Type of Analysis Performed Crash Analysis Machine Name AMAZONA-F421F23 Operating System Windows Server 2008 R2 Service Pack 1 Number Of Processors 1 Process ID 6184 Process Image C:\xampp\apache\bin\httpd.exe System Up-Time 7 day(s) 00:03:49 Process Up-Time 00:10:08 Thread 150 - System ID 800 Entry point libhttpd!ap_regkey_value_remove+1060 Create time 6/26/2013 8:26:36 AM Time spent in user mode 0 Days 0:0:0.0 Time spent in kernel mode 0 Days 0:0:0.62 Full Call Stack Function Arg 1 Arg 2 Arg 3 Arg 4 Source php5ts!efree+87 08e3eb8c da6ca7a3 08e3f430 093beda8 php_pdo_sqlsrv_54_ts+6b23 00000000 00000000 00000000 00000000 Exception Information PHP5TS!EFREE+87WARNING - DebugDiag was not able to locate debug symbols for php5ts.dll, so the information below may be incomplete. In httpd__PID__6184__Date__06_26_2013__Time_08_36_30AM__480__Second_Chance_Exceptio n_C0000005.dmp the assembly instruction at php5ts!efree+87 in C:\xampp\php\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x0913ebb4 on thread 150 Module Information Image Name: C:\xampp\php\php5ts.dll Symbol Type: Export Base address: 0x00905a4d Time Stamp: Wed Sep 12 23:04:24 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.7 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.93 MBytes Product Version: 5.4.7 Symbol File Name: php5ts.dll Special Build: & Report for httpd__PID__6184__Date__06_26_2013__Time_08_36_12AM__817__First chance exception 0XC0000005.dmp Report for httpd__PID__6184__Date__06_26_2013__Time_08_36_12AM__817__First chance exception 0XC0000005.dmp Type of Analysis Performed Crash Analysis Machine Name AMAZONA-F421F23 Operating System Windows Server 2008 R2 Service Pack 1 Number Of Processors 1 Process ID 6184 Process Image C:\xampp\apache\bin\httpd.exe System Up-Time 7 day(s) 00:03:35 Process Up-Time 00:09:52 Thread 150 - System ID 800 Entry point libhttpd!ap_regkey_value_remove+1060 Create time 6/26/2013 8:26:36 AM Time spent in user mode 0 Days 0:0:0.0 Time spent in kernel mode 0 Days 0:0:0.62 Full Call Stack Function Arg 1 Arg 2 Arg 3 Arg 4 Source php5ts!efree+87 08e3eb8c da6ca7a3 08e3f430 093beda8 php_pdo_sqlsrv_54_ts+6b23 00000000 00000000 00000000 00000000 Exception Information PHP5TS!EFREE+87WARNING - DebugDiag was not able to locate debug symbols for php5ts.dll, so the information below may be incomplete. In httpd__PID__6184__Date__06_26_2013__Time_08_36_12AM__817__First chance exception 0XC0000005.dmp the assembly instruction at php5ts!efree+87 in C:\xampp\php\php5ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0x0913ebb4 on thread 150 Module Information Image Name: C:\xampp\php\php5ts.dll Symbol Type: Export Base address: 0x00905a4d Time Stamp: Wed Sep 12 23:04:24 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.7 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.93 MBytes Product Version: 5.4.7 Symbol File Name: php5ts.dll Special Build: & Previous Comments: ------------------------------------------------------------------------ [2013-06-25 15:58:35] a...@php.net Please retry using apache from http://www.apachelounge.com/ and an official PHP build. If you get the same crash, please extract the reproduce code and follow the instructions on this page to produce a backtrace https://bugs.php.net/bugs- generating-backtrace-win32.php . ------------------------------------------------------------------------ [2013-06-25 15:49:50] larue...@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2013-06-25 15:11:37] lavesh626 at gmail dot com Description: ------------ I am running a php script which executes stored procedures using pdo driver for ms sql server 2008. Sometimes the script executes perfectly while sometimes it crashes the server. Velow is the eroor as in event view Faulting application name: httpd.exe, version: 2.4.3.0, time stamp: 0x502f70a3 Faulting module name: php5ts.dll, version: 5.4.7.0, time stamp: 0x505114f8 Exception code: 0xc0000005 Fault offset: 0x0005cfc7 Faulting process id: 0x117c Faulting application start time: 0x01ce71ad20bc08f7 Faulting application path: C:\xampp\apache\bin\httpd.exe Faulting module path: C:\xampp\php\php5ts.dll Report Id: 8c31acd1-dda0-11e2-9540-8b5a486c809c ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65125&edit=1