application error

S

steve

Hi,

We have an application written in VBA.
The application crashes with the following log entry in window application
log.

Fault module:VBE6.dll
version: 6.4.99.72
Event ID: 1000
Fault Address: 0x000dc6f2
Source: Application Error

The application is running on Windows XP SP2 with Office 2003 SP2.

Thanks
steve
 
S

Steve Rindsberg

Youll need to supply a lot more information before anyone will be able to offer
even a guess at the problem.

You're using VBA in what application? (ie, Excel, Word, ...?)

And what specific code causes the crash?
Post an example.
 
S

steve

Hi Steve,

First thanks for your response.

The application is not a Word or Excel application.
It was written in VBA using the VBA SKD 6.2 development environment.
We have vba project files that contain forms,modules similar to VB6 project
files.

The problem here is, the error was occurring randomly and not happening on a
specific task regularly. The piece of functionality works fine, but fails
once in a while displaying the standard Microsoft error dialog box that says
"the application has encountered a problem and needs to close. We are sorry
for the inconvience" with Debug, Send Erro Report, Dont send buttons.

When Debug button is clicked, the application disappears.

Unable to replicate that in development environment as the error is occuring
randomly in production.

Regards,
steve
 
S

Steve Rindsberg

Hi Steve,

First thanks for your response.

No problem. No help either, I'm afraid.

Sympathy? You bet. I've had to chase down a few uglies like this in PPT, stuff that
happens when the code's running but not in break mode and the like.
 
S

steve

Hi experts,

The error is still occurring.
Fault Address: 0x000dc6f2
What does this mean?
Does relate to anything?

Help would be much appreciated.
 
S

steve

The following is the Dr Watson log file.

Microsoft (R) DrWtsn32
Copyright (C) 1985-2001 Microsoft Corp. All rights reserved.


Application exception occurred:
App: C:\WINDOWS\System32\DynaVBA.exe (pid=1292)
When: 2/02/2006 @ 09:45:22.366
Exception number: c0000005 (access violation)

*----> System Information <----*
Computer Name: xxx

User Name: xxx
Terminal Session Id: 0
Number of Processors: 1
Processor Type: x86 Family 15 Model 4 Stepping 1
Windows Version: 5.1
Current Build: 2600
Service Pack: 1
Current Type: Uniprocessor Free
Registered Organization: xxx

Registered Owner: xxx User

*----> Task List <----*
0 System Process
4 System
556 smss.exe
620 csrss.exe
652 winlogon.exe
696 services.exe
708 lsass.exe
908 svchost.exe
1008 svchost.exe
1224 svchost.exe
1260 svchost.exe
1376 spoolsv.exe
1544 MDM.EXE
1592 ntrtscan.exe
1612 OfcPfwSvc.exe
1672 SMAgent.exe
1772 tmlisten.exe
1824 wdfmgr.exe
1888 Wuser32.exe
1944 CcmExec.exe
416 GKD07.EXE
1084 wmiprvse.exe
1716 wmiprvse.exe
3844 Explorer.EXE
2724 FaxCtrl.exe
544 pccntmon.exe
1508 SMTray.exe
3788 gcasServ.exe
2908 igfxtray.exe
796 hkcmd.exe
3420 igfxpers.exe
3960 ctfmon.exe
1112 gcasDtServ.exe
2824 RealPopup.exe
3488 OUTLOOK.EXE
3384 WISPTIS.EXE
1292 DynaVBA.exe
3196 WINWORD.EXE
3648 drwtsn32.exe

