Bug #53734 [NEW]: Crash with stacktrace
From:
Operating system: Windows XP SP3
PHP version: 5.2.17
Package: ODBC related
Bug Type: Bug
Bug description:Crash with stacktrace
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: &
--
Edit bug report at http://bugs.php.net/bug.php?id=53734&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53734&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53734&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53734&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53734&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53734&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53734&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53734&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53734&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53734&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53734&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53734&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53734&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53734&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53734&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53734&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53734&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53734&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53734&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53734&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53734&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53734&r=mysqlcfg
Thread (4 messages)
- james dot green at mjog dot com