RE: [PHP] Exception number: c0000005 (access violation

2004-01-12 Thread Jay Blanchard
[snip]
I have 4.3.5-dev (Build Dec-22-2003) installed on a W2K Dell Inspiron
7500
and I am getting an error which I don't get with 4.1.1 and 4.3.4. Would
like
to learn how to debug things like that. Here is a dump of Dr. Watson:
[/snip]

You will probably want to send this to the PHP developers list. Usually
a memory access problem indicatas that two processes are attempting to
use the same memory location.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Exception number: c0000005 (access violation

2004-01-11 Thread Richard Davey
Hello Gunter,

Saturday, January 10, 2004, 10:06:03 PM, you wrote:

GS I have 4.3.5-dev (Build Dec-22-2003) installed on a W2K Dell Inspiron 7500
GS and I am getting an error which I don't get with 4.1.1 and 4.3.4. Would like
GS to learn how to debug things like that. Here is a dump of Dr. Watson:

GS Somebody else out there who had this problem? What's the best way to debug
GS something like that? Any pointers are appreciated.

Yes, I have had this problem also, but with 4.3.2 on a WinXP Pro box.
It took me ages to isolate the error and in the end it turned out to
be something like a combination of htmlspecialchars() and urldecode() on
a string. Removing the command, which was absolutely correct from a
syntax point of view, stopped the problem happening.

On my live FreeBSD server it never happened, only on the test box.

-- 
Best regards,
 Richardmailto:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Exception number: c0000005 (access violation

2004-01-10 Thread Gunter Sammet
I have 4.3.5-dev (Build Dec-22-2003) installed on a W2K Dell Inspiron 7500
and I am getting an error which I don't get with 4.1.1 and 4.3.4. Would like
to learn how to debug things like that. Here is a dump of Dr. Watson:

Application exception occurred:
App:  (pid=2228)
When: 1/10/2004 @ 14:51:33.711
Exception number: c005 (access violation)

* System Information *
Computer Name: DELL
User Name: Administrator
Number of Processors: 1
Processor Type: x86 Family 6 Model 8 Stepping 3
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 4
Current Type: Uniprocessor Free
Registered Organization: SammySolutions.com ltd.
Registered Owner: Gunter Sammet

* Task List *
   0 Idle.exe
   8 System.exe
 148 smss.exe
 172 csrss.exe
 168 winlogon.exe
 220 services.exe
 232 lsass.exe
 384 svchost.exe
 436 svchost.exe
 488 spoolsv.exe
 512 ati2plab.exe
 536 ibserver.exe
 580 APACHE.exe
 708 regsvc.exe
 728 MSTask.exe
 732 APACHE.exe
 968 snmp.exe
1028 stisvc.exe
1060 vsmon.exe
1112 WinMgmt.exe
1136 svchost.exe
1164 svchost.exe
 120 Explorer.exe
1460 jusched.exe
1448 interserver.exe
1440 Atiptaxx.exe
1420 EM_EXEC.exe
1392 zapro.exe
 640 internat.exe
1512 AirPlus.exe
1520 trillian.exe
1760 mysqld-nt.exe
1796 PostCastServer..exe
1820 gcdnssrv.exe
1860 OUTLOOK.exe
 996 IEXPLORE.exe
1916 IEXPLORE.exe
1980 IEXPLORE.exe
2020 IEXPLORE.exe
2060 IEXPLORE.exe
2100 IEXPLORE.exe
2184 PHPEdit.exe
2200 DBGLIS~1.exe
2168 IEXPLORE.exe
2280 IEXPLORE.exe
2192 IEXPLORE.exe
1084 APACHE.exe
1020 APACHE.exe
2228 php.exe
1532 drwtsn32.exe
   0 _Total.exe

(0040 - 0040D000)
(77F8 - 77FFB000)
(1000 - 1015)
(7C4E - 7C599000)
(77E1 - 77E75000)
(77F4 - 77F7C000)
(7505 - 75058000)
(7503 - 75044000)
(7800 - 78045000)
(7C2D - 7C332000)
(77D3 - 77D9E000)
(7502 - 75028000)
(77A5 - 77B3C000)
(779B - 77A4B000)
(1F7C - 1F7F4000)
(76B3 - 76B6E000)
(6318 - 631E5000)
(7171 - 71794000)
(782F - 78538000)
(00CC - 00CD6000)
(6E42 - 6E426000)
(75E6 - 75E7A000)
(782C - 782CC000)
(7798 - 779A4000)
(7734 - 77353000)
(7752 - 77525000)
(7732 - 77337000)
(7515 - 7515F000)
(7517 - 751BF000)
(7C34 - 7C34F000)
(751C - 751C6000)
(7795 - 7797A000)
(773B - 773DF000)
(7738 - 773A3000)
(7783 - 7783E000)
(7788 - 7790E000)
(7C0F - 7C152000)
(774E - 77513000)
(774C - 774D1000)
(7753 - 77552000)
(7736 - 77379000)
(777E - 777E8000)
(777F - 777F5000)
(74FD - 74FEE000)
(7501 - 75017000)

State Dump for Thread Id 0x738

eax=0001 ebx=0005 ecx=0098 edx=00794010 esi=0012fd18
edi=00ce
eip=77fcc2e2 esp=0012fb0c ebp=0012fca4 iopl=0 nv up ei pl zr na po
nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=
efl=0246


function: RtlAllocateHeap
77fcc2ca 51   pushecx
77fcc2cb 51   pushecx
77fcc2cc 81ec7401 sub esp,0x174
77fcc2d2 53   pushebx
77fcc2d3 56   pushesi
77fcc2d4 57   pushedi
77fcc2d5 8b7d08   mov edi,[ebp+0x8]
ss:00bd9b8a=
77fcc2d8 897da4   mov [ebp+0xa4],edi
ss:00bd9b8a=
77fcc2db 8065b800 and byte ptr [ebp+0xb8],0x0
ss:00bd9b8a=??
77fcc2df 8b450c   mov eax,[ebp+0xc]
ss:00bd9b8a=
FAULT -77fcc2e2 0b4710   or  eax,[edi+0x10]
ds:01789ee6=
77fcc2e5 89450c   mov [ebp+0xc],eax
ss:00bd9b8a=
77fcc2e8 a9600f037d   testeax,0x7d030f60
77fcc2ed 0f856aee jne _eFSQRT+0xe93 (77fcb15d)
77fcc2f3 817d100080
ss:00bd9b8a=
  cmp dword ptr [ebp+0x10],0x8000
77fcc2fa 0f835dee jnb _eFSQRT+0xe93 (77fcb15d)
77fcc300 837d1000 cmp   dword ptr [ebp+0x10],0x0
ss:00bd9b8a=
77fcc304 0f8424f8 je  RtlSizeHeap+0x228 (77fcbb2e)
77fcc30a 8b4510   mov eax,[ebp+0x10]
ss:00bd9b8a=
77fcc30d 83c00f   add eax,0xf
77fcc310 24f8 and al,0xf8
77fcc312 8945e0   mov [ebp+0xe0],eax
ss:00bd9b8a=

* Stack Back Trace *

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0012FCA4 100C03A2 00CE 0001 0098 0080 ntdll!RtlAllocateHeap
0081      !emalloc

* Raw Stack Dump *
0012fb0c  b8 3e 79 00 18 fd 12 00 - 05 00 00 00 80 7d 13 00
.y..}..
0012fb1c  00 00 00 00 c8 fb 12 00 - d7 c8 fc 77 00 00 13 00
...w
0012fb2c  c0 c9 fc 77 08 06 13 00 - 25 c9 fc 77 8c 7d 13 00
...w%..w.}..
0012fb3c  e8 b6 b2 77 00 00 00 00 - ce 47 f8 77 28 b3 b2 77
...w.G.w(..w

Re: [PHP] Exception number: c0000005 (access violation

2004-01-10 Thread Peter Vertes




Usually under Windows when you get a Memory Access Violation its a good indication that your power supply or RAM is on its way out. Is this happening to all apps or only PHP ?
 Unfortunately I don't know how to debug using a Dr. Watson dump but I do know of a free memory testing utility called MemTest86 (http://www.memtest86.com/). Sorry if I wasn't too much of a help.

-Pete

On Sat, 2004-01-10 at 17:06, Gunter Sammet wrote:

I have 4.3.5-dev (Build Dec-22-2003) installed on a W2K Dell Inspiron 7500
and I am getting an error which I don't get with 4.1.1 and 4.3.4. Would like
to learn how to debug things like that. Here is a dump of Dr. Watson:

Application exception occurred:
App:  (pid=2228)
When: 1/10/2004 @ 14:51:33.711
Exception number: c005 (access violation)

* System Information *
Computer Name: DELL
User Name: Administrator
Number of Processors: 1
Processor Type: x86 Family 6 Model 8 Stepping 3
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 4
Current Type: Uniprocessor Free
Registered Organization: SammySolutions.com ltd.
Registered Owner: Gunter Sammet

* Task List *
   0 Idle.exe
   8 System.exe
 148 smss.exe
 172 csrss.exe
 168 winlogon.exe
 220 services.exe
 232 lsass.exe
 384 svchost.exe
 436 svchost.exe
 488 spoolsv.exe
 512 ati2plab.exe
 536 ibserver.exe
 580 APACHE.exe
 708 regsvc.exe
 728 MSTask.exe
 732 APACHE.exe
 968 snmp.exe
1028 stisvc.exe
1060 vsmon.exe
1112 WinMgmt.exe
1136 svchost.exe
1164 svchost.exe
 120 Explorer.exe
1460 jusched.exe
1448 interserver.exe
1440 Atiptaxx.exe
1420 EM_EXEC.exe
1392 zapro.exe
 640 internat.exe
1512 AirPlus.exe
1520 trillian.exe
1760 mysqld-nt.exe
1796 PostCastServer..exe
1820 gcdnssrv.exe
1860 OUTLOOK.exe
 996 IEXPLORE.exe
1916 IEXPLORE.exe
1980 IEXPLORE.exe
2020 IEXPLORE.exe
2060 IEXPLORE.exe
2100 IEXPLORE.exe
2184 PHPEdit.exe
2200 DBGLIS~1.exe
2168 IEXPLORE.exe
2280 IEXPLORE.exe
2192 IEXPLORE.exe
1084 APACHE.exe
1020 APACHE.exe
2228 php.exe
1532 drwtsn32.exe
   0 _Total.exe

(0040 - 0040D000)
(77F8 - 77FFB000)
(1000 - 1015)
(7C4E - 7C599000)
(77E1 - 77E75000)
(77F4 - 77F7C000)
(7505 - 75058000)
(7503 - 75044000)
(7800 - 78045000)
(7C2D - 7C332000)
(77D3 - 77D9E000)
(7502 - 75028000)
(77A5 - 77B3C000)
(779B - 77A4B000)
(1F7C - 1F7F4000)
(76B3 - 76B6E000)
(6318 - 631E5000)
(7171 - 71794000)
(782F - 78538000)
(00CC - 00CD6000)
(6E42 - 6E426000)
(75E6 - 75E7A000)
(782C - 782CC000)
(7798 - 779A4000)
(7734 - 77353000)
(7752 - 77525000)
(7732 - 77337000)
(7515 - 7515F000)
(7517 - 751BF000)
(7C34 - 7C34F000)
(751C - 751C6000)
(7795 - 7797A000)
(773B - 773DF000)
(7738 - 773A3000)
(7783 - 7783E000)
(7788 - 7790E000)
(7C0F - 7C152000)
(774E - 77513000)
(774C - 774D1000)
(7753 - 77552000)
(7736 - 77379000)
(777E - 777E8000)
(777F - 777F5000)
(74FD - 74FEE000)
(7501 - 75017000)

State Dump for Thread Id 0x738

eax=0001 ebx=0005 ecx=0098 edx=00794010 esi=0012fd18
edi=00ce
eip=77fcc2e2 esp=0012fb0c ebp=0012fca4 iopl=0 nv up ei pl zr na po
nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=
efl=0246


function: RtlAllocateHeap
77fcc2ca 51   pushecx
77fcc2cb 51   pushecx
77fcc2cc 81ec7401 sub esp,0x174
77fcc2d2 53   pushebx
77fcc2d3 56   pushesi
77fcc2d4 57   pushedi
77fcc2d5 8b7d08   mov edi,[ebp+0x8]
ss:00bd9b8a=
77fcc2d8 897da4   mov [ebp+0xa4],edi
ss:00bd9b8a=
77fcc2db 8065b800 and byte ptr [ebp+0xb8],0x0
ss:00bd9b8a=??
77fcc2df 8b450c   mov eax,[ebp+0xc]
ss:00bd9b8a=
FAULT -77fcc2e2 0b4710   or  eax,[edi+0x10]
ds:01789ee6=
77fcc2e5 89450c   mov [ebp+0xc],eax
ss:00bd9b8a=
77fcc2e8 a9600f037d   testeax,0x7d030f60
77fcc2ed 0f856aee jne _eFSQRT+0xe93 (77fcb15d)
77fcc2f3 817d100080
ss:00bd9b8a=
  cmp dword ptr [ebp+0x10],0x8000
77fcc2fa 0f835dee jnb _eFSQRT+0xe93 (77fcb15d)
77fcc300 837d1000 cmp   dword ptr [ebp+0x10],0x0
ss:00bd9b8a=
77fcc304 0f8424f8 je  RtlSizeHeap+0x228 (77fcbb2e)
77fcc30a 8b4510   mov eax,[ebp+0x10]
ss:00bd9b8a=
77fcc30d 83c00f   add eax,0xf
77fcc310 24f8 and al,0xf8
77fcc312 8945e0   mov [ebp+0xe0],eax
ss:00bd9b8a=

* Stack Back Trace *

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0012FCA4 100C03A2 00CE 0001