Xojo IDE hangs on save

Has anyone else experienced Xojo freezing when saving since the last beta r3.1?
It just stays here and nothing happens:

We have never experienced this behaviour before.
It also happens after restarting the Mac.
Can only be closed using the “Force Quit…” function in MacOS.
Tahoe 26.1

Have you tried to sample Xojo from Activity Monitor?
What does it show?

Nearly no activity.

Did you mean the analysis of the prozess?

Analyse von „Xojo“.zip (82.6 KB)

Not much to see there. Some TCP sockets and auto release pools:

+                               !   1 voucher_mach_msg_revert  (in libdispatch.dylib) + 0  [0x19ddcbdc8]
+                               8 __CFRunLoopRun  (in CoreFoundation) + 1816  [0x19dfff75c]
+                               ! 6 __CFRunLoopDoTimers  (in CoreFoundation) + 280  [0x19e00e9b4]
+                               ! : 5 __CFRunLoopDoTimer  (in CoreFoundation) + 980  [0x19e00ee3c]
+                               ! : | 5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__  (in CoreFoundation) + 32  [0x19e00f17c]
+                               ! : |   4 ???  (in XojoFramework)  load address 0x113c40000 + 0x1529e4  [0x113d929e4]
+                               ! : |   + 4 ???  (in XojoFramework)  load address 0x113c40000 + 0x132740  [0x113d72740]
+                               ! : |   +   2 DoNetIdle(unsigned char)  (in XojoFramework) + 276  [0x113d4fac8]
+                               ! : |   +   ! 2 TCPSocketPosix::Poll()  (in XojoFramework) + 420  [0x113d4d490]
+                               ! : |   +   !   2 __select  (in libsystem_kernel.dylib) + 8  [0x19df29e54]
+                               ! : |   +   2 DoNetIdle(unsigned char)  (in XojoFramework) + 492  [0x113d4fba0]
+                               ! : |   +     2 TCPSocketPosix::MoreDataToReceive()  (in XojoFramework) + 60  [0x113d4ea70]
+                               ! : |   +       2 ioctl  (in libsystem_kernel.dylib) + 36  [0x19df2330c]
+                               ! : |   +         2 __ioctl  (in libsystem_kernel.dylib) + 8  [0x19df23320]
+                               ! : |   1 ???  (in XojoFramework)  load address 0x113c40000 + 0x1529d4  [0x113d929d4]
+                               ! : |     1 AutoreleasePool::AutoreleasePool()  (in XojoFramework) + 28  [0x113d8d274]
+                               ! : |       1 DYLD-STUB$$objc_alloc  (in XojoFramework) + 0  [0x113ef3d78]

Yes, the exact same thing for me. It’s happened twice to me (once with each version for 2025 r3.1 beta). Also, has never happened to me before this version.

  1. I let it sit for 15 minutes. There was no CPU activity during this time. I had other Xojo projects open that I was able to save and quit normally before finally force quitting Xojo.

  2. I tried to recreate this issue, but was not successful. I’ve saved multiple times and ways before and after with no issues.

  3. I save to my local Development folder which is not in the cloud.

  4. Both times that this issue appeared, it was saving as a Xojo Project.

  5. Fortunately I had run my program not too long before the lockup, so next time I started Xojo, I was able to restore the project.

  6. I’m on a MacBook M4 Pro, running Tahoe (26.2)

-Pete

Does this only happen in the .1 release?

The first time it showed up for me was in the .1 release. I saved many times in the 2025r3 with no issues.

1 Like

Hopefully the hangs happen before Xojo starts to overwrite the project!
(Having seen corrupted projects before, I assume Xojo doesn’t save to a temporary file prior to writing to the final file; but it wasn’t recently that I saw that so I might be wrong now).

Honestly, I do not care about that. Source control means you can roll back from a mis-written project.

I am far more concerned that the changes never make it to disk and are lost.

1 Like

I was able to reproduce it:
https://tracker.xojo.com/xojoinc/xojo/-/issues/80674

In my case I drag and dropped some windows into the IDE to check if this bug still exists that paths are written wrong ../../../../../..
https://tracker.xojo.com/xojoinc/xojo/-/issues/78891

After checking and confirming this bug still exists I deleted the windows again and saved the project → IDE hangs.

Javier confirmed on the ticket that this affects the public release. Can we move this thread to general so everyone is made aware their project may not save?

1 Like

I co-sign this request, because I constantly hit the Save button when I’m coding, and this causes me concern.

Yeah, that bug even existed on previous releases.

I wonder which releases? I’ve not seen the issue with 2025r3 so far.

I could reproduce it even with 2025r2.1, but only on Tahoe.

Ah, an important detail emerges!

But i was wrong, sorry. Tried again and could reproduce on Sequoia 15.7.2, too. With 2025r3.1 and 2025r2.1.

This thread should really be public.

The issue affects release and previous versions.

1 Like

I have to say, i was not aware that this is even allowed.

See issues here: