[10.50b1 x64] Unhandled exception when closing separate search by AHK script
Moderators: Hacker, petermad, Stefan2, white
Re: [10.50b1 x64] Unhandled exception when closing separate search by AHK script
2Hacker
Ok, let's try to walk through the steps from Author:
https://www.ghisler.ch/board/viewtopic.php?p=413369#p413369
Ok, let's try to walk through the steps from Author:
https://www.ghisler.ch/board/viewtopic.php?p=413369#p413369
#146217 personal license
Re: [10.50b1 x64] Unhandled exception when closing separate search by AHK script
AntonDudarenko,
Good idea, thank you, but no .dmp file has been created, unfortunately.
Roman
Good idea, thank you, but no .dmp file has been created, unfortunately.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: [10.50b1 x64] Unhandled exception when closing separate search by AHK script
ok, try this:
procdump.exe -accepteula -ma -e -x <path-to-folder-where-DMP-will-save> <path-to-totalcmd64.exe>
like:
procdump.exe -accepteula -ma -e -x C:\Dumps C:\TotalCmd\TOTALCMD64.exe
procdump.exe -accepteula -ma -e -x <path-to-folder-where-DMP-will-save> <path-to-totalcmd64.exe>
like:
procdump.exe -accepteula -ma -e -x C:\Dumps C:\TotalCmd\TOTALCMD64.exe
#146217 personal license
Re: [10.50b1 x64] Unhandled exception when closing separate search by AHK script
AntonDudarenko,
Thank you, but still nothing. Wouldn't the parent TC need to crash for a dump to be created or so?
Roman
Thank you, but still nothing. Wouldn't the parent TC need to crash for a dump to be created or so?
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [10.50b1 x64] Unhandled exception when closing separate search by AHK script
You don't need to provide a crash dump, I can reproduce it with your AHK script.
So far I could not find the reason, I get the same WM_SYSCOMMAND, SC_CLOSE as when I click on the X button...
Not true, I can a crash dump with TC10. It doesn't happen with 9.51, though.By the way, this behavior only happens in the 64-bit version and only since v10.50b1.
So far I could not find the reason, I get the same WM_SYSCOMMAND, SC_CLOSE as when I click on the X button...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [10.50b1 x64] Unhandled exception when closing separate search by AHK script
Christian,
Roman
Ah, great, thank you.You don't need to provide a crash dump, I can reproduce it with your AHK script.
Hmm, strange, I wasn't able to reproduce it. Sorry for the wrong information then.Not true, I can a crash dump with TC10.
Couldn't the problem be that you get it twice (once from the actual click, a second time from the script)?I get the same WM_SYSCOMMAND, SC_CLOSE as when I click on the X button
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [10.50b1 x64] Unhandled exception when closing separate search by AHK script
No, I checked it in the debugger, I only get it once.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [10.50b1 x64] Unhandled exception when closing separate search by AHK script
Because the crash happens when it tries to do so? Window is already closed when it tries to send the message?
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [10.50b1 x64] Unhandled exception when closing separate search by AHK script
That's a possibility. I now solved it by setting a short 0.1 second timer when I receive WM_CLOSE, and only close the window when that timer ends. This way all pending messages can still be handled before I close the window.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com