Built EXE often crashes on launch

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I have a Fusion-created EXE that frequently crashes on startup. Not my game, but a utility helper program that I've built for myself that sits in the system tray (it initially doesn't do much while it's there other than wait for certain keypresses, to launch various utility modules within the program)

    I'd estimate that it crashes (immediately on launch) about 15% of the time that I run it. The rest of the time it runs fine, for hours at a time. When it runs and when it crashes seems to be quite random. Sometimes it will crash 4 times on 4 consecutive launches. Sometimes it will crash once then launch successfully on the next attempt. Often it it will launch successfully 10 times in a row. The crashes all pertain to the EXE. As far as I can tell, launching the MFA runtime from within Fusion never causes the crash.

    It doesn't appear to be an antivirus/quarantine issue. My antivirus doesn't report any activity, and the folder is whitelisted. The only information I have about the crashes is from the logfile that Phi's Debug Object produces:

    Code
    5	-1	11:29:04	*** Crash occured in the MMF2 program at address 0x77C07441 ***
    5	-2	11:29:04	A thread running code inside ntdll.dll was denied access to read from address 0x00201107.
    5	-1	11:29:04	Handling via quit.

    Does anyone have any idea what could be causing this? I don't expect anyone to have the complete solution, but maybe someone can offer advice on next steps for how to hunt down the culprit?

    Please login to see this link.
    My Fusion Tools: Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Yves was able to find the problem. The crashes seemed to be caused by the Load Icon from [file] function of the Advanced Tray Object. If I put that action into an always event to test it, I reliably get a crash within a couple of seconds. I don't know if it's a problem with the extension, or perhaps there's something wrong with the structure of my ICO file.

    If anyone else has this problem, try using the Set Icon Image to Application Icon function instead (which uses the icon you've uploaded in your MFA properties). That works without any crashes for me. :thumbup:

    Please login to see this link.
    My Fusion Tools: Please login to see this link. | Please login to see this link. | Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!