php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53734 Crash with stacktrace
Submitted: 2011-01-13 12:34 UTC Modified: 2013-02-18 00:34 UTC
From: james dot green at mjog dot com Assigned:
Status: No Feedback Package: ODBC related
PHP Version: 5.2.17 OS: Windows XP SP3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-01-13 12:34 UTC] james dot green at mjog dot com
Description:
------------
We have not yet identified what triggers this but one or more of our periodic jobs seems to crash when using sqlite as the data store.


Expected result:
----------------
If there's a problem an error should be handled.

Actual result:
--------------
Type of Analysis Performed   Crash Analysis 
Machine Name    
Operating System   Windows XP Service Pack 3 
Number Of Processors    
Process ID   1472 
Process Image   C:\Program Files\LightTPD\php\php-cgi.exe 
System Up-Time   3 day(s) 04:51:50 
Process Up-Time   00:00:08 


Thread 0 - System ID 2152
Entry point   php_cgi!mainCRTStartup 
Create time   13/01/2011 10:53:34 
Time spent in user mode   0 Days 0:0:0.171 
Time spent in kernel mode   0 Days 0:0:0.78 






Function     Arg 1     Arg 2     Arg 3   Source 
msvcrt!strlen+20     fffffffd     00d33d18     0000008d    
sqlite3odbc!SQLExecDirectW+7c     014fa8e0     00d33d18     fffffffd    
odbc32!SQLSetStmtAttrW+47c     00d33d18     fffffffd     00000001    
odbc32!SQLExecDirectA+77     74350000     00fc6eb8     fffffffd    
php5ts!zif_odbc_exec+29b     00f1297c     00fbf3c8     00000000   ext\odbc\php_odbc.c @ 1355 
php5ts!zend_do_fcall_common_helper_SPEC+7ab     00c0d928     003a3b00     00f3d920   Zend\zend_vm_execute.h @ 200 + 3d 
php5ts!ZEND_DO_FCALL_SPEC_CONST_HANDLER+e5     00000000     003a3b08     00f4388c   Zend\zend_vm_execute.h @ 1740 + e 
php5ts!execute+1c5     00f38a58     003a3b08     003a3b08   Zend\zend_vm_execute.h @ 92 + c 
php5ts!zend_do_fcall_common_helper_SPEC+8ca     00c0d9d0     003a3b01     1001c6f5   Zend\zend_vm_execute.h @ 235 
php5ts!ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER+15     00c0d9d0     003a3b08     00f1edac   Zend\zend_vm_execute.h @ 322 + 11 
php5ts!execute+1c5     00f21b78     003a3b08     003a3b08   Zend\zend_vm_execute.h @ 92 + c 
php5ts!zend_do_fcall_common_helper_SPEC+8ca     00c0da78     003a3b01     1001c6f5   Zend\zend_vm_execute.h @ 235 
php5ts!ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER+15     00c0da78     003a3b08     00c0db90   Zend\zend_vm_execute.h @ 322 + 11 
php5ts!execute+1c5     014ca9c8     003a3b08     00c0db34   Zend\zend_vm_execute.h @ 92 + c 
php5ts!zend_do_fcall_common_helper_SPEC+8ca     00c0db34     003a3b01     00f120b7   Zend\zend_vm_execute.h @ 235 
php5ts!ZEND_DO_FCALL_SPEC_CONST_HANDLER+e5     00000000     003a3b08     003a3b08   Zend\zend_vm_execute.h @ 1740 + e 
php5ts!execute+1c5     00f1bb18     003a3b08     00000000   Zend\zend_vm_execute.h @ 92 + c 
php5ts!zend_execute_scripts+107     00000008     003a3b08     00000000   Zend\zend.c @ 1135 
php5ts!php_execute_script+21d     00c0fedc     003a3b08     00000010   main\main.c @ 2036 + 12 
php_cgi!main+dcd     00000002     003a3998     003a28a8   sapi\cgi\cgi_main.c @ 1999 + b 
php_cgi!mainCRTStartup+e3     00000010     00000000     7ffde000    
kernel32!RegisterWaitForInputIdle+49     00406326     00000000     00000000    




MSVCRT!STRLEN+20WARNING - DebugDiag was not able to locate debug symbols for msvcrt.dll, so the information below may be incomplete.



In php-cgi__PID__1472__Date__01_13_2011__Time_10_53_42AM__124__Second_Chance_Exception_C0000005.dmp the assembly instruction at msvcrt!strlen+20 in C:\WINDOWS\system32\msvcrt.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to read from memory location 0x01559000 on thread 0

Module Information 
Image Name: C:\WINDOWS\system32\msvcrt.dll   Symbol Type:  Export 
Base address: 0x77c10000   Time Stamp:  Mon Apr 14 01:12:56 2008  
Checksum: 0x00057341   Comments:   
COM DLL: False   Company Name:  Microsoft Corporation 
ISAPIExtension: False   File Description:  Windows NT CRT DLL 
ISAPIFilter: False   File Version:  7.0.2600.5512 (xpsp.080413-2111) 
Managed DLL: False   Internal Name:  msvcrt.dll 
VB DLL: False   Legal Copyright:  © Microsoft Corporation. All rights reserved. 
Loaded Image Name:  msvcrt.dll   Legal Trademarks:   
Mapped Image Name:     Original filename:  msvcrt.dll 
Module name:  msvcrt   Private Build:   
Single Threaded:  False   Product Name:  Microsoft® Windows® Operating System 
Module Size:  352.00 KBytes   Product Version:  7.0.2600.5512 
Symbol File Name:  msvcrt.dll   Special Build:  & 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-15 19:37 UTC] felipe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2011-11-15 19:37 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 [2013-02-18 11:45 UTC] james dot green at mjog dot com
To confirm, this was traced to the ODBC drivers written for SQLite at the time. 
Was able to upgrade to newer drivers - our support team report that they do not 
recall the last time they saw a similar issue, so feel free to close this.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Oct 20 21:01:23 2020 UTC