G
gregory_may
I have an application I created called "JpegViewer.exe". It simply loads a
Jpeg file and displays in on the screen. It works great, in my lab.
When I am using it at a customer site, things change. Occasionally, it
blows up with an Application Exception. It seems to only die at the
customer site
This can only be duplicated on the machines at a client site. I cannot
reproduce this "Bug" in my lab.
I am 100% confident there is no programatic bug the the JpegViewer.exe
program, because of the testing I have done. Again it works great in my lab
(it Works for me!).
I think there is something funny with the customer environment, but have
nothing solid to try. Any suggestions/help is greatly appreciated!
(This is how I am calling "JpegViewer.exe", no errors are caught by the
try,catch block)
Public Shared Sub LaunchApplication(ByVal Command As String)
Try
Shell(Command, AppWinStyle.NormalFocus)
Catch ex As Exception
UpdateStatus("LaunchApplication - ERROR - Could not launch
task.")
End Try
End Sub
(This is what shows up in the event log at the client site - again, only
sometimes - but when it does, my Jpegviewer program dies a horable death
(Jpegviewer doesnt even seem to actually do anything).)
Application exception occurred:
App: (pid=668)
When: 1/7/2004 @ 15:26:43.187
Exception number: c0000005 (access violation)
*----> System Information <----*
Computer Name: GBHS-513-08
User Name: SYSTEM
Number of Processors: 1
Processor Type: x86 Family 15 Model 2 Stepping 9
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 4
Current Type: Uniprocessor Free
Registered Organization: RJUHSD
Registered Owner: RJUHSD
*----> Task List <----*
0 Idle.exe
8 System.exe
168 SMSS.exe
192 CSRSS.exe
188 WINLOGON.exe
240 SERVICES.exe
252 LSASS.exe
428 svchost.exe
456 spoolsv.exe
536 ACLIENT.exe
560 AeXNSAgent.exe
572 ccsrvc.exe
596 DefWatch.exe
604 SHELLKER.exe
628 svchost.exe
656 Rtvscan.exe
708 PlatinumClientS.exe
940 regsvc.exe
964 mstask.exe
1036 WinMgmt.exe
1040 winvnc.exe
1060 WSFINALACLSERVI.exe
1080 svchost.exe
512 explorer.exe
1532 CLIENT.exe
1588 hkcmd.exe
1596 CreateCD50.exe
1640 Directcd.exe
1648 AClntUsr.exe
1540 VPTray.exe
668 JpegViewer.exe
1524 DRWTSN32.exe
0 _Total.exe
(11000000 - 11008000)
(77F80000 - 77FFB000)
(79170000 - 79196000)
(7C570000 - 7C623000)
(7C2D0000 - 7C332000)
(77D30000 - 77D9E000)
(70A70000 - 70AD5000)
(78000000 - 78045000)
(77F40000 - 77F79000)
(77E10000 - 77E6F000)
(10000000 - 10011000)
(791B0000 - 79412000)
(7C340000 - 7C396000)
(79040000 - 79085000)
(782F0000 - 78538000)
(71710000 - 71794000)
State Dump for Thread Id 0x5a0
eax=00000000 ebx=00000000 ecx=7ffde000 edx=793dd0b8 esi=00000000
edi=00000000
eip=791cfea1 esp=0012fa50 ebp=0012fa64 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: CoInitializeCor
791cfe80 5e pop esi
791cfe81 7408 jz CoInitializeCor+0xb6eb (791d9f8b)
791cfe83 a1cccb3d79
ds:793dcbcc=00000000
mov eax,[CorCreateMiniDump+0x7f709
(793dcbcc)]
791cfe88 ff4048 inc dword ptr [eax+0x48]
ds:00a89ee6=????????
791cfe8b a1cccb3d79
ds:793dcbcc=00000000
mov eax,[CorCreateMiniDump+0x7f709
(793dcbcc)]
791cfe90 ff4074 inc dword ptr [eax+0x74]
ds:00a89ee6=????????
791cfe93 e86341feff call Ordinal71+0x3ffb (791b3ffb)
791cfe98 5d pop ebp
791cfe99 c20400 ret 0x4
791cfe9c a1cccb3d79
ds:793dcbcc=00000000
mov eax,[CorCreateMiniDump+0x7f709
(793dcbcc)]
FAULT ->791cfea1 397850 cmp [eax+0x50],edi
ds:00a89ee6=????????
791cfea4 53 push ebx
791cfea5 8b1d10121b79
ds:791b1210=7c59b9ad
mov ebx,[Ordinal71+0x1210 (791b1210)]
791cfeab 56 push esi
791cfeac 0f856e6f0700 jne DllGetClassObjectInternal+0x100cd
(79246e20)
791cfeb2 68b0010000 push 0x1b0
791cfeb7 e88af5ffff call CoInitializeCor+0xba6 (791cf446)
791cfebc 59 pop ecx
791cfebd 8945f0 mov [ebp+0xf0],eax
ss:00bb994a=????????
791cfec0 3bc7 cmp eax,edi
791cfec2 897dfc mov [ebp+0xfc],edi
ss:00bb994a=????????
791cfec5 0f8496000000 je CoInitializeCor+0x16c1 (791cff61)
*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0012FA64 791C7EBF 0012FA80 7928841E 00000000 793E6518 !CoInitializeCor
0012FA6C 7928841E 00000000 793E6518 793E6518 0012FAA8 !CoInitializeEE
0012FA80 7928C344 00000800 7C579109 00000000 80004005
!DllGetClassObjectInternal
0012FAA8 7928C464 0012FAB4 00000000 0012FAF4 79288F16 !Ordinal18
0012FAB8 79288F16 0000171A 00139D88 00000400 00000001 !Ordinal18
0012FAF4 792457D2 00000000 0000171B 0000171A 00000010 !Ordinal19
0012FF38 791CE9CB 00000000 793DD0B8 7FFDF000 7FFDE000
!DllGetClassObjectInternal
0012FF60 791CED2D 00000002 00000000 793DD0B8 7FFDF000 !CoInitializeCor
0012FF90 791B16D2 00000002 00136FF8 0012FFC0 791C6EDF !CoInitializeCor
0012FFA0 791C6EDF 00000002 00000000 00000000 7917D0B8 !Ordinal71
0012FFC0 7C5987E7 00000000 00000000 7FFDF000 C0000005 !CorExeMain
0012FFF0 00000000 11003F6E 00000000 000000C8 00000100
kernel32!ProcessIdToSessionId
*----> Raw Stack Dump <----*
0012fa50 00 08 00 00 00 e0 fd 7f - 2c ff 12 00 40 8e 3c 79
.........,...@.<y
0012fa60 ff ff ff ff 6c fa 12 00 - bf 7e 1c 79 80 fa 12 00
.....l....~.y....
0012fa70 1e 84 28 79 00 00 00 00 - 18 65 3e 79 18 65 3e 79
...(y.....e>y.e>y
0012fa80 a8 fa 12 00 44 c3 28 79 - 00 08 00 00 09 91 57 7c
.....D.(y......W|
0012fa90 00 00 00 00 05 40 00 80 - 00 00 00 00 00 00 00 00
......@..........
0012faa0 00 e0 fd 7f 00 00 00 00 - b8 fa 12 00 64 c4 28 79
.............d.(y
0012fab0 b4 fa 12 00 00 00 00 00 - f4 fa 12 00 16 8f 28 79
...............(y
0012fac0 1a 17 00 00 88 9d 13 00 - 00 04 00 00 01 00 00 00
.................
0012fad0 1c e1 27 79 20 04 35 7c - ff ff ff ff 02 00 00 00 ..'y
..5|........
0012fae0 88 9d 13 00 f8 93 13 00 - 81 5d 1c 79 00 00 1b 79
..........].y...y
0012faf0 28 fd 12 00 38 ff 12 00 - d2 57 24 79 00 00 00 00
(...8....W$y....
0012fb00 1b 17 00 00 1a 17 00 00 - 10 00 00 00 01 00 00 00
.................
0012fb10 28 fb 12 00 28 fd 12 00 - 05 40 00 80 01 00 00 00
(...(....@......
0012fb20 00 00 00 00 b7 00 07 80 - 3c 00 55 00 6e 00 6b 00
.........<.U.n.k.
0012fb30 6e 00 6f 00 77 00 6e 00 - 3e 00 00 00 00 00 00 00
n.o.w.n.>.......
0012fb40 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
.................
0012fb50 10 00 00 00 e2 05 01 00 - b4 fb 12 00 02 00 00 00
.................
0012fb60 77 c2 f8 77 70 f1 fc 77 - 10 00 00 00 e2 05 01 00
w..wp..w........
0012fb70 cc fb 12 00 02 00 00 00 - 77 c2 f8 77 70 f1 fc 77
.........w..wp..w
0012fb80 a0 1f f8 77 4f b2 f8 77 - 10 00 00 00 e2 05 01 00
....wO..w........
Jpeg file and displays in on the screen. It works great, in my lab.
When I am using it at a customer site, things change. Occasionally, it
blows up with an Application Exception. It seems to only die at the
customer site
This can only be duplicated on the machines at a client site. I cannot
reproduce this "Bug" in my lab.
I am 100% confident there is no programatic bug the the JpegViewer.exe
program, because of the testing I have done. Again it works great in my lab
(it Works for me!).
I think there is something funny with the customer environment, but have
nothing solid to try. Any suggestions/help is greatly appreciated!
(This is how I am calling "JpegViewer.exe", no errors are caught by the
try,catch block)
Public Shared Sub LaunchApplication(ByVal Command As String)
Try
Shell(Command, AppWinStyle.NormalFocus)
Catch ex As Exception
UpdateStatus("LaunchApplication - ERROR - Could not launch
task.")
End Try
End Sub
(This is what shows up in the event log at the client site - again, only
sometimes - but when it does, my Jpegviewer program dies a horable death
(Jpegviewer doesnt even seem to actually do anything).)
Application exception occurred:
App: (pid=668)
When: 1/7/2004 @ 15:26:43.187
Exception number: c0000005 (access violation)
*----> System Information <----*
Computer Name: GBHS-513-08
User Name: SYSTEM
Number of Processors: 1
Processor Type: x86 Family 15 Model 2 Stepping 9
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 4
Current Type: Uniprocessor Free
Registered Organization: RJUHSD
Registered Owner: RJUHSD
*----> Task List <----*
0 Idle.exe
8 System.exe
168 SMSS.exe
192 CSRSS.exe
188 WINLOGON.exe
240 SERVICES.exe
252 LSASS.exe
428 svchost.exe
456 spoolsv.exe
536 ACLIENT.exe
560 AeXNSAgent.exe
572 ccsrvc.exe
596 DefWatch.exe
604 SHELLKER.exe
628 svchost.exe
656 Rtvscan.exe
708 PlatinumClientS.exe
940 regsvc.exe
964 mstask.exe
1036 WinMgmt.exe
1040 winvnc.exe
1060 WSFINALACLSERVI.exe
1080 svchost.exe
512 explorer.exe
1532 CLIENT.exe
1588 hkcmd.exe
1596 CreateCD50.exe
1640 Directcd.exe
1648 AClntUsr.exe
1540 VPTray.exe
668 JpegViewer.exe
1524 DRWTSN32.exe
0 _Total.exe
(11000000 - 11008000)
(77F80000 - 77FFB000)
(79170000 - 79196000)
(7C570000 - 7C623000)
(7C2D0000 - 7C332000)
(77D30000 - 77D9E000)
(70A70000 - 70AD5000)
(78000000 - 78045000)
(77F40000 - 77F79000)
(77E10000 - 77E6F000)
(10000000 - 10011000)
(791B0000 - 79412000)
(7C340000 - 7C396000)
(79040000 - 79085000)
(782F0000 - 78538000)
(71710000 - 71794000)
State Dump for Thread Id 0x5a0
eax=00000000 ebx=00000000 ecx=7ffde000 edx=793dd0b8 esi=00000000
edi=00000000
eip=791cfea1 esp=0012fa50 ebp=0012fa64 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: CoInitializeCor
791cfe80 5e pop esi
791cfe81 7408 jz CoInitializeCor+0xb6eb (791d9f8b)
791cfe83 a1cccb3d79
ds:793dcbcc=00000000
mov eax,[CorCreateMiniDump+0x7f709
(793dcbcc)]
791cfe88 ff4048 inc dword ptr [eax+0x48]
ds:00a89ee6=????????
791cfe8b a1cccb3d79
ds:793dcbcc=00000000
mov eax,[CorCreateMiniDump+0x7f709
(793dcbcc)]
791cfe90 ff4074 inc dword ptr [eax+0x74]
ds:00a89ee6=????????
791cfe93 e86341feff call Ordinal71+0x3ffb (791b3ffb)
791cfe98 5d pop ebp
791cfe99 c20400 ret 0x4
791cfe9c a1cccb3d79
ds:793dcbcc=00000000
mov eax,[CorCreateMiniDump+0x7f709
(793dcbcc)]
FAULT ->791cfea1 397850 cmp [eax+0x50],edi
ds:00a89ee6=????????
791cfea4 53 push ebx
791cfea5 8b1d10121b79
ds:791b1210=7c59b9ad
mov ebx,[Ordinal71+0x1210 (791b1210)]
791cfeab 56 push esi
791cfeac 0f856e6f0700 jne DllGetClassObjectInternal+0x100cd
(79246e20)
791cfeb2 68b0010000 push 0x1b0
791cfeb7 e88af5ffff call CoInitializeCor+0xba6 (791cf446)
791cfebc 59 pop ecx
791cfebd 8945f0 mov [ebp+0xf0],eax
ss:00bb994a=????????
791cfec0 3bc7 cmp eax,edi
791cfec2 897dfc mov [ebp+0xfc],edi
ss:00bb994a=????????
791cfec5 0f8496000000 je CoInitializeCor+0x16c1 (791cff61)
*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0012FA64 791C7EBF 0012FA80 7928841E 00000000 793E6518 !CoInitializeCor
0012FA6C 7928841E 00000000 793E6518 793E6518 0012FAA8 !CoInitializeEE
0012FA80 7928C344 00000800 7C579109 00000000 80004005
!DllGetClassObjectInternal
0012FAA8 7928C464 0012FAB4 00000000 0012FAF4 79288F16 !Ordinal18
0012FAB8 79288F16 0000171A 00139D88 00000400 00000001 !Ordinal18
0012FAF4 792457D2 00000000 0000171B 0000171A 00000010 !Ordinal19
0012FF38 791CE9CB 00000000 793DD0B8 7FFDF000 7FFDE000
!DllGetClassObjectInternal
0012FF60 791CED2D 00000002 00000000 793DD0B8 7FFDF000 !CoInitializeCor
0012FF90 791B16D2 00000002 00136FF8 0012FFC0 791C6EDF !CoInitializeCor
0012FFA0 791C6EDF 00000002 00000000 00000000 7917D0B8 !Ordinal71
0012FFC0 7C5987E7 00000000 00000000 7FFDF000 C0000005 !CorExeMain
0012FFF0 00000000 11003F6E 00000000 000000C8 00000100
kernel32!ProcessIdToSessionId
*----> Raw Stack Dump <----*
0012fa50 00 08 00 00 00 e0 fd 7f - 2c ff 12 00 40 8e 3c 79
.........,...@.<y
0012fa60 ff ff ff ff 6c fa 12 00 - bf 7e 1c 79 80 fa 12 00
.....l....~.y....
0012fa70 1e 84 28 79 00 00 00 00 - 18 65 3e 79 18 65 3e 79
...(y.....e>y.e>y
0012fa80 a8 fa 12 00 44 c3 28 79 - 00 08 00 00 09 91 57 7c
.....D.(y......W|
0012fa90 00 00 00 00 05 40 00 80 - 00 00 00 00 00 00 00 00
......@..........
0012faa0 00 e0 fd 7f 00 00 00 00 - b8 fa 12 00 64 c4 28 79
.............d.(y
0012fab0 b4 fa 12 00 00 00 00 00 - f4 fa 12 00 16 8f 28 79
...............(y
0012fac0 1a 17 00 00 88 9d 13 00 - 00 04 00 00 01 00 00 00
.................
0012fad0 1c e1 27 79 20 04 35 7c - ff ff ff ff 02 00 00 00 ..'y
..5|........
0012fae0 88 9d 13 00 f8 93 13 00 - 81 5d 1c 79 00 00 1b 79
..........].y...y
0012faf0 28 fd 12 00 38 ff 12 00 - d2 57 24 79 00 00 00 00
(...8....W$y....
0012fb00 1b 17 00 00 1a 17 00 00 - 10 00 00 00 01 00 00 00
.................
0012fb10 28 fb 12 00 28 fd 12 00 - 05 40 00 80 01 00 00 00
(...(....@......
0012fb20 00 00 00 00 b7 00 07 80 - 3c 00 55 00 6e 00 6b 00
.........<.U.n.k.
0012fb30 6e 00 6f 00 77 00 6e 00 - 3e 00 00 00 00 00 00 00
n.o.w.n.>.......
0012fb40 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
.................
0012fb50 10 00 00 00 e2 05 01 00 - b4 fb 12 00 02 00 00 00
.................
0012fb60 77 c2 f8 77 70 f1 fc 77 - 10 00 00 00 e2 05 01 00
w..wp..w........
0012fb70 cc fb 12 00 02 00 00 00 - 77 c2 f8 77 70 f1 fc 77
.........w..wp..w
0012fb80 a0 1f f8 77 4f b2 f8 77 - 10 00 00 00 e2 05 01 00
....wO..w........