*----> Module List <----*
(0000000000400000 - 0000000000463000: C:\WINDOWS\System32\DynaVBA.exe
(0000000001400000 - 000000000140d000: C:\Program Files\AA
Explorer\SAISubmitters.ocx
(0000000001460000 - 0000000001498000: C:\Program Files\AA
Explorer\DFComCTL3.ocx
(00000000015a0000 - 00000000015bf000: C:\WINDOWS\System32\MSDART.DLL
(00000000020c0000 - 0000000002126000: C:\Program Files\Common
Files\System\Ole DB\oledb32.dll
(00000000030f0000 - 0000000003133000: C:\Program Files\AA
Explorer\DFComCTL2.ocx
(0000000003aa0000 - 0000000003aae000: C:\Program Files\AA
Explorer\DynaValueList.dll
(0000000003ac0000 - 0000000003b3e000: C:\Program Files\AA
Explorer\DFComCTL1.ocx
(0000000003fa0000 - 0000000004077000: C:\WINDOWS\Sheridan\ssdw3bo.ocx
(0000000004370000 - 000000000438f000: C:\Program Files\AA
Explorer\DFSSTree.ocx
(0000000004cb0000 - 0000000004cbe000: C:\Program Files\AA
Explorer\dfLatlong.ocx
(000000000ffd0000 - 000000000fff3000: C:\WINDOWS\System32\rsaenh.dll
(0000000010000000 - 0000000010011000: C:\WINDOWS\System32\ZLIB.DLL
(0000000011000000 - 000000001100e000: C:\WINDOWS\System32\VBAA.dll
(0000000011160000 - 0000000011170000: C:\WINDOWS\System32\AAConFig.dll
(0000000012020000 - 000000001203c000: C:\Program Files\AA
Explorer\DynaGlobals.dll
(0000000012060000 - 0000000012116000: C:\Program Files\AA
Explorer\DFComGrid.ocx
(000000001a400000 - 000000001a47a000: C:\WINDOWS\system32\urlmon.dll
(000000001b5d0000 - 000000001b665000: C:\WINDOWS\System32\mswstr10.dll
(000000001f320000 - 000000001f36b000: C:\Program Files\Common
Files\System\msadc\msadce.dll
(000000001f370000 - 000000001f375000: C:\Program Files\Common
Files\System\msadc\msadcer.dll
(000000001f430000 - 000000001f4a7000: C:\Program Files\Common
Files\System\ado\msado15.dll
(000000001f5d0000 - 000000001f5fc000: C:\Program Files\Common
Files\System\msadc\msdaprst.dll
(000000001f600000 - 000000001f62e000: C:\Program Files\Common
Files\System\Ole DB\msdaps.dll
(000000001f910000 - 000000001f920000: C:\Program Files\Common
Files\System\Ole DB\OLEDB32R.DLL
(00000000217a0000 - 00000000217c3000: C:\WINDOWS\System32\comdlg32.ocx
(0000000024100000 - 0000000024153000: C:\WINDOWS\Sheridan\THREED20.OCX
(0000000026800000 - 0000000026849000: C:\WINDOWS\Sheridan\SSTree.ocx
(0000000027580000 - 0000000027685000: C:\WINDOWS\System32\mscomctl.ocx
(00000000277b0000 - 0000000027850000: C:\WINDOWS\System32\mscomct2.ocx
(0000000028300000 - 0000000028310000: C:\WINDOWS\Sheridan\ssmedt32.dll
(0000000028e00000 - 0000000028e17000: C:\WINDOWS\Sheridan\ssr2c.dll
(0000000029800000 - 0000000029871000: C:\WINDOWS\Sheridan\sstbars2.ocx
(0000000030100000 - 00000000301fd000: C:\Program Files\AA
Explorer\SSUltraGrid.ocx
(00000000308c0000 - 0000000030e1c000: C:\Program Files\Microsoft
Office\Office\MSO9.DLL
(0000000055560000 - 0000000055571000: C:\WINDOWS\System32\CLUSAPI.DLL
(000000005ad70000 - 000000005ada4000: C:\WINDOWS\System32\uxtheme.dll
(000000005edd0000 - 000000005edea000: C:\WINDOWS\System32\OLEPRO32.DLL
(0000000060000000 - 000000006011c000: C:\WINDOWS\System32\FM20.DLL
(00000000605d0000 - 00000000605d8000: C:\WINDOWS\System32\mslbui.dll
(0000000060e50000 - 0000000060e54000: C:\Program Files\Common
Files\System\msadc\msdaprsr.dll
(0000000064000000 - 0000000064085000: C:\Program Files\Common
Files\Microsoft Shared\VBA\VBA6\APC62.dll
(0000000065000000 - 0000000065264000:
C:\PROGRA~1\COMMON~1\MICROS~1\VBA\VBA6\VBE6.DLL
(0000000065300000 - 0000000065327000:
C:\PROGRA~1\COMMON~1\MICROS~1\VBA\VBA6\1033\VBE6INTL.DLL
(000000006bd00000 - 000000006bd0d000: C:\WINDOWS\System32\SYNCOR11.DLL
(0000000070000000 - 0000000070009000: C:\WINDOWS\System32\fm20ENU.DLL
(0000000070a70000 - 0000000070ad5000: C:\WINDOWS\system32\SHLWAPI.dll
(0000000071950000 - 0000000071a34000:
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll
(0000000071a50000 - 0000000071a8b000: C:\WINDOWS\System32\mswsock.dll
(0000000071a90000 - 0000000071a98000: C:\WINDOWS\System32\wshtcpip.dll
(0000000071aa0000 - 0000000071aa8000: C:\WINDOWS\System32\WS2HELP.dll
(0000000071ab0000 - 0000000071ac4000: C:\WINDOWS\System32\WS2_32.dll
(0000000071ad0000 - 0000000071ad8000: C:\WINDOWS\system32\WSOCK32.dll
(0000000071c20000 - 0000000071c6e000: C:\WINDOWS\System32\NETAPI32.dll
(0000000071cf0000 - 0000000071d35000: C:\WINDOWS\system32\kerberos.dll
(0000000073420000 - 0000000073573000: C:\WINDOWS\System32\MSVBVM60.DLL
(0000000073d90000 - 0000000073db7000: C:\WINDOWS\System32\CRTDLL.dll
(0000000073dd0000 - 0000000073ec2000: C:\WINDOWS\System32\MFC42.DLL
(0000000074720000 - 0000000074764000: C:\WINDOWS\System32\MSCTF.dll
(0000000074e30000 - 0000000074e9a000: C:\WINDOWS\System32\RICHED20.DLL
(00000000750b0000 - 00000000750c1000: C:\WINDOWS\System32\RESUTILS.DLL
(00000000750d0000 - 00000000750e9000: C:\WINDOWS\System32\mtxoci.dll
(00000000750f0000 - 0000000075102000: C:\WINDOWS\system32\MTXCLU.DLL
(0000000075130000 - 0000000075145000: C:\WINDOWS\system32\colbact.DLL
(0000000075a70000 - 0000000075b15000: C:\WINDOWS\system32\USERENV.dll
(0000000075e90000 - 0000000075f37000: C:\WINDOWS\System32\SXS.DLL
(0000000075f40000 - 0000000075f5f000: C:\WINDOWS\system32\Apphelp.dll
(00000000762a0000 - 00000000762b0000: C:\WINDOWS\system32\MSASN1.dll
(0000000076380000 - 0000000076385000: C:\WINDOWS\System32\msimg32.dll
(00000000763b0000 - 00000000763f5000: C:\WINDOWS\system32\comdlg32.dll
(0000000076400000 - 0000000076601000: C:\WINDOWS\System32\msi.dll
(0000000076790000 - 000000007679b000: C:\WINDOWS\System32\cryptdll.dll
(0000000076b40000 - 0000000076b6c000: C:\WINDOWS\System32\WINMM.dll
(0000000076e80000 - 0000000076e8d000: C:\WINDOWS\System32\rtutils.dll
(0000000076e90000 - 0000000076ea1000: C:\WINDOWS\System32\rasman.dll
(0000000076eb0000 - 0000000076edb000: C:\WINDOWS\System32\TAPI32.dll
(0000000076ee0000 - 0000000076f17000: C:\WINDOWS\System32\RASAPI32.DLL
(0000000076f20000 - 0000000076f45000: C:\WINDOWS\System32\DNSAPI.dll
(0000000076f60000 - 0000000076f8c000: C:\WINDOWS\system32\WLDAP32.dll
(0000000076f90000 - 0000000076fa0000: C:\WINDOWS\system32\Secur32.dll
(0000000076fb0000 - 0000000076fb7000: C:\WINDOWS\System32\winrnr.dll
(0000000076fc0000 - 0000000076fc5000: C:\WINDOWS\System32\rasadhlp.dll
(0000000077050000 - 0000000077115000: C:\WINDOWS\System32\COMRes.dll
(0000000077120000 - 00000000771ab000: C:\WINDOWS\system32\OLEAUT32.dll
(00000000771b0000 - 00000000772d4000: C:\WINDOWS\system32\ole32.dll
(0000000077340000 - 00000000773cb000: C:\WINDOWS\system32\comctl32.dll
(00000000773d0000 - 0000000077bc2000: C:\WINDOWS\system32\SHELL32.DLL
(0000000077c00000 - 0000000077c07000: C:\WINDOWS\system32\VERSION.dll
(0000000077c10000 - 0000000077c63000: C:\WINDOWS\system32\MSVCRT.DLL
(0000000077d40000 - 0000000077dcc000: C:\WINDOWS\system32\USER32.DLL
(0000000077dd0000 - 0000000077e5d000: C:\WINDOWS\system32\ADVAPI32.dll
(0000000077e60000 - 0000000077f46000: C:\WINDOWS\system32\kernel32.dll
(0000000077f50000 - 0000000077ff7000: C:\WINDOWS\System32\ntdll.dll
(0000000078000000 - 0000000078087000: C:\WINDOWS\system32\RPCRT4.dll
(000000007c400000 - 000000007c526000: C:\WINDOWS\system32\comsvcs.dll
(000000007c890000 - 000000007c911000: C:\WINDOWS\System32\CLBCATQ.DLL
(000000007e090000 - 000000007e0d1000: C:\WINDOWS\system32\GDI32.dll

*----> State Dump for Thread Id 0xec0 <----*

eax=72502820 ebx=00700448 ecx=02836bd4 edx=6522645c esi=02836bd4 edi=00700448
eip=65107d3d esp=0012e614 ebp=0012e644 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202

*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\PROGRA~1\COMMON~1\MICROS~1\VBA\VBA6\VBE6.DLL -
function: VBE6!rtcSendKeys
65107d13 6c insb
65107d14 2404 and al,0x4
65107d16 04e9 add al,0xe9
65107d18 8a47f9 mov al,[edi-0x7]
65107d1b ff836c24040c inc dword ptr [ebx+0xc04246c]
65107d21 e98047f9ff jmp VBE6!DllCanUnloadNow+0x265a7
(6509c4a6)
65107d26 836c240410 sub dword ptr [esp+0x4],0x10
65107d2b e97647f9ff jmp VBE6!DllCanUnloadNow+0x265a7
(6509c4a6)
65107d30 816c2404b8000000 sub dword ptr [esp+0x4],0xb8
65107d38 e96947f9ff jmp VBE6!DllCanUnloadNow+0x265a7
(6509c4a6)
FAULT ->65107d3d 397830 cmp [eax+0x30],edi
ds:0023:72502850=????????
65107d40 740a jz VBE6!rtcSendKeys+0x57eac (65107d4c)
65107d42 8bc8 mov ecx,eax
65107d44 8b4048 mov eax,[eax+0x48]
65107d47 e98dccf9ff jmp VBE6!rtcDoEvents+0x57e (650a49d9)
65107d4c 85c0 test eax,eax
65107d4e 0f848dccf9ff je VBE6!rtcDoEvents+0x586 (650a49e1)
65107d54 8b7848 mov edi,[eax+0x48]
65107d57 8902 mov [edx],eax
65107d59 897948 mov [ecx+0x48],edi
65107d5c 897048 mov [eax+0x48],esi

*----> Stack Back Trace <----*
WARNING: Stack unwind information not available. Following frames may be
wrong.
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINDOWS\system32\OLEAUT32.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINDOWS\System32\FM20.DLL -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINDOWS\System32\MSVBVM60.DLL -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\Program Files\CAA Explorer\DFComCTL2.ocx -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINDOWS\Sheridan\THREED20.OCX -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINDOWS\system32\USER32.DLL -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
C:\WINDOWS\System32\ntdll.dll -
ChildEBP RetAddr Args to Child
0012e644 650b8c6f 00700448 00000000 00000004 VBE6!rtcSendKeys+0x57e9d
0012e6b0 650b8b87 00000028 00000000 00000000 VBE6!rtcSendKeys+0x8dcf
0012e6d4 6504d405 00000000 00000000 00000000 VBE6!rtcSendKeys+0x8ce7
0012e730 6504d52e 650a2ed1 0012e758 0012e760 VBE6!rtcFreeFile+0x1cdd1
0012e76c 6507a538 65300000 00000fb5 6511434e VBE6!rtcFreeFile+0x1cefa
0012e810 6516c8ab 0012e828 00000001 65225bc0 VBE6!DllCanUnloadNow+0x4639
0012e850 650c3f4c 00000000 65225c38 65225bc0 VBE6!DllVbeGetHashOfCode+0x407c1
0012e88c 650c3e0a 00000000 650a4e28 00000001 VBE6!rtcSendKeys+0x140ac
0012e930 650a6137 00200588 000031c1 06c580bc VBE6!rtcSendKeys+0x13f6a
0012eaec 77124626 039238f0 0491c434 00000000 VBE6!rtcDoEvents+0x1cdc
0012eb08 650c1285 0392392c 0000001c 00000004 OLEAUT32!DispCallFunc+0x165
0012f464 650c1a19 0392392c 0022d03c 60030003 VBE6!rtcSendKeys+0x113e5
0012f4a4 650c18be 0392392c 00000006 00000000 VBE6!rtcSendKeys+0x11b79
0012f4d0 600586c5 0392392c 00000006 7343ae48 VBE6!rtcSendKeys+0x11a1e
0012f504 734faec2 0021658c 00000006 7343ae48 FM20!FormsCheckUFIControls+0x4fee
0012f56c 7352a1a5 0021b150 00000006 00000000
MSVBVM60!TipGetAddressOfPredeclaredInstance+0x2ad6
0012f60c 7344ab78 0021b150 0012f75c 0012f62c MSVBVM60!_vbaRaiseEvent+0x16
0012f61c 030f52f5 0021b1d0 030f4e14 0012f678 MSVBVM60!BASIC_CLASS_Invoke+0xdfe
0012f62c 7344ab55 030f52f5 0012f6e8 00000004 DFComCTL2+0x52f5
0012f678 73442dea 0012f728 0012f6e8 00000004 MSVBVM60!BASIC_CLASS_Invoke+0xddb
0012f74c 73442c79 031731dc 03155564 00000003 MSVBVM60!EVENT_SINK_AddRef+0x5deb
0012f770 734e2352 031731dc 00000000 00000000 MSVBVM60!EVENT_SINK_AddRef+0x5c7a
0012f7a0 73441030 031731dc 00670550 00002111 MSVBVM60!DllCanUnloadNow+0x12b71
0012f7c8 7343ffe9 031731dc 00670550 00002111 MSVBVM60!EVENT_SINK_AddRef+0x4031
0012f824 7349a650 00670550 00002111 00000009 MSVBVM60!EVENT_SINK_AddRef+0x2fea
0012f848 734560f0 031575cc 00500278 00000111 MSVBVM60!IID_IVbaHost+0x25540
0012f878 7348c6b0 031575cc 00500278 00000111
MSVBVM60!Zombie_QueryInterface+0x74bb
0012f8a4 2411d880 031576c0 00500278 00000111 MSVBVM60!IID_IVbaHost+0x175a0
0012f930 77d43a50 00500278 00000111 00000009 THREED20+0x1d880
0012f95c 77d43b1f 2411d806 00500278 00000111 USER32+0x3a50
0012f9c4 77d444f5 00000000 2411d806 00500278 USER32+0x3b1f
0012fa18 77d44525 005e54b8 00000111 00000009 USER32!PostMessageA+0xad
0012fa40 77f75da3 0012fa50 00000018 005e54b8 USER32!PostMessageA+0xdd
0012faa0 77d454b4 005e54b8 00000111 00000009
ntdll!KiUserCallbackDispatcher+0x13
0012fac0 77d68d69 00500278 00000111 00000009 USER32!SendMessageW+0x47
0012fb5c 77d6511b 00670550 00000202 00000000 USER32!SetWindowsHookA+0x46a
0012fb7c 77d43a50 00670550 00000202 00000000 USER32!EnumClipboardFormats+0x956
0012fba8 77d43b1f 77d650bd 00670550 00000202 USER32+0x3a50
0012fc10 77d45b2c 00000000 77d650bd 00670550 USER32+0x3b1f
0012fc40 77d45f73 77d650bd 00670550 00000202 USER32!IsWindowVisible+0x80
0012fc60 7345634d 77d650bd 00670550 00000202 USER32!CallWindowProcA+0x19
0012fccc 734e2628 00cc5748 00670550 00000202
MSVBVM60!Zombie_QueryInterface+0x7718
0012fcf4 73441030 031731dc 00670550 00000202 MSVBVM60!DllCanUnloadNow+0x12e47
0012fd1c 7343ffe9 031731dc 00670550 00000202 MSVBVM60!EVENT_SINK_AddRef+0x4031
0012fd78 77d43a50 00670550 00000202 00000000 MSVBVM60!EVENT_SINK_AddRef+0x2fea
0012fda4 77d43b1f 7343ff3f 00670550 00000202 USER32+0x3a50
0012fe0c 77d43d79 00000000 7343ff3f 00670550 USER32+0x3b1f
0012fe6c 77d44374 0012fe90 00000001 7343495c USER32!GetMessageW+0x125
0012feb8 73434895 ffffffff 00cc3784 00cc0000 USER32!DispatchMessageA+0xb
0012fefc 73434773 00cc3854 ffffffff 0000050c MSVBVM60!_vbaInStr+0x2f0
7343a360 73430df0 7343177a 734f4228 734f4253 MSVBVM60!_vbaInStr+0x1ce
734f3576 0c2474ff ff0c408b 8b0c2474 11ff5008
MSVBVM60!BASIC_CLASS_QueryInterface+0x17
0424448b 00000000 00000000 00000000 00000000 0xc2474ff


Thanks

Steve.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top