VB6应用程序崩溃时无法从转储文件中识别错误 [英] Unable to identify the error from dump file when VB6 application crashes
问题描述
我们的应用程序是使用Visual Basic 6.0构建的。在某些时候运行此应用程序时应用程序崩溃。我们无法使用源代码进行调试,因为崩溃仅发生在生产环境中。客户已使用windbg工具将转储文件运行
的结果,但从此结果我们无法确定错误的根本原因。我们已将dump文件的结果放在下面以供参考。请指导我们确定导致应用程序崩溃的问题。
Our application is built using Visual Basic 6.0. While running this application at some point the application crashes. We are not able to debug using source code since the crashing occurs only at production environment. Customer has given the result of running the dump file using windbg tool but from this result we are not able to identify the root cause of the error. We have placed the result of dump file below for reference. Please guide us to identify the problem that causes application to crash.
Microsoft(R)Windows调试器版本10.0.10586.567 X86
版权所有(c)Microsoft Corporation。保留所有权利。
$
加载转储文件[C:\ DUMPS \ PiMS.exe.3344.dmp]
具有完整内存的用户迷你转储文件:仅提供应用程序数据
******** *****符号路径验证摘要**************
回复                      时间(毫秒)  位置
递延                                     SRV * c:\websymbols * http://msdl.microsoft.com/download/symbols
*************符号路径验证摘要**************
回复                      时间(毫秒)  位置
递延                                     SRV * c:\websymbols * http://msdl.microsoft.com/download/symbols
符号搜索路径为:SRV * c:\websymbols * http://msdl.microsoft。 com / download / symbols
可执行搜索路径为:
Windows 7版本7601(Service Pack 1)MP(2 procs)免费x86兼容
产品:服务器,套件:TerminalServer DataCenter
机器名称:
调试会话时间:Sun Mar 1 17:45:26.000 2015(UTC + 11: 00)
$
系统正常运行时间:1天14:31:59.468
处理正常运行时间:0天2:18:56.000
.... .................................................. ..........
$
................................ ................................
装卸货物模块列表
......
此转储文件存储在其中的兴趣例外。
存储的异常信息可以是通过.ecxr访问。
$
(d10.1aac):访问冲突 - 代码c0000005(第一次/第二次机会不可用)
- ----用户微型转储分析
MINIDUMP_HEADER:
版本       A793(61B1)
NumberOfStreams 13
Flags         1826年
              0002 MiniDumpWithFullMemory
              0004 MiniDumpWithHandleData
              0020 MiniDumpWithUnloadedModules
              0800 MiniDumpWithFullMemoryInfo
              1000 MiniDumpWithThreadInfo
流:
流0:输入ThreadListStream(3),大小00000184,RVA 00000284
  8个主题
