php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2577 Dr watson error, odbc query with no open
Submitted: 1999-10-20 09:51 UTC Modified: 2002-06-16 14:17 UTC
From: gmunger at lpiweb dot com Assigned:
Status: Not a bug Package: Reproducible Crash
PHP Version: 3.0.12 OS: nt 4.0, sp3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gmunger at lpiweb dot com
New email:
PHP Version: OS:

 

 [1999-10-20 09:51 UTC] gmunger at lpiweb dot com
// clearly this shouldn't work, the bug is that php crashes
<?php
$query = "select topicID, topicName, aimr from topics order by topicID";
$topics = odbc_exec($conn, $query) or die($query);
?>

// Access odbc driver 4.00.3711.08
// Error message:
an application error has occurred and an application error log is being generated.
php.exe
Exception: acess violation (0xc0000005),Address: 0x004376ad

Dr watson info follows:

Application exception occurred:
        App:  (pid=89)
        When: 10/20/1999 @ 8:33:43.890
        Exception number: c0000005 (access violation)

*----> System Information <----*
        Computer Name: BONNARD
        User Name: gmunger
        Number of Processors: 1
        Processor Type: x86 Family 6 Model 3 Stepping 4
        Windows Version: 4.0
        Current Build: 1381
        Current Type: Multiprocessor Free
        Registered Organization: GJM
        Registered Owner: Greg Munger

*----> Task List <----*
   0 Idle.exe
   2 System.exe
  20 smss.exe
  30 csrss.exe
  34 WINLOGON.exe
  40 SERVICES.exe
  43 lsass.exe
  67 spoolss.exe
  76 rpcss.exe
  84 msdtc.exe
 101 cfserver.exe
 104 cfexec.exe
 107 cfrdsservice.ex.exe
 119 mgasc.exe
 132 mgactrl.exe
 134 navapsvc.exe
 154 npssvc.exe
 159 PSTORES.exe
 164 mstask.exe
 170 tapisrv.exe
 185 RASMAN.exe
 208 nddeagnt.exe
 214 explorer.exe
 221 alertsvc.exe
 217 mgahook.exe
  58 LOADWC.exe
  70 HPLamp.exe
 151 hpsjbmgr.exe
 152 OPware32.exe
 202 em_exec.exe
 228 ntvdm.exe
 248 navapw32.exe
 249 MIDCOMP.exe
 198 FileBack.exe
 262 DkLite.exe
 200 Control.exe
  73 Eudora.exe
 272 OUTLOOK.exe
 279 mdm.exe
 299 emacs.exe
 282 gnuserv.exe
 288 cmd.exe
  89 php.exe
 291 drwtsn32.exe
   0 _Total.exe

(00400000 - 00400000) 
(77f60000 - 77fbc000) dll\ntdll.dbg
(776d0000 - 776d8000) dll\wsock32.dbg
(776b0000 - 776c2000) dll\ws2_32.dbg
(78000000 - 78040000) 
(77f00000 - 77f5e000) dll\kernel32.dbg
(77e70000 - 77ec4000) dll\user32.dbg
(77ed0000 - 77efc000) dll\gdi32.dbg
(77dc0000 - 77dfe000) dll\advapi32.dbg
(77e10000 - 77e62000) dll\rpcrt4.dbg
(776a0000 - 776a6000) dll\ws2help.dbg
(77b20000 - 77bd2000) dll\ole32.dbg
(65340000 - 653d2000) oleaut32.dbg
(1f490000 - 1f4c5000) dll\ODBC32.dbg
(71590000 - 71617000) COMCTL32.dbg
(77c40000 - 77d7c000) dll\shell32.dbg
(77d80000 - 77db2000) dll\comdlg32.dbg
(77a90000 - 77a9b000) dll\version.dbg
(779c0000 - 779c8000) dll\lz32.dbg
(1f5d0000 - 1f5e4000) dll\ODBCINT.dbg
(74ff0000 - 74ffc000) dll\rnr20.dbg
(10000000 - 10000000) 

State Dump for Thread Id 0x124

eax=00000000 ebx=00f519b0 ecx=00000000 edx=00000000 esi=00000000 edi=00000000
eip=004376ad esp=0012ee10 ebp=00482aa0 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000246


