5.0

Table Of Contents
ThinApp User’s Guide
90 VMware, Inc.
... 94 total calls
4451728477 total cycles (1593.76 ms): |sprof| ts_lookup_imports
544327945 cycles (194.87 ms) on log entry 21758
385149968 cycles (137.89 ms) on log entry 193970
187246661 cycles (67.04 ms) on log entry 190210
.
.
... 34 total calls
1099873523 total cycles (393.76 ms): |sprof| new_thread_start
561664565 cycles (201.08 ms) on log entry 151922
531551734 cycles (190.30 ms) on log entry 152733
1619002 cycles (0.58 ms) on log entry 72875
Potential Errors
ThePotential Errors Detectedsectionmarkslogentriesthatmightpostproblemswiththreeasterisks
(***).Forinformationaboutinterpretingthissection,see“LocatingErrors”onpage 87.
----Potential Errors Detected ---
006425 00249708402579 00000d40 00001334 LoadLibraryExW 'C:\Program Files\Adobe\Reader
8.0\Reader\Microsoft.Windows.Common-Controls.DLL' flags=2 -> 0 (failed ***)
006427 00250258056144 00000d40 00001334 LoadLibraryExW 'C:\Program Files\Adobe\Reader
8.0\Reader\Microsoft.Windows.Common-Controls\Microsoft.Windows.Common-Controls.DLL' flags=2
-> 0 (failed ***)
006428 00250258537959 00000d40 00001334 nview.dll :1005b94b<-kernel32.dll:7c80ae4b ***
LoadLibraryW
->HMODULE=7c800000h () *** GetLastError() returns 2 [0]: The system cannot find the file
specified.
019127 00250294059361 00000d40 00001334 MSVCR80.dll :781348cc<-msvcrt.dll :77c10396 ***
GetEnvironmentVariableA
->DWORD=0h (OUT LPSTR lpBuffer=*0h <bad ptr>) *** GetLastError() returns 203 [0]: The system
could not find the environment option that was entered.
019133 00250307158486 00000d40 00001334 MSVCR80.dll :78133003<-nview.dll :1000058c ***
GetProcAddress
->FARPROC=*0h () *** GetLastError() returns 127 [203]: The specified procedure could not be
found.
Troubleshooting Example for cmd.exe Utility
Inthetroubleshootingexample,ThinApppackagesthecmd.exeutilitywithloggingturnedon.Theexample
showshowyoucansimulateapplicationfailurebyrunninganinvalidcommand.Ifyourequestthecmd.exe
utilitytorunthefoobarcommand,theutilitygeneratesthefoobar is not recognized as an internal
or external commandmessage.Youcanscanthetracefile
andcheckthePotential Errors Detected
sectiontofindtheAPIfunctionsthatmodifiedtheGetLastErrorcode.
TheexampleshowstheC:\test\cmd_test\bin\foobar.*,C:\WINDOWS\system32\foobar.*,and
C:\WINDOWS\foobarpathsasthelocationswherethecmd.exeutilitylooksforthefoobarcommand.
Thelogentriesshowthe%drive_C%\test\cmd_test\bin,%SystemSystem%\foobar,and
%SystemRoot%\foobarpathsasthelocationsin
thevirtualfilesystemthatThinAppprobes.
----Potential Errors Detected ---
0001550 00185994582578 00000c78 00001334 *** FindFirstFileW ’C:\test\cmd_test\bin\foobar.*’ ->
INVALID_HANDLE_VALUE *** failed
[system probe C:\test\cmd_test\bin\foobar.* -> ffffffffh][no virtual or system matches]
*** FindFirstFileW ->HANDLE=ffffffffh .. *** GetLastError() returns 2 [203]: The system cannot
find the file specified.
*** FindFirstFileW ’C:\test\cmd_test\bin\foobar’ -> INVALID_HANDLE_VALUE *** failed
[FS missing in view 0][fs entry not found %drive_C%\test\cmd_test\bin\foobar]
[fs entry not found %drive_C%\test\cmd_test\bin]
*** FindFirstFileW ’C:\WINDOWS\system32\foobar.*’ -> INVALID_HANDLE_VALUE *** failed
[system probe C:\WINDOWS\system32\foobar.* -> ffffffffh][no virtual or system matches]
*** FindFirstFileW ’C:\WINDOWS\system32\foobar’ -> INVALID_HANDLE_VALUE *** failed
[FS missing in view 0][fs entry not found %SystemSystem%\foobar]
*** FindFirstFileW ’C:\WINDOWS\foobar.*’ -> INVALID_HANDLE_VALUE *** failed
[system probe C:\WINDOWS\foobar.* -> ffffffffh][no virtual or system matches]
*** FindFirstFileW ’C:\WINDOWS\foobar’ -> INVALID_HANDLE_VALUE *** failed