Feedback Case Number: 64509
Feedback Case URL: <https://xojo.com/issue/64509>
Feedback Case Title: 64509 - IDE on Apple arm-64 crashes with datecontrol (IDE crashes)
We have sudden crashes in the IDE this seems to happen alot on a daily basis since 2021 R1 on MacOS ARM-64 Big Sur systems. This crash is so dooming that when working with 2021 R1 we are unable to continue for longer than 20 minutes using this version any longer on Native ARM-64.
Crash happens if the IDE window is moved (dragged) or something is changed on anther screen for example. The report seems to indicate something to do with moving the IDE window but we’re not sure what’s the actual problem. Here is the crash report:
Xojo: Xojo 2021r1
Steps: On (2021 R1) a MacBook Pro M1 the IDE constantly crashes out of the blue with this log:
Process: Xojo [2344]
Path: /Applications/Xojo 2021 Release 1/Xojo.app/Contents/MacOS/Xojo
Identifier: com.xojo.xojo
Version: 21.1.0.52577 (21.1.0.3.52577)
Code Type: ARM-64 (Native)
Parent Process: ??? [1]
Responsible: Xojo [2344]
User ID: 501
Date/Time: 2021-04-20 16:51:04.921 +0200
OS Version: macOS 11.2.3 (20D91)
Report Version: 12
Anonymous UUID: E6A5F401-2D34-6E27-18C5-9835E4CCF568
Sleep/Wake UUID: 72AAC9FD-CDCB-45EA-86C9-0CE8D338926A
Time Awake Since Boot: 1100 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 0x0000000000000010
Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0x10:
→
__TEXT 100acc000-10adf8000 [163.2M] r-x/r-x SM=COW /Applications/Xojo 2021 Release 1/Xojo.app/Contents/MacOS/Xojo
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 b7fzRx.DateControl.dylib 0x0000000298b1d29c DateControl_Destroy(REALobjectStruct*) + 144
1 b7fzRx.DateControl.dylib 0x0000000298b1d248 DateControl_Destroy(REALobjectStruct*) + 60
2 PluginBridgeCocoa.dylib 0x000000010bf3a5e8 0x10bf28000 + 75240
3 com.xojo.xojo 0x0000000100d2fcd4 PluginControlInstance.__exit%%o + 68
4 com.xojo.XojoFramework 0x000000010c2aa2a8 RuntimeUnlockObject + 732
5 com.xojo.xojo 0x0000000101ad6e4c PainterWindow.PainterWindow.Rebuild%%o<PainterWindow.PainterWindow> + 2480
6 com.xojo.xojo 0x0000000106437c8c UniversalLayoutEditor.UniversalLayoutEditor.OwningWindowDidMove%%o<UniversalLayoutEditor.UniversalLayoutEditor> + 1012
7 com.xojo.xojo 0x0000000105c0d58c StudioMainEditor.StudioMainEditor.OwningWindowDidMove%%o<StudioMainEditor.StudioMainEditor> + 384
8 com.xojo.xojo 0x0000000104887ea8 StudioMainWindow.StudioMainWindow.Event_Moved%%o<StudioMainWindow.StudioMainWindow> + 1100
9 com.xojo.xojo 0x0000000101423fbc DocWindow.Event_Moved%%o + 140
10 com.apple.CoreFoundation 0x000000018c5655a8 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 28
11 com.apple.CoreFoundation 0x000000018c6067d4 ___CFXRegistrationPost_block_invoke + 52
12 com.apple.CoreFoundation 0x000000018c606740 _CFXRegistrationPost + 440
13 com.apple.CoreFoundation 0x000000018c534090 _CFXNotificationPost + 720
14 com.apple.Foundation 0x000000018d29d650 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
15 com.apple.AppKit 0x000000018ed9dc4c -[NSWindow _setFrameCommon:display:fromServer:] + 2308
16 com.apple.AppKit 0x000000018eecde48 -[NSWindow _windowMovedToRect:] + 144
17 com.apple.AppKit 0x000000018eecdc88 -[NSWindow _windowMoved:] + 820
18 com.apple.AppKit 0x000000018eecd918 -[NSWindow _internalHandleAppKitDefinedEvent:] + 272
19 com.apple.AppKit 0x000000018eeccdb0 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 3472
20 com.apple.AppKit 0x000000018eecbdb4 -[NSWindow(NSEventRouting) sendEvent:] + 352
21 com.xojo.XojoFramework 0x000000010c13fa58 0x10c0a0000 + 653912
22 com.apple.AppKit 0x000000018eecae8c -[NSApplication(NSEvent) sendEvent:] + 3328
23 com.xojo.XojoFramework 0x000000010c12f928 0x10c0a0000 + 588072
24 com.xojo.xojo 0x0000000100b9ef8c Application._CallFunctionWithExceptionHandling%%op + 164
25 com.xojo.XojoFramework 0x000000010c2a7a1c CallFunctionWithExceptionHandling(void (*)()) + 180
26 com.xojo.XojoFramework 0x000000010c12f8d8 0x10c0a0000 + 587992
27 com.apple.AppKit 0x000000018f19a46c -[NSApplication _handleEvent:] + 76
28 com.apple.AppKit 0x000000018ed39088 -[NSApplication run] + 640
29 com.xojo.XojoFramework 0x000000010c2a62fc RuntimeRun + 48
30 com.xojo.xojo 0x0000000100cb3840 REALbasic._RuntimeRun + 28
31 com.xojo.xojo 0x000000010ab754c0 _Main + 384
32 com.xojo.xojo 0x000000010ab4f898 main + 20
33 libdyld.dylib 0x000000018c491f34 start + 4