# Xojo 2022R3.1 crashes galore

**URL:** <https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887>\
**Category:** macOS\
**Created:** [October 26, 2022, 4:02pm UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887 "2022-10-26T16:02:45Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![AlbertoD](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@AlbertoD](https://forum.xojo.com/u/AlbertoD)\
**Post date:** [November 12, 2022, 1:59pm UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/41 "2022-11-12T13:59:47Z")

</div>

I guess: Developer Technical Support

But it looks like they changed it to TSI?  
[https://developer.apple.com/forums/thread/8146](https://developer.apple.com/forums/thread/8146)  
mentions:

> **[Requesting Technical Support - Support - Apple Developer](https://developer.apple.com/support/technical/)**
>
> Learn how to receive code-level help from an Apple engineer by submitting a Technical Support Incident.

but that page is not showing DTS but TSI

Google still shows DTS wording for the technical page:  
 ![image](https://forum.xojo.com/uploads/default/original/2X/2/2bc2bf4ff58a2d873577d1c78435de7c9ffd03a2.png)

---

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [November 12, 2022, 3:27pm UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/42 "2022-11-12T15:27:22Z")

</div>

Who said it is a bug in macOS? I only see this issue with Xojo, yet Xojo Inc is very silent about this.

---

<div class="post-metadata">

**Author:** ![Thomas\_Roemert](https://forum.xojo.com/user_avatar/forum.xojo.com/thomas_roemert/32/827_2.png) [@Thomas\_Roemert](https://forum.xojo.com/u/Thomas_Roemert)\
**Post date:** [November 12, 2022, 4:14pm UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/43 "2022-11-12T16:14:19Z")

</div>

> [@ChristopheDV](#):
>
> Who said it is a bug in macOS?

Your Crashreports shows dlopen() as the reason for the crashes and as Christian already stated: thats Apple’s code:

> [@Christian\_Schmitz](#):
>
> The crashes are in dlopen() loading the dylib from the plugin. And that is Apple’s code which randomly crashes every 1000th time or so

Its the same with every new macOS: the first version contains more or less obvious bugs, which will hopefully be fixed in the next two or three dot releases.  
As long as Xojo build apps work fine under Ventura, I can stay with Monterey on my MacStudio and wait until Apple (and Xojo Inc) found and fixed all bugs…

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [November 12, 2022, 4:18pm UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/44 "2022-11-12T16:18:53Z")

</div>

> [@Thomas\_Roemert](#):
>
> As long as Xojo build apps work fine under Ventura

There are really odd bugs which you need to test yourself. And bugs don’t fix themselves.

@ChristopheDV : do you want to do a DTS? You would be perfect because on your computer Xojo crashes so often.

---

<div class="post-metadata">

**Author:** ![Thomas\_Roemert](https://forum.xojo.com/user_avatar/forum.xojo.com/thomas_roemert/32/827_2.png) [@Thomas\_Roemert](https://forum.xojo.com/u/Thomas_Roemert)\
**Post date:** [November 12, 2022, 4:24pm UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/45 "2022-11-12T16:24:32Z")

</div>

> [@Beatrix\_Willius](#):
>
> There are really odd bugs which you need to test yourself. And bugs don’t fix themselves.

Maybe I am lucky, but until now I didn’t find a Ventura related bug in one of my apps and there are no customer reports. Might change when more people switch to Ventura…

---

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [November 12, 2022, 5:04pm UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/46 "2022-11-12T17:04:53Z")

</div>

> [@Thomas\_Roemert](#):
>
> Your Crashreports shows dlopen() as the reason for the crashes and as Christian already stated: thats Apple’s code:

And why does other apps not crash? Xcode also load a lot of dylibs.

---

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [November 12, 2022, 5:06pm UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/47 "2022-11-12T17:06:15Z")

</div>

How to do that?

---

<div class="post-metadata">

**Author:** ![Thomas\_Roemert](https://forum.xojo.com/user_avatar/forum.xojo.com/thomas_roemert/32/827_2.png) [@Thomas\_Roemert](https://forum.xojo.com/u/Thomas_Roemert)\
**Post date:** [November 12, 2022, 5:28pm UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/48 "2022-11-12T17:28:40Z")

</div>

> [@ChristopheDV](#):
>
> And why does other apps not crash? Xcode also load a lot of dylibs.

I am sure Apple did heavy testing for Xcode and fixed all dylib-related bugs they found. Looks like that were not all…

---

<div class="post-metadata">

**Author:** ![Sam\_Rowlands](https://forum.xojo.com/user_avatar/forum.xojo.com/sam_rowlands/32/265_2.png) [@Sam\_Rowlands](https://forum.xojo.com/u/Sam_Rowlands)\
**Post date:** [November 13, 2022, 12:13am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/49 "2022-11-13T00:13:00Z")

</div>

DTS = Developer Tech Support.  
TSI = Tech Support Incident.

You contact DTS and open a TSI.

---

<div class="post-metadata">

**Author:** ![Sam\_Rowlands](https://forum.xojo.com/user_avatar/forum.xojo.com/sam_rowlands/32/265_2.png) [@Sam\_Rowlands](https://forum.xojo.com/u/Sam_Rowlands)\
**Post date:** [November 13, 2022, 12:21am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/50 "2022-11-13T00:21:46Z")

</div>

I suspect it has to do with when the dylibs are loaded. If the dylibs are linked in the Mach-O file, the Mach-O loader will load the dylibs at launch time.

The crash appears to be occurring when Xojo is manually loading dylibs at runtime (once the Mach-O loader has long completed).

My guess would be that Xojo has contacted Apple and there is no quick workaround for yet another Apple bug.

If only Xojo were to say something, rather than leaving their customers scrambling and guessing in the dark.

---

<div class="post-metadata">

**Author:** ![Sam\_Rowlands](https://forum.xojo.com/user_avatar/forum.xojo.com/sam_rowlands/32/265_2.png) [@Sam\_Rowlands](https://forum.xojo.com/u/Sam_Rowlands)\
**Post date:** [November 13, 2022, 12:24am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/51 "2022-11-13T00:24:03Z")

</div>

> [@Thomas\_Roemert](#):
>
> I am sure Apple did heavy testing for Xcode and fixed all dylib-related bugs they found. Looks like that were not all…

Yes, they did. It’s called the “Beta” program where paying customers test their unreleased products and report bugs back to the Apple engineers. You don’t become a 3 trillion dollar company by spending bucket loads on internal QA, when you can get your customers to pay you to do it…  
hmmm sounds familiar…

---

<div class="post-metadata">

**Author:** ![Greg\_O](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o/32/22785_2.png) [@Greg\_O](https://forum.xojo.com/u/Greg_O)\
**Post date:** [November 13, 2022, 3:02am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/52 "2022-11-13T03:02:08Z")

</div>

> [@Sam\_Rowlands](#):
>
> If only Xojo were to say something, rather than leaving their customers scrambling and guessing in the dark.

It’s entirely possible that Xojo has no information to offer us yet, heck, they could be bound by a developer NDA for all we know.

I’m trying to think if I’ve got any dylibs that get loaded using a dlopen declare which would be easy to test and submit to Apple.

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [November 13, 2022, 6:32am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/53 "2022-11-13T06:32:40Z")

</div>

@Geoff_Perlman : can you give us some information if the bug is being addressed by you or Apple?

---

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [November 13, 2022, 8:28am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/54 "2022-11-13T08:28:03Z")

</div>

> [@Sam\_Rowlands](#):
>
> If only Xojo were to say something, rather than leaving their customers scrambling and guessing in the dark.

Word!

---

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [November 13, 2022, 8:35am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/55 "2022-11-13T08:35:50Z")

</div>

Just for fun I created an Apple Script that launches Xojo every 4 minutes, which should be enough, and see if I can get it launched on my Studio M1 Max.

I did set the Lock Screen preference to ‘never’ so it would not go to sleep.  
I then ran this script all night long. Unfortunately no times there was a successful launch of Xojo.  
I did forget to add a counter to see how many times it tried but at estimate it must have been 120 times.

I can safely say Xojo is not working anymore on macOS 13.0.1 (for me).

---

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [November 13, 2022, 9:35am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/56 "2022-11-13T09:35:51Z")

</div>

Well, I had an idea. I put the full Xojo folder on an old slow USB stick (FAT32 formatted). Launched it from that stick and … it loaded fine from the first time.  
So maybe it is because the SSD on a MBP M1 Pro and Studio M1 Max is too fast? Figures I-)

Launching it again from my build in SSD, and it crashes.

---

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [November 13, 2022, 10:02am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/57 "2022-11-13T10:02:27Z")

</div>

In my 1st generation m1 MacBook Pro, the internal SSD speed is around 2700MBps…

So yours can be faster !

---

<div class="post-metadata">

**Author:** ![Ian\_Kennedy](https://forum.xojo.com/user_avatar/forum.xojo.com/ian_kennedy/32/6860_2.png) [@Ian\_Kennedy](https://forum.xojo.com/u/Ian_Kennedy)\
**Post date:** [November 13, 2022, 10:06am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/58 "2022-11-13T10:06:50Z")

</div>

My latest generation MacBook Pro M1 Max 16" has a built in SSD capable of 5500MB/s read and write speeds, possibly slightly more (according to Blackmagic) and hasn’t shown an crash.

---

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [November 13, 2022, 10:26am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/59 "2022-11-13T10:26:05Z")

</div>

@Ian: Waoooo… Xojo is fast then !

Blackmagic Disk Speed Test.app  
Available for free in the Apple Store.

Nice macOS update; they set “Sort alphabetically” my Applications folder where I set it only to “Snap to grid” !

---

<div class="post-metadata">

**Author:** ![Ian\_Kennedy](https://forum.xojo.com/user_avatar/forum.xojo.com/ian_kennedy/32/6860_2.png) [@Ian\_Kennedy](https://forum.xojo.com/u/Ian_Kennedy)\
**Post date:** [November 13, 2022, 10:39am UTC](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887/60 "2022-11-13T10:39:06Z")

</div>

Yes, that’s the app and yes, it is fast.

[Previous page](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887.md?page=2)

[Next page](https://forum.xojo.com/t/xojo-2022r3-1-crashes-galore/72887.md?page=4)
