Exe sometimes freezes under 2024.2

webguy22

Member
Under 2024.2 compile, sometimes the exe will lock up / freeze when doing a simple task like clearing a form input file, javascript command, or even exiting the exe. Stopping the exe, via Task Manager, and then trying to reload the exe only displays the top menu items and “Please wait…” - it never loads the home (index.php) page. A PC/laptop reboot clears the issue. Didn’t have this problem with 2021.x.

Anybody else seeing this? Is something getting corrupted like system variable storage, something with the new Chromium version, or ? I looked at the error log and it’s empty.

And sometimes the exe is not showing in the Task Manager. Could it possibly still be running? Like when you compile the ExeOutput and tells you the exe is locked. But it’s not running nor in the Task Manager. And requires a PC reboot to unlock it.

Sorry, I don’t have more to provide or pinpoint a specific cause. It seems to be totally random across a few customers. All using Win 10 or greater.
 
I had similar issue. Ended up being a PHP script interacting with JavaScript function. It was hung (my issue - mistake in code). The way I found was activate dev tools and then look under the network tab to see what was being called.

Not saying this is your issue but maybe help you.

I have never seen a running process not show up in task manager.
 
"The way I found was activate dev tools and then look under the network tab to see what was being called."

Sorry, what do you mean activate the dev tools and look under network tab?

I'm only aware of turning on Enable PHP error logging and Store requests and errors to log.

FYI. The issue just happened to me. I opened the exe, it crashed / closed. When I went to reopen it, the skin appeared, Please wait... displayed, but it stuck there. Only way out was to reboot the laptop.
 
In Exeout, activate dev tools for your app:

1741549722762.webp

Save and rebuild app. Start app:

1741549765837.webp

The above is from Exeout Demo App. In the demo app I clicked on menu item phpinfo() and you can see the phpinfo.php which loaded.

Under the network tab you can see all looks good 200 OK. In the response tab, if there were errors, most likely be shown and tell you where to start looking.

This is not fool proof but can help you troubleshoot. You can click 1741550007652.webp to clear each time and will help keep the logs easier to find / read.

Also be sure to look at any errors under the console tab.

I personally cannot live without this troubleshooting tool. Use it with Exeout and HTMLexe. Also use in all browsers when troubleshooting.

Be sure to always set the devtools back to false after your finished.
 
In Exeout, activate dev tools for your app:

View attachment 3108

Save and rebuild app. Start app:

View attachment 3109

The above is from Exeout Demo App. In the demo app I clicked on menu item phpinfo() and you can see the phpinfo.php which loaded.

Under the network tab you can see all looks good 200 OK. In the response tab, if there were errors, most likely be shown and tell you where to start looking.

This is not fool proof but can help you troubleshoot. You can click View attachment 3110 to clear each time and will help keep the logs easier to find / read.

Also be sure to look at any errors under the console tab.

I personally cannot live without this troubleshooting tool. Use it with Exeout and HTMLexe. Also use in all browsers when troubleshooting.

Be sure to always set the devtools back to false after your finished.
Awesome. Thank you.
 
Had the exe crash and unable to restart unless a re-boot is done. The log says:

3/11/2025 9:39:38 PM Scheme Request URL start: https://heserver/index.php
3/11/2025 9:39:51 PM ERROR REMAINING ORPHEAN PHP PROCESSES

Anybody know what this means?

Does this mean a php program, called by index.php or within the exe, may still be running? The exe is not in Task Manager. Is there a way to clear this without a re-boot?
 
Last edited:
"Orphan PHP Processes" refers to instances where PHP scripts are still running without being properly attached to a parent process. This can happen due to various reasons, such as improper termination of scripts, server overload, or issues with system resource management. These orphaned processes can consume server resources unnecessarily, potentially leading to performance degradation or server crashes.

These tasks that keep running without being managed can slow down the computer or even make it freeze up. So, it’s important to fix these leftover tasks to keep everything working smoothly.

This is going to take some troubleshooting for sure. Have battled this type of behavior especially back in the PHP 5 days.

Best bet is to open your task manager before running app. Take a close look at running processes and cpu usage. Click on the CPU column to sort by CPU usage. Start your app and note the processes. Especially look for processes that cause high CPU usage.

I have had to take my code to a test server to troubleshoot / find issues. There are many open-source debug tools that may help you, but they all have a learning curve.
 
Back
Top