RVA 00000288,ID 1AAC,Teb:000000007EFDD000
RVA 000002B8,ID 1F1C,Teb:000000007EFDA000
RVA 000002E8,ID 18F8,Teb:000000007EFD7000
RVA 00000318,ID 1DD8,Teb:000000007EFA6000
RVA 00000348,ID 1F44,Teb:000000007EFA3000
RVA 00000378,ID 4E4,Teb:000000007EF9F000
RVA 000003A8,ID 19A4,Teb:000000007EFAF000
RVA 000003D8,ID 1F8C,Teb:000000007EF96000
流1:键入ThreadInfoListStream(17),大小0000020C,RVA 00000408
RVA 00000414,ID 1AAC
RVA 00000454,ID 1F1C
RVA 00000494,ID 18F8
RVA 000004D4,ID 1DD8
RVA 00000514,ID 1F44
$
RVA 00000554,ID 4E4
RVA 00000594,ID 19A4
RVA 000005D4,ID 1F8C
$
流2:输入ModuleListStream(4),尺寸00003604,RVA 00000614
128个模块
RVA 00000618,00400000 - 01600000:'C:\Program Files(x86)\ CSC \ i.PM \ PiMS.exe',0
Microsoft (R) Windows Debugger Version 10.0.10586.567 X86
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\DUMPS\PiMS.exe.3344.dmp]
User Mini Dump File with Full Memory: Only application data is available
************* Symbol Path validation summary **************
Response Time (ms) Location
Deferred SRV*c:\websymbols*http://msdl.microsoft.com/download/symbols
************* Symbol Path validation summary **************
Response Time (ms) Location
Deferred SRV*c:\websymbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: SRV*c:\websymbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows 7 Version 7601 (Service Pack 1) MP (2 procs) Free x86 compatible
Product: Server, suite: TerminalServer DataCenter
Machine Name:
Debug session time: Sun Mar 1 17:45:26.000 2015 (UTC + 11:00)
System Uptime: 1 days 14:31:59.468
Process Uptime: 0 days 2:18:56.000
................................................................
................................................................
Loading unloaded module list
......
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(d10.1aac): Access violation - code c0000005 (first/second chance not available)
----- User Mini Dump Analysis
MINIDUMP_HEADER:
Version A793 (61B1)
NumberOfStreams 13
Flags 1826
0002 MiniDumpWithFullMemory
0004 MiniDumpWithHandleData
0020 MiniDumpWithUnloadedModules
0800 MiniDumpWithFullMemoryInfo
1000 MiniDumpWithThreadInfo
Streams:
Stream 0: type ThreadListStream (3), size 00000184, RVA 00000284
8 threads
RVA 00000288, ID 1AAC, Teb:000000007EFDD000
RVA 000002B8, ID 1F1C, Teb:000000007EFDA000
RVA 000002E8, ID 18F8, Teb:000000007EFD7000
RVA 00000318, ID 1DD8, Teb:000000007EFA6000
RVA 00000348, ID 1F44, Teb:000000007EFA3000
RVA 00000378, ID 4E4, Teb:000000007EF9F000
RVA 000003A8, ID 19A4, Teb:000000007EFAF000
RVA 000003D8, ID 1F8C, Teb:000000007EF96000
Stream 1: type ThreadInfoListStream (17), size 0000020C, RVA 00000408
RVA 00000414, ID 1AAC
RVA 00000454, ID 1F1C
RVA 00000494, ID 18F8
RVA 000004D4, ID 1DD8
RVA 00000514, ID 1F44
RVA 00000554, ID 4E4
RVA 00000594, ID 19A4
RVA 000005D4, ID 1F8C
Stream 2: type ModuleListStream (4), size 00003604, RVA 00000614
128 modules
RVA 00000618, 00400000 - 01600000: 'C:\Program Files (x86)\CSC\i.PM\PiMS.exe', 0
RVA 00003B40,70be0000 - 70d13000:'C:\ Windows \ System32 \msxml3.dll',0 zh-b $ b RVA 00003BAC,044b0000 - 044d7000:'C:\Program Files(x86)\ CSC \ i.PM \ Components\iSUPIInterface.dll',0 zh-b $ b流3:输入UnloadedModuleListStream( 14),尺寸0000009C,RVA 00003C18
6个卸载的模块
RVA 00003C24,70be0000 - 70d13000:'msxml3.dll'
RVA 00003C3C,04230000 - 04257000:'iSUPIInterface.dll'
RVA 00003C54,70be0000 - 70d13000:'msxml3.dll'
RVA 00003C6C,69b10000 - 69c3f000:'msxml4.dll'
RVA 00003C84,68c50000 - 68c7a000:'scrrun.dll'
RVA 00003C9C,70910000 - 70939000:'WINSTA.DLL'
流4:输入Memory64ListStream(9),大小00003DB0,RVA 0002220E
986内存范围
RVA 0x25FBE BaseRva
范围# RVA   地址   尺寸
    0 00025FBE 00010000 00010000
    1 00035FBE 00020000 00001000
    .............
  985 0AD55FBE 7ffe0000 00001000
总内存:ad31000
流5:类型MemoryInfoListStream(16),大小000112F0,RVA 00010F1E
流6:输入ExceptionStream(6),大小000000A8,RVA 000001DC
ThreadID 6828
ExceptionCode C0000005
ExceptionRecord 0
例外地址0
上下文记录RVA 65ae,大小2cc
流7:输入SystemInfoStream(7),大小00000038,RVA 000000BC
ProcessorArchitecture 0000(PROCESSOR_ARCHITECTURE_INTEL)
ProcessorLevel       0006
ProcessorRevision     2501
NumberOfProcessors   02
MajorVersion         00000006
MinorVersion         00000001
BuildNumber           00001DB1(7601)
PlatformId           00000002(VER_PLATFORM_WIN32_NT)
CSDVersionRva         00003CB4
                         长度:28
                         缓冲:{'Service Pack 1'}
