Compiled script instantly fails / triggers Windows Error Reporting on some machines

Ask for help, how to use AHK_H, etc.
5ball
Posts: 12
Joined: 28 Feb 2016, 10:04

Compiled script instantly fails / triggers Windows Error Reporting on some machines

16 Jan 2018, 21:47

I have compiled scripts (from the same AHK_H origin) running on a few hundred computers (XP, win7, win8, win10) with no issues. But I've run across 3 users (running Windows10, FWIW. Not sure that is relevant) who cannot run compiled scripts.
This issue happens even if the compiled script is only a single line message box:

Code: Select all

Msgbox Hello
Clicking the .exe doesn't seem to even load an icon in the task bar. Nothing happens. A view of Task Manager shows that when the .exe is clicked some 'Windows Error Reporting' processes start, as well as an 'Application Error'.

I have some Windows log files for these from a user (Russian lang) who is having this issue.

Report.wer

Code: Select all

Version=1
EventType=APPCRASH
EventTime=131606294109124222
ReportType=2
Consent=1
UploadTime=131606294140263417
ReportStatus=100
ReportIdentifier=5cbfc47e-9888-4f03-b595-b77053e8032b
IntegratorReportIdentifier=ef205ae1-af6a-4172-9eaf-574112a0535e
Wow64Host=34404
Wow64Guest=332
NsAppName=test_01.exe
AppSessionGuid=000009f8-0001-0008-957c-382a3a8fd301
TargetAppId=W:0006894099bc710ee134cf2b164a150084fb00000904!00006646535535b5c0880b479152bc4c91a6e79bec00!test_01.exe
TargetAppVer=2017//03//05:09:48:51!0!test_01.exe
BootId=4294967295
ServiceSplit=3840231363
TargetAsId=1305
Response.type=4
Sig[0].Name=Имя приложения
Sig[0].Value=test_01.exe
Sig[1].Name=Версия приложения
Sig[1].Value=1.1.25.1
Sig[2].Name=Отметка времени приложения
Sig[2].Value=58bbdf03
Sig[3].Name=Имя модуля с ошибкой
Sig[3].Value=StackHash_fc24
Sig[4].Name=Версия модуля с ошибкой
Sig[4].Value=0.0.0.0
Sig[5].Name=Отметка времени модуля с ошибкой
Sig[5].Value=00000000
Sig[6].Name=Код исключения
Sig[6].Value=c0000005
Sig[7].Name=Смещение исключения
Sig[7].Value=PCH_B0_FROM_ntdll+0x0006ED1C
DynamicSig[1].Name=Версия ОС
DynamicSig[1].Value=10.0.16299.2.0.0.256.48
DynamicSig[2].Name=Код языка
DynamicSig[2].Value=1049
DynamicSig[22].Name=Дополнительные сведения 1
DynamicSig[22].Value=fc24
DynamicSig[23].Name=Дополнительные сведения 2
DynamicSig[23].Value=fc2493e0cff02c0cb5b59bf96ad33be2
DynamicSig[24].Name=Дополнительные сведения 3
DynamicSig[24].Value=fc24
DynamicSig[25].Name=Дополнительные сведения 4
DynamicSig[25].Value=fc2493e0cff02c0cb5b59bf96ad33be2
UI[2]=C:\Users\username\Desktop\test_01.exe
LoadedModule[0]=C:\Users\username\Desktop\test_01.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\System32\KERNEL32.DLL
LoadedModule[3]=C:\Windows\System32\KERNELBASE.dll
LoadedModule[4]=C:\Windows\System32\SHLWAPI.dll
LoadedModule[5]=C:\Windows\System32\msvcrt.dll
LoadedModule[6]=C:\Windows\System32\combase.dll
LoadedModule[7]=C:\Windows\System32\ucrtbase.dll
LoadedModule[8]=C:\Windows\System32\RPCRT4.dll
LoadedModule[9]=C:\Windows\System32\SspiCli.dll
LoadedModule[10]=C:\Windows\System32\CRYPTBASE.dll
LoadedModule[11]=C:\Windows\System32\bcryptPrimitives.dll
LoadedModule[12]=C:\Windows\System32\sechost.dll
LoadedModule[13]=C:\Windows\System32\GDI32.dll
LoadedModule[14]=C:\Windows\System32\gdi32full.dll
LoadedModule[15]=C:\Windows\System32\msvcp_win.dll
LoadedModule[16]=C:\Windows\System32\USER32.dll
LoadedModule[17]=C:\Windows\System32\win32u.dll
LoadedModule[18]=C:\Windows\System32\CRYPT32.dll
LoadedModule[19]=C:\Windows\System32\MSASN1.dll
LoadedModule[20]=C:\Windows\System32\PSAPI.DLL
LoadedModule[21]=C:\Windows\System32\COMDLG32.dll
LoadedModule[22]=C:\Windows\System32\shcore.dll
LoadedModule[23]=C:\Windows\System32\SHELL32.dll
LoadedModule[24]=C:\Windows\System32\cfgmgr32.dll
LoadedModule[25]=C:\Windows\System32\windows.storage.dll
LoadedModule[26]=C:\Windows\System32\advapi32.dll
LoadedModule[27]=C:\Windows\System32\kernel.appcore.dll
LoadedModule[28]=C:\Windows\System32\powrprof.dll
LoadedModule[29]=C:\Windows\System32\profapi.dll
LoadedModule[30]=C:\Windows\System32\ole32.dll
LoadedModule[31]=C:\Windows\System32\OLEAUT32.dll
LoadedModule[32]=C:\Windows\SYSTEM32\WSOCK32.dll
LoadedModule[33]=C:\Windows\System32\WS2_32.dll
LoadedModule[34]=C:\Windows\SYSTEM32\WINMM.dll
LoadedModule[35]=C:\Windows\SYSTEM32\VERSION.dll
LoadedModule[36]=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.16299.125_none_5d79065fa7de350f\COMCTL32.dll
LoadedModule[37]=C:\Windows\SYSTEM32\MSVCR100.dll
LoadedModule[38]=C:\Windows\SYSTEM32\WINMMBASE.dll
LoadedModule[39]=C:\Windows\System32\IMM32.DLL
OsInfo[0].Key=vermaj
OsInfo[0].Value=10
OsInfo[1].Key=vermin
OsInfo[1].Value=0
OsInfo[2].Key=verbld
OsInfo[2].Value=16299
OsInfo[3].Key=ubr
OsInfo[3].Value=125
OsInfo[4].Key=versp
OsInfo[4].Value=0
OsInfo[5].Key=arch
OsInfo[5].Value=9
OsInfo[6].Key=lcid
OsInfo[6].Value=1049
OsInfo[7].Key=geoid
OsInfo[7].Value=203
OsInfo[8].Key=sku
OsInfo[8].Value=48
OsInfo[9].Key=domain
OsInfo[9].Value=0
OsInfo[10].Key=prodsuite
OsInfo[10].Value=256
OsInfo[11].Key=ntprodtype
OsInfo[11].Value=1
OsInfo[12].Key=platid
OsInfo[12].Value=10
OsInfo[13].Key=sr
OsInfo[13].Value=0
OsInfo[14].Key=tmsi
OsInfo[14].Value=27930
OsInfo[15].Key=osinsty
OsInfo[15].Value=2
OsInfo[16].Key=iever
OsInfo[16].Value=11.125.16299.0-11.0.49
OsInfo[17].Key=portos
OsInfo[17].Value=0
OsInfo[18].Key=ram
OsInfo[18].Value=5084
OsInfo[19].Key=svolsz
OsInfo[19].Value=232
OsInfo[20].Key=wimbt
OsInfo[20].Value=0
OsInfo[21].Key=blddt
OsInfo[21].Value=170928
OsInfo[22].Key=bldtm
OsInfo[22].Value=1534
OsInfo[23].Key=bldbrch
OsInfo[23].Value=rs3_release
OsInfo[24].Key=bldchk
OsInfo[24].Value=0
OsInfo[25].Key=wpvermaj
OsInfo[25].Value=0
OsInfo[26].Key=wpvermin
OsInfo[26].Value=0
OsInfo[27].Key=wpbuildmaj
OsInfo[27].Value=0
OsInfo[28].Key=wpbuildmin
OsInfo[28].Value=0
OsInfo[29].Key=osver
OsInfo[29].Value=10.0.16299.125.amd64fre.rs3_release.170928-1534
OsInfo[30].Key=buildflightid
OsInfo[31].Key=edition
OsInfo[31].Value=Professional
OsInfo[32].Key=ring
OsInfo[33].Key=containerid
OsInfo[34].Key=containertype
OsInfo[35].Key=edu
OsInfo[35].Value=0
File[0].CabName=WERInternalMetadata.xml
File[0].Path=WERAE75.tmp.WERInternalMetadata.xml
File[0].Flags=327683
File[0].Type=5
File[0].Original.Path=\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAE75.tmp.WERInternalMetadata.xml
FriendlyEventName=Остановка работы
ConsentKey=APPCRASH
AppName=test_01.exe
AppPath=C:\Users\username\Desktop\test_01.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=9941C07877A488F0828B71A11B5AEE47
MetadataHash=911102658
WER5D97.tmp.WERInternalMetadata.xml