function: <nosymbols>
        0043769b 90               nop
        0043769c 90               nop
        0043769d 90               nop
        0043769e 90               nop
        0043769f 90               nop
        004376a0 8b4c2404         mov     ecx,[esp+0x4]          ss:023dd817=????????
        004376a4 56               push    esi
        004376a5 8b74240c         mov     esi,[esp+0xc]          ss:023dd817=????????
        004376a9 33d2             xor     edx,edx
        004376ab 8bc6             mov     eax,esi
FAULT ->004376ad f731             div     dword ptr [ecx]        ds:00000000=????????
        004376af 8b4120           mov     eax,[ecx+0x20]         ds:022aea06=????????
        004376b2 8b1490           mov     edx,[eax+edx*4]        ds:00000000=????????
        004376b5 85d2             test    edx,edx
        004376b7 7412             jz      004376cb
        004376b9 3932             cmp     [edx],esi              ds:00000000=????????
        004376bb 7507             jnz     004376c4
        004376bd 8b4204           mov     eax,[edx+0x4]          ds:022aea06=????????
        004376c0 85c0             test    eax,eax
        004376c2 740c             jz      004376d0
        004376c4 8b521c           mov     edx,[edx+0x1c]         ds:022aea06=????????
        004376c7 85d2             test    edx,edx

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
00482aa0 00000000 00000000 00000000 00436650 00000000 <nosymbols> 
00000005 00000000 00000000 00000000 00000000 00000000 !<nosymbols> 

*----> Raw Stack Dump <----*
0012ee10  00 00 00 00 34 22 43 00 - 00 00 00 00 00 00 00 00  ....4"C.........
0012ee20  2c ee 12 00 85 b3 41 00 - 00 00 00 00 00 00 00 00  ,.....A.........
0012ee30  44 ee 12 00 d8 ee 12 00 - 00 00 00 00 cb c0 41 00  D.............A.
0012ee40  a0 2a 48 00 ff ff ff ff - 20 16 f5 00 00 17 f5 00  .*H..... .......
0012ee50  d8 ee 12 00 00 00 00 00 - 30 ff 12 00 18 ef 12 00  ........0.......
0012ee60  20 16 f5 00 c2 a0 42 00 - 00 17 f5 00 a0 1b 48 00   .....B.......H.
0012ee70  a0 2a 48 00 20 2a 48 00 - 00 80 ff ff 65 01 00 00  .*H. *H.....e...
0012ee80  7b ea 42 00 d8 ee 12 00 - 1c ff 12 00 84 fb f4 00  {.B.............
0012ee90  01 00 00 00 02 00 00 00 - 10 00 00 00 a8 1a 47 00  ..............G.
0012eea0  02 00 00 00 20 00 00 00 - 70 fa f4 00 60 f3 46 00  .... ...p...`.F.
0012eeb0  60 f3 46 00 fd ac 42 00 - 01 00 01 00 17 00 00 00  `.F...B.........
0012eec0  20 19 f5 00 ff ff ff ff - 01 00 00 00 19 00 00 00   ...............
0012eed0  00 1b f5 00 06 00 00 00 - 04 00 20 00 10 00 00 00  .......... .....
0012eee0  a0 18 f5 00 09 00 00 00 - 04 00 00 00 1a 00 00 00  ................
0012eef0  a0 18 f5 00 09 00 00 00 - 01 00 00 00 1b 00 00 00  ................
0012ef00  d0 18 f5 00 09 00 00 00 - 01 00 01 00 1c 00 00 00  ................
0012ef10  00 17 f5 00 ff ff ff ff - 01 00 00 00 21 00 00 00  ............!...
0012ef20  f0 1c f5 00 05 00 00 00 - 01 00 00 00 1f 00 00 00  ................
0012ef30  10 1d f5 00 ff ff ff ff - 04 00 00 00 20 00 00 00  ............ ...
0012ef40  90 16 f5 00 05 00 00 00 - 04 00 00 00 b8 fd 12 00  ................



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 14:17 UTC] sander@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jul 12 14:01:25 2020 UTC