Crash with ahkThread on Win10 x64 - v1.1.28

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Crash with ahkThread on Win10 x64 - v1.1.28

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by robodesign » 25 Mar 2018, 14:38

I confirm as well. Seems to be fixed, indeed.

Thank you very much!

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by guest3456 » 25 Mar 2018, 14:13

HotKeyIt wrote:I think I have found the problem, can you please try latest release.
yes looks like its fixed :thumbup:

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by HotKeyIt » 25 Mar 2018, 09:54

I think I have found the problem, can you please try latest release.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by robodesign » 25 Mar 2018, 03:29

Yes, I just tested H006 and it still crashes. It has not yet been fixed.

Thank you for working on fixing bugs.

Win 10 x64, build 1709.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by guest3456 » 24 Mar 2018, 19:35

HotKeyIt wrote:

Code: Select all

#Persistent
 testThread := ahkThread("#Persistent`n#NoTrayIcon`nSoundBeep`nReturn")
 SoundBeep
Return
Just tested with latest release (1.1.28.0-H006) using 32w, 32a and 64 bit also in C:\Temp and no crash, script runs as expected :?
Can you please test again with the newest release?
still a silent crash on all 3 for me, win10x64 version 1709 build 16299.309

works on the v2 builds

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by HotKeyIt » 24 Mar 2018, 18:51

Code: Select all

#Persistent
 testThread := ahkThread("#Persistent`n#NoTrayIcon`nSoundBeep`nReturn")
 SoundBeep
Return
Just tested with latest release (1.1.28.0-H006) using 32w, 32a and 64 bit also in C:\Temp and no crash, script runs as expected :?
Can you please test again with the newest release?

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by robodesign » 23 Mar 2018, 09:33

THANK YOU VERY MUCH FOR CONFIRMING THIS!!!!!!!! It crashes based on the current folder of AHK-H.

Lets hope the developer takes notice ;-).

Best regards, Marius.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by guest3456 » 23 Mar 2018, 09:16

robodesign wrote:Yes, sure!

1. I downloaded the ZIP and unpacked it.
2. I created the file: AutoHotkey.ahk ... in x32w.
The content is:

Code: Select all

 #Persistent
 testThread := ahkThread("#Persistent`n#NoTrayIcon`nSoundBeep`nReturn")
 SoundBeep
Return
3. Executed the file with AutoHotkey.exe from x32w.
4. Result: it crashed all the same. Instantly. No beeps.
yes, this now fails for me too with the latest release

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by robodesign » 23 Mar 2018, 05:36

@the developer:

Please test the provided sample script when AHKH is executed from C:\Temp\ ... It crashes ON ANY SYSTEM. It also crashed under other folder names, not just this one.

Best regards, Marius.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by robodesign » 09 Mar 2018, 08:35

Release 1.1.28.H004 still crashes instantenously... with the example provided here.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by robodesign » 07 Mar 2018, 15:31

@hotkeyit: I was able to reproduce the issue on Win 7 x64 as well, on my old PC. On reload, with just one ahkThread, it crashed.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by HotKeyIt » 04 Mar 2018, 17:41

That should be no problem, when program exits the threads are terminated and memory is freed automatically.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by Drugwash » 04 Mar 2018, 11:52

Incidentally I've stumbled into a comment in the source file AhkThread.ahk, stating "; keep dll loadded even if returned object is freed".
I'm wondering whether the dll remains in memory even after last object/thread was deleted/closed and this could somehow clash with creating a new thread upon main script's restart, maybe if the dll is slow to unload or is hung?

Actually I just posted a question regarding the two thread-closing functions ahkThread_Free() and ahkTerminate[] since their usage is confusing.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by HotKeyIt » 02 Mar 2018, 18:04

I don't think any of the changes were relevant to this, can't imagine it would fix something and I still can't reproduce.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by robodesign » 02 Mar 2018, 12:39

HotKeyIt wrote:Yes please.
In the latest build, more precisely... v1.1.28.H003... the threads issue is fixed, partially.

The same script given as example in the initial post works now, but on Reload [from the standard tray menu], it crashes. The same applies with all other scripts I tested and use ahkThread.

I suppose the same fix must be applied to the reload routine[?].

Thank you!

Best regards, Marius.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by HotKeyIt » 23 Feb 2018, 02:36

Yes please.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by robodesign » 22 Feb 2018, 17:32

Yes, we can do that. Please let me know how to get in contact and establish the details. I am available on WhatsApp. Messenger or irc.

Should I drop you a private message with my contact details?

Thank you very much.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by HotKeyIt » 22 Feb 2018, 17:14

Since it can't be reproduced here, I would need to take a look on it on your machine using teamviewer or similar.
Let me know if that would be possible and we can schedule a session.

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by robodesign » 22 Feb 2018, 09:41

Any updates on this issue?

Re: Crash with ahkThread on Win10 x64 - v1.1.28

by robodesign » 18 Feb 2018, 11:49

With complex scripts, I get the common Windows 10 error message.

Autohotkey_H Unicode 64-bit a cesse de fonctionner. Un problème a fait que le programme a cesse de fonctionner correctement.

[I have Windows en français :-) ].

With this simple script, it silently exits and I get no message and no beeps.

Top