Code: Select all

<?xml version="1.0" encoding="UTF-16"?>

-<WERReportMetadata>


-<OSVersionInformation>

<WindowsNTVersion>10.0</WindowsNTVersion>

<Build>16299</Build>

<Product>(0x30): Windows 10 Pro</Product>

<Edition>Professional</Edition>

<BuildString>16299.125.amd64fre.rs3_release.170928-1534</BuildString>

<Revision>125</Revision>

<Flavor>Multiprocessor Free</Flavor>

<Architecture>X64</Architecture>

<LCID>1049</LCID>

</OSVersionInformation>


-<ProblemSignatures>

<EventType>APPCRASH</EventType>

<Parameter0>test_01.exe</Parameter0>

<Parameter1>1.1.25.1</Parameter1>

<Parameter2>58bbdf03</Parameter2>

<Parameter3>StackHash_fc24</Parameter3>

<Parameter4>0.0.0.0</Parameter4>

<Parameter5>00000000</Parameter5>

<Parameter6>c0000005</Parameter6>

<Parameter7>PCH_B0_FROM_ntdll+0x0006ED1C</Parameter7>

</ProblemSignatures>


-<DynamicSignatures>

<Parameter1>10.0.16299.2.0.0.256.48</Parameter1>

<Parameter2>1049</Parameter2>

