Quantcast
Channel: VMware Communities : Popular Discussions - VMware ThinApp: Discussion Forum
Viewing all articles
Browse latest Browse all 57744

VBscript engine crash in Vista/Win7 with 4.5.0/4.6.0

$
0
0

Good day gentlemen,

 

I hope someone can verify this issue or show me what I'm doing wrong, but it seems to simple to do something wrong.

 

Whenever I use a variation on the following script, the application will randomly crash during startup.

Function OnFirstParentStart()

   Dim WshShell

   Set WshShell = CreateObject("WScript.Shell")

End Function

 

The two requirements for this to work (or fail, rather) is that the function CreateObject is called and that it be called within a function.

 

Now, if I start the built application (in my case, I used cmd.exe for testing purposes) on Vista or Windows 7 it randomly crashes Windows Command Processor.

Unfortunately, by 'random' I mean it might work for a dozen times, then crash once. Or it might crash a dozen times in a row and work once.

The following error event shows up in the Windows Event Viewer:

Faulting application name: cmd.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc19e

Faulting module name: ntdll.dll, version: 6.1.7600.16559, time stamp: 0x4ba9b29c

Exception code: 0xc0000005

Fault offset: 0x0003acbf

Faulting process id: 0x12e4

Faulting application start time: 0x01cb534cca91b764

Faulting application path: C:\Windows\SysWOW64\cmd.exe

Faulting module path: C:\Windows\SysWOW64\ntdll.dll

Report Id: 09bfc772-bf40-11df-b0d4-ca02aedca3ff

The exception code refers to Access Violation, which makes me believe it has something to do with Data Execution Prevention, though it does work without problems on XP SP 3 with DEP enabled.

 

This issue really got me stumped.

 

I've tried several Vista versions, 2 different Windows 7 version, both Vista and Windows 7 included at least one 64-bit version. They all showed this issue.

I've also tested on different XP versions (no 64-bit) and they all showed no problems.

 

The ThinApp build I used was 4.6.0.4240

 

 

I really hope someone can help me with this.

Also, suggestions on how to troubleshoot this some more (i.e. collecting more information about the systems, capture, etc.)

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 57744

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>