产品:服务器,套件:TerminalServer DataCenter
流8:输入MiscInfoStream(15),大小000000E8,RVA 000000F4
流9:输入HandleDataStream(12),大小000034E0, RVA 0000DA3E
338个描述符,标题大小为16,描述符大小为40
 句柄(0000000000000004,"键","\ REGEGY \ MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \图像文件执行选项")
............................
 句柄(000000000000056C,"事件",""")
流10:键入UnusedStream(0),大小00000000,RVA 00000000
流11:键入UnusedStream( 0),尺寸00000000,RVA 00000000
流12:输入UnusedStream(0),尺寸00000000,RVA 00000000
Windows 7版本7601(Service Pack 1)MP(2 procs)免费x86兼容
产品:服务器,套件:TerminalServer DataCenter
kernel32.dll版本: 6.1.7601.18015(win7sp1_gdr.121129-1432)
机器名称:
调试会话时间:Sun Mar 1 17:45:26.000 2015(UTC + 11:00) )b
系统正常运行时间:1天14:31:59.468
处理正常运行时间:0天2:18:56.000
内核时间:0天0:00:24.000
用户时间:0天0:00:44.000
PEB at 7efde000
  InheritedAddressSpace: No
  ReadImageFileExecOptions:是
 被调查:         No
  ImageBaseAddress:       00400000
  Ldr                     77410200
  Ldr.Initialized:       是
  Ldr.InInitializationOrderModuleList:01a62c30。 066a8588
  Ldr.InLoadOrderModuleList:         01a62ba0。 066a8578
  Ldr.InMemoryOrderModuleList:       01a62ba8。 066a8580
          Base TimeStamp                  模块
        400000 52fc49e1 Feb 13 15:28:17 2014 C:\Program Files(x86)\ CSC \ i.PM\PiMS.exe
      ..............................................
      70be0000 5091ff27 2012年11月15日15:48:39 C:\ Windows \ System32 \msxml3.dll
      44b0000 3e47041f Feb 10 12:45:03 2003 C:\Program Files(x86)\ CSC \ i.PM \ Components\iSUPIInterface.dll
  SubSystemData:   00000000
  ProcessHeap:     01a60000
  ProcessParameters:01a614d8
  CurrentDirectory: 'C:\Program Files(x86)\ CSC \ i.PM \'¥b $ b   WindowTitle: 'C:\Program Files(x86)\ CSC \ i.PM \ PiMS.exe'
  ImageFile: 'C:\Program Files(x86)\ CSC \ i.PM \ PiMS.exe'
  CommandLine: '" C:\Program Files(x86)\ CSC \ i.PM \ PiMS.exe"'
  DllPath:   'C:\Program Files(x86)\ CSC \ i.PM ;; C:\ Windows \ system32; C:\ Windows \ system; C:\ Windows; H:\ WINDOWS; C:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\System32\WindowsPowerShell\v1.0\; C:\Program Files(x86)\ Citit\system32 \; C:\Program
Files(x86)\ Citit\System32 \ Citrix \ IMA; C:\Program Files (x86)\ Citit\System32 \ Citit\IMA \Subsystems; C:\ Windows \ System32 \ Citrix \ IMA; C:\Program Files(x86)\ Citrix \ system32; C:\Program Files(x86)\ Common Files \ Citrix \ System32 \'¥b $ b  环境: 090785a0
      = B:= B:\ GSAHS iPM生产
      = C:= C:\程序文件(x86)\ CSC \ i.PM
      ALLUSERSPROFILE = C:\ProgramData
      APPDATA = C:\ Users \sue.lane \ AppData \Roaming
      CLIENTNAME = GSWAG1226
      CommonProgramFiles = C:\Program Files(x86)\ Common Files
      CommonProgramFiles(x86)= C:\ Program Files(x86)\ Common Files
      CommonProgramW6432 = C:\Program Files \ Common Files
      COMPUTERNAME = VIRTCTX-CWS156
      ComSpec = C:\ Windows \ system32 \ cmd.exe
      FP_NO_HOST_CHECK =没有¥b $ b       HOMEDRIVE = H:
      HOMEPATH = \
      HOMESHARE = \\gsahs.net\Wagga \ Home \ SLane
      LOCALAPPDATA = C:\ Users \sue.lane \ AppData \本地
      LOGONSERVER = \\SRVQUEDC01
      NUMBER_OF_PROCESSORS = 2个
      OS = Windows_NT
     路径= C:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\System32\WindowsPowerShell\v1.0\; C: \Program Files(x86)\ Citit\system32 \; C:\Program Files(x86)\ Citit \ System32 \ Citrix \ IMA; C:\ Program Files(x86)\ Citrix \ System32 \ Citrix \ IMA \Subsystems; C:\ Windows \ System32 \ Citrix \ IMA; C:\Program
Files(x86)\Citrix\system32; C: \Program Files(x86)\ Common Files\Citrix \System32 \
      PATHEXT = .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS; .JSE; .WSF; .WSH; .MSC
      PROCESSOR_ARCHITECTURE = x86
      PROCESSOR_ARCHITEW6432 = AMD64
      PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 37 Stepping 1,GenuineIntel
      PROCESSOR_LEVEL = 6
      PROCESSOR_REVISION = 2501
      ProgramData = C:\ProgramData
      ProgramFiles = C:\Program Files(x86)
      ProgramFiles(x86)= C:\Program Files(x86)
      ProgramW6432 = C:\Program Files
      PSModulePath = C:\ Windows \system32 \ WindowsPowerShell \v1.0 \ Module \; C:\Program Files \ Citrix \ PowerShell Modules \
      PUBLIC = C:\Users\Public
      SESSIONNAME = ICA-TCP#2
      SystemDrive = C:
      SystemRoot = C:\ Windows
      TEMP = C:\ Users\SUE~1.LAN \ AppData \ Local \Temp \4
      TMP = C:\ Users\SUE~1.LAN \ AppData \ Local \Temp \4
      USERDNSDOMAIN = GSAHS.NET
      USERDOMAIN = GSAHS
      USERNAME = sue.lane
      USERPROFILE = C:\ Users\sue.lane
      windir = C:\ Windows
完成转储检查
RVA 00003B40, 70be0000 - 70d13000: 'C:\Windows\System32\msxml3.dll', 0
RVA 00003BAC, 044b0000 - 044d7000: 'C:\Program Files (x86)\CSC\i.PM\Components\iSUPIInterface.dll', 0
Stream 3: type UnloadedModuleListStream (14), size 0000009C, RVA 00003C18
6 unloaded modules
RVA 00003C24, 70be0000 - 70d13000: 'msxml3.dll'
RVA 00003C3C, 04230000 - 04257000: 'iSUPIInterface.dll'
RVA 00003C54, 70be0000 - 70d13000: 'msxml3.dll'
RVA 00003C6C, 69b10000 - 69c3f000: 'msxml4.dll'
RVA 00003C84, 68c50000 - 68c7a000: 'scrrun.dll'
RVA 00003C9C, 70910000 - 70939000: 'WINSTA.DLL'
Stream 4: type Memory64ListStream (9), size 00003DB0, RVA 0002220E
986 memory ranges
RVA 0x25FBE BaseRva
range# RVA Address Size
0 00025FBE 00010000 00010000
1 00035FBE 00020000 00001000
.............
985 0AD55FBE 7ffe0000 00001000
Total memory: ad31000
Stream 5: type MemoryInfoListStream (16), size 000112F0, RVA 00010F1E
Stream 6: type ExceptionStream (6), size 000000A8, RVA 000001DC
ThreadID 6828
ExceptionCode C0000005
ExceptionRecord 0
ExceptionAddress 0
Context record RVA 65ae, size 2cc
Stream 7: type SystemInfoStream (7), size 00000038, RVA 000000BC
ProcessorArchitecture 0000 (PROCESSOR_ARCHITECTURE_INTEL)
ProcessorLevel 0006
ProcessorRevision 2501
NumberOfProcessors 02
MajorVersion 00000006
MinorVersion 00000001
BuildNumber 00001DB1 (7601)
PlatformId 00000002 (VER_PLATFORM_WIN32_NT)
CSDVersionRva 00003CB4
Length: 28
Buffer: {'Service Pack 1'}
Product: Server, suite: TerminalServer DataCenter
Stream 8: type MiscInfoStream (15), size 000000E8, RVA 000000F4
Stream 9: type HandleDataStream (12), size 000034E0, RVA 0000DA3E
338 descriptors, header size is 16, descriptor size is 40
Handle(0000000000000004,"Key","\REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options")
............................
Handle(000000000000056C,"Event","")
Stream 10: type UnusedStream (0), size 00000000, RVA 00000000
Stream 11: type UnusedStream (0), size 00000000, RVA 00000000
Stream 12: type UnusedStream (0), size 00000000, RVA 00000000
Windows 7 Version 7601 (Service Pack 1) MP (2 procs) Free x86 compatible
Product: Server, suite: TerminalServer DataCenter
kernel32.dll version: 6.1.7601.18015 (win7sp1_gdr.121129-1432)
Machine Name:
Debug session time: Sun Mar 1 17:45:26.000 2015 (UTC + 11:00)
System Uptime: 1 days 14:31:59.468
Process Uptime: 0 days 2:18:56.000
Kernel time: 0 days 0:00:24.000
User time: 0 days 0:00:44.000
PEB at 7efde000
InheritedAddressSpace: No
ReadImageFileExecOptions: Yes
BeingDebugged: No
ImageBaseAddress: 00400000
Ldr 77410200
Ldr.Initialized: Yes
Ldr.InInitializationOrderModuleList: 01a62c30 . 066a8588
Ldr.InLoadOrderModuleList: 01a62ba0 . 066a8578
Ldr.InMemoryOrderModuleList: 01a62ba8 . 066a8580
Base TimeStamp Module
400000 52fc49e1 Feb 13 15:28:17 2014 C:\Program Files (x86)\CSC\i.PM\PiMS.exe
..............................................
70be0000 5091ff27 Nov 01 15:48:39 2012 C:\Windows\System32\msxml3.dll
44b0000 3e47041f Feb 10 12:45:03 2003 C:\Program Files (x86)\CSC\i.PM\Components\iSUPIInterface.dll
SubSystemData: 00000000
ProcessHeap: 01a60000
ProcessParameters: 01a614d8
CurrentDirectory: 'C:\Program Files (x86)\CSC\i.PM\'
WindowTitle: 'C:\Program Files (x86)\CSC\i.PM\PiMS.exe'
ImageFile: 'C:\Program Files (x86)\CSC\i.PM\PiMS.exe'
CommandLine: '"C:\Program Files (x86)\CSC\i.PM\PiMS.exe"'
DllPath: 'C:\Program Files (x86)\CSC\i.PM;;C:\Windows\system32;C:\Windows\system;C:\Windows;H:\WINDOWS;.;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Citrix\system32\;C:\Program
Files (x86)\Citrix\System32\Citrix\IMA;C:\Program Files (x86)\Citrix\System32\Citrix\IMA\Subsystems;C:\Windows\System32\Citrix\IMA;C:\Program Files (x86)\Citrix\system32;C:\Program Files (x86)\Common Files\Citrix\System32\'
Environment: 090785a0
=B:=B:\GSAHS iPM Production
=C:=C:\Program Files (x86)\CSC\i.PM
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\sue.lane\AppData\Roaming
CLIENTNAME=GSWAG1226
CommonProgramFiles=C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=VIRTCTX-CWS156
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=H:
HOMEPATH=\
HOMESHARE=\\gsahs.net\Wagga\Home\SLane
LOCALAPPDATA=C:\Users\sue.lane\AppData\Local
LOGONSERVER=\\SRVQUEDC01
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Citrix\system32\;C:\Program Files (x86)\Citrix\System32\Citrix\IMA;C:\Program Files (x86)\Citrix\System32\Citrix\IMA\Subsystems;C:\Windows\System32\Citrix\IMA;C:\Program
Files (x86)\Citrix\system32;C:\Program Files (x86)\Common Files\Citrix\System32\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2501
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files (x86)
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files\Citrix\PowerShell Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=ICA-TCP#2
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\SUE~1.LAN\AppData\Local\Temp\4
TMP=C:\Users\SUE~1.LAN\AppData\Local\Temp\4
USERDNSDOMAIN=GSAHS.NET
USERDOMAIN=GSAHS
USERNAME=sue.lane
USERPROFILE=C:\Users\sue.lane
windir=C:\Windows
Finished dump check
推荐答案
VB6不是VB.Net。这是VB.Net的论坛。
VB6 is not VB.Net. This is a forum for VB.Net.
对于VB6支持的问题,你需要找到一个论坛。
For issues with VB6 support you will need to find a forum for that.
这篇关于VB6应用程序崩溃时无法从转储文件中识别错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!