XOJO crash

Hello everyone,

I have multiple XOJO versions (from 2017r3 to 2023r2) installed on my PC (Win 10 - Build 19045.3324).
I had one situation today, where XOJO totally crashed. After that, I am unable to load any project, or even create new one. I am receiving error with message:

The application has encountered a fatal problem and must be shut down.

I tried running installation of latest version, uninstalling all XOJO versions, and installing only latest one, but problem persists.

Is there some way to trace why XOJO crashes?

I think that there is some file which is damaged from first crash, which is not being deleted by Uninstaller.

Thank you

Try deleting the cache as a first step.
Using Explorer, look in Users/YourUser/AppData/Roaming/Xojo
and delete the subfolder/s

You will need to tell File Explorer to show hidden folders.

Thank you for advice. I tried it, with no success.

Do all the versions crash?
If so, have you installed a patch into Windows recently?
If so, do you have a System Restore point you can roll back to?

Do you use OneDrive or Dropbox ?

I also suggest rebooting. It could be that some critical file is locked.

Do all the versions crash?
Yes, all of them. After that, I uninstalled other versions, left only last one.

If so, have you installed a patch into Windows recently?
I did install Windows Update today, but only after this problem occured. Last update was probably a month ago.

Do you use OneDrive or Dropbox ?
Using OneDrive for about a year, but nothing new from today.

Tried restart and shut down.

Also, before uninstall and before new installation, I did restart again, just to be sure.

Not a fix but, can you try creating a new user for your computer and see if Xojo works there?

1 Like

Is the hard drive full?
Have you run a scandisk on it?

Is the Xojo splash/loading screen still coming up for you, or is it crashing even before that? Itā€™s possible thereā€™s something corrupt about the Recent items or weā€™re attempting to restore the previous project that crashed incorrectly. Clearing up the Recent items might be a good idea to start with. Those are located in your registry under HKEY_CURRENT_USERS\Software\Xojo
You could wipe the entire Xojo registry folder if you wanted a clean start.

If you would like to help us track this down you can run WinDbg and attach it to Xojo.exe and send us the stack trace when Xojo crashes. This may also give you a better idea of what is happening too.

Just tried it. It is working on newly created user.

What XOJO has user based, except %APPDATA% and %TEMP% ?

Sorry William, didnā€™t see your answer, gonna try it right now. Thank you.

I am seeing splash screen, and also first window. It crash when I try to create new project, or load existing one.

Hard drive is at ~70% of capacity, and sfc /scannow didnā€™t report any problems.

I didnā€™t want to lose theme settings, since I didnā€™t have it exported :sweat_smile:

So I tried deleting keys one by one, and trying to create new project. Not sure what was problematic, but when I deleted ā€œRemote Debugger Stubsā€ in Computer\HKEY_CURRENT_USER\SOFTWARE\ it started working again.

Thank you very much for this quick help everyone, and thank you William!

:slightly_smiling_face:

2 Likes