<Parameter22>fc24</Parameter22>

<Parameter23>fc2493e0cff02c0cb5b59bf96ad33be2</Parameter23>

<Parameter24>fc24</Parameter24>

<Parameter25>fc2493e0cff02c0cb5b59bf96ad33be2</Parameter25>

</DynamicSignatures>


-<SystemInformation>

<MID>C5543C87-47DD-4859-AA6F-59257053AE57</MID>

<SystemManufacturer>SAMSUNG ELECTRONICS CO., LTD.</SystemManufacturer>

<SystemProductName>R530/R730</SystemProductName>

<BIOSVersion>05JD.M017.20100325.KSJ</BIOSVersion>

<OSInstallDate>1514480024</OSInstallDate>

<OSInstallTime>2017-12-28T16:53:10Z</OSInstallTime>

<TimeZoneBias>-05:00</TimeZoneBias>

</SystemInformation>


-<SecureBootState>

<UEFISecureBootEnabled>NotCapable</UEFISecureBootEnabled>

</SecureBootState>


-<ReportInformation>

<Guid>43305ac1-b8c7-4a00-976a-2f2e1fdc4739</Guid>

<ReportSource>queue</ReportSource>

<CreationTime>2018-01-17T02:26:29Z</CreationTime>

</ReportInformation>

</WERReportMetadata>
HotKeyIt
Posts: 1705
Joined: 29 Sep 2013, 18:35
Contact:

Re: Compiled script instantly fails / triggers Windows Error Reporting on some machines

17 Jan 2018, 17:51

Can you compile simple script using latest version and test again (with and without compression)?
5ball
Posts: 12
Joined: 28 Feb 2016, 10:04

Re: Compiled script instantly fails / triggers Windows Error Reporting on some machines

18 Jan 2018, 20:12

OK, I've installed the newest version (including newest compiler)

Test scripts that only have a msgbox
Test 1 - New version, with MPRESS and Encrypt + Compression.
Test 2 - New version, without MPRESS but with Encrypt + Compression
Test 3 - New version without MPRESS and without Encrypt + Compression

None of the test scripts work.
Same result (Windows Error Reporting + Application Error and script never starts) .
HotKeyIt
Posts: 1705
Joined: 29 Sep 2013, 18:35
Contact:

Re: Compiled script instantly fails / triggers Windows Error Reporting on some machines

31 Jan 2018, 18:43

Unfortunately not, I would need to be able to reproduce that, probably they have a problem with windows.
Can you ask them to update their windows and test again.
User avatar
Taurus
Posts: 49
Joined: 20 Jan 2015, 10:31

Re: Compiled script instantly fails / triggers Windows Error Reporting on some machines

15 Feb 2018, 17:49

Hi, i got the same problems. Some Win and Win Servers are not able to run them. (~5% from some thousand computers) I still don't know why. All systems are running well. The problem is still staying, although reinstalling the OS.

Try V1.1.24 from May 23, 2016. It's working an all systems.

Download it from here: https://github.com/HotKeyIt/ahkdll-v1-r ... 280b505000

@HotKeyIt: Is there any information, that would help you to fix that? Some diagnostic-tool?
Dev for a better world :) > PHP for Web > AHK H for Local > with KISS (Keep it Short and Simple) on Win 10 Pro (Version 1709) x64
HotKeyIt
Posts: 1705
Joined: 29 Sep 2013, 18:35
Contact:

Re: Compiled script instantly fails / triggers Windows Error Reporting on some machines

17 Feb 2018, 08:45

The best would be to be able to run debugger on one of those systems via Teamviewer or similar.

Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 5 guests