I upgraded from 2022r2.1 to 2023r1.1 in the past couple days. I have two dev machines: one Mac and one Windows, plus my laptop at home (mac) which I occasionally enable the license on to do work from home. All three machines are on 2023r1.1.
I created a new app on the laptop at home this weekend. Brought it into my mac at work and hooked it up to a bunch of existing code/modules. And then on Windows, where I will be running the final application I’m making, I made a couple minor edits/additions last night. So the files have been edited on three different machines in the past few days. I use github to move files between machines so they’re always in sync. Nothing fancy, I push changes when I finish on one machine and pull them down on the other.
In any case, today I was happily working on the Mac when Xojo suddenly crashed on me. Hard crash, dropped into the Apple crash reporting window. Below is what I get there (at least the beginning of it). This happens every time I open a method in one of my modules.
It looks like the issue might be related to text encoding? Again, this happens when I click on ANY method in the tree on the left side of the IDE.
Process: Xojo [18220]
Path: /Applications/Xojo 2023 Release 1.1/Xojo.app/Contents/MacOS/Xojo
Identifier: com.xojo.xojo
Version: 23.1.1.59845 (23.1.1.3.59845)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xojo [18220]
User ID: 502
Date/Time: 2023-05-23 12:06:43.665 -0400
OS Version: macOS 11.7.3 (20G1116)
Report Version: 12
Bridge OS Version: 7.2 (20P3045)
Anonymous UUID: F91C1402-32D4-1325-83CA-BC2BE042C639
Time Awake Since Boot: 92000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000001
Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0x1:
-->
__TEXT 10873a000-11a203000 [282.8M] r-x/r-x SM=COW /Applications/Xojo 2023 Release 1.1/Xojo.app/Contents/MacOS/Xojo
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreServices.CarbonCore 0x00007fff22adfc0f UmapBCharToUChars + 211
1 com.apple.CoreServices.CarbonCore 0x00007fff22adf14b ConvertFromTextToUnicodeImplementation + 695
2 com.apple.textencoding.unicode 0x00000001300e58a1 ConvertToUnicodeHook + 153
3 com.apple.CoreServices.CarbonCore 0x00007fff22afd91a TECConvertTextInternal + 705
4 com.apple.CoreServices.CarbonCore 0x00007fff22afd60a TECConvertText + 195
5 com.xojo.XojoFramework 0x000000011b4983bb ConvertTextMacOS(OpaqueTECObjectRef**, stringStorage*, unsigned int, unsigned int) + 190
6 com.xojo.XojoFramework 0x000000011b498680 ConvertEncoding(string, unsigned int) + 245
7 com.xojo.XojoFramework 0x000000011b3142a0 string::GetUTF8String() const + 100
8 com.xojo.XojoFramework 0x000000011b34e4ae 0x11b1e4000 + 1483950
9 com.xojo.XojoFramework 0x000000011b34e446 RuntimeControlFetch + 81
10 com.xojo.XojoFramework 0x000000011b34e54a RuntimeControlReference + 11
11 com.xojo.xojo 0x0000000108a092ed Window._ControlByName%o<Object>%o<Window>s + 93
12 com.xojo.xojo 0x0000000112d33d32 MultilinePropertyEditor.MultilinePropertyEditor._CreateControls0%%o<MultilinePropertyEditor.MultilinePropertyEditor> + 11058
13 com.xojo.xojo 0x0000000112d311bd MultilinePropertyEditor.MultilinePropertyEditor.CreateControls%%o<MultilinePropertyEditor.MultilinePropertyEditor> + 45
14 com.xojo.XojoFramework 0x000000011b461713 RuntimeCreateWindow + 857
15 com.xojo.xojo 0x0000000108a09809 Window.__Init%%o<Window> + 41
16 com.xojo.XojoFramework 0x000000011b44e402 0x11b1e4000 + 2532354
17 com.xojo.XojoFramework 0x000000011b44e402 0x11b1e4000 + 2532354
18 com.xojo.XojoFramework 0x000000011b44e402 0x11b1e4000 + 2532354
19 com.xojo.XojoFramework 0x000000011b44e402 0x11b1e4000 + 2532354
20 com.xojo.XojoFramework 0x000000011b44e301 RuntimeNewObject + 303
21 com.xojo.XojoFramework 0x000000011b45e802 WindowAllocateObject + 22
22 com.xojo.xojo 0x0000000108a0985e Window.__New%o<Object>%o<Window>p + 30
23 com.xojo.xojo 0x0000000112a70467 PropertiesView.PropertiesView.EditorForItem%o<PropertyEditor>%o<PropertiesView.PropertiesView>o<InspectableItem>i8 + 46935
24 com.xojo.xojo 0x0000000112bf38ce PropertiesView.PropertiesView.RebuildUI%%o<PropertiesView.PropertiesView>o<RBProjectItem> + 1388030
25 com.xojo.xojo 0x0000000112c7b49c PropertiesView.PropertiesView.SetTargets%%o<PropertiesView.PropertiesView>A1o<InspectableItem>o<RBProjectItem> + 2284
26 com.xojo.xojo 0x000000010f530918 StudioMainWindow.StudioMainWindow.InspectorChanged%%o<StudioMainWindow.StudioMainWindow>o<EditorPaneImp>A1o<InspectableItem> + 568
27 com.xojo.xojo 0x000000010ad7125c EditorPaneImp.SetPropertiesTargets%%o<EditorPaneImp>A1o<InspectableItem> + 300
28 com.xojo.xojo 0x000000011178cb86 StudioMainEditor.StudioMainEditor.SetPropertiesTargets%%o<StudioMainEditor.StudioMainEditor>A1o<InspectableItem> + 86
29 com.xojo.xojo 0x000000011093aab9 StudioMainEditor.StudioMainEditor.GoToLocations%b%o<StudioMainEditor.StudioMainEditor>A1o<SourceListSupport.SourceListItem>bi8 + 427001
30 com.xojo.xojo 0x000000010f7a37f1 StudioMainEditor.StudioMainEditor.ProjectSourceList_Change%b%o<StudioMainEditor.StudioMainEditor>o<SourceList.SourceList>A1o<SourceListSupport.SourceListItem> + 209
31 com.xojo.xojo 0x000000011311b807 SourceList.SourceList.TriggerChange%b%o<SourceList.SourceList>A1o<SourceListSupport.SourceListItem> + 135
32 com.xojo.xojo 0x000000011308e6aa SourceList.SourceList.SingleSelectRow%%o<SourceList.SourceList>o<SourceListSupport.SourceListItem> + 5018
33 com.xojo.xojo 0x0000000112fcd72c SourceList.SourceList.SourceCanvas_Click%%o<SourceList.SourceList>o<ControlCanvas>o<REALbasic.Point> + 2028
34 com.xojo.xojo 0x0000000111beb8fc ControlCanvas.Event_MouseUp%%o<ControlCanvas>i8i8 + 1676
35 com.xojo.XojoFramework 0x000000011b34890f RuntimeCanvas::HandleMouseUp(xojo::Value<xojo::Points>, xojo::Value<xojo::Points>) + 283
36 com.xojo.XojoFramework 0x000000011b2d9158 0x11b1e4000 + 1003864
37 com.xojo.XojoFramework 0x000000011b2d4796 0x11b1e4000 + 984982
38 com.apple.AppKit 0x00007fff23108045 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2719
39 com.apple.AppKit 0x00007fff23107386 -[NSWindow(NSEventRouting) sendEvent:] + 347
40 com.xojo.XojoFramework 0x000000011b2d574d 0x11b1e4000 + 989005
41 com.apple.AppKit 0x00007fff23105794 -[NSApplication(NSEvent) sendEvent:] + 352
42 com.xojo.XojoFramework 0x000000011b2c5ec3 0x11b1e4000 + 925379
43 com.xojo.xojo 0x0000000108a48d75 Application._CallFunctionWithExceptionHandling%%o<Application>p + 181
44 com.xojo.XojoFramework 0x000000011b44c1a3 CallFunctionWithExceptionHandling(void (*)()) + 254
45 com.xojo.XojoFramework 0x000000011b2c5e41 0x11b1e4000 + 925249
46 com.apple.AppKit 0x00007fff233de531 -[NSApplication _handleEvent:] + 65
47 com.apple.AppKit 0x00007fff22f6e62e -[NSApplication run] + 623
48 com.xojo.XojoFramework 0x000000011b44aac9 RuntimeRun + 44
49 com.xojo.xojo 0x0000000108c10513 REALbasic._RuntimeRun + 19
50 com.xojo.xojo 0x0000000119fd5226 _Main + 326
51 com.xojo.xojo 0x0000000119f97de3 main + 19
52 libdyld.dylib 0x00007fff20699f3d start + 1