I have a user who sent me the following crash report which occurs when SaveAsDialog.ShowModalWith
is called. He says the app also crashes for him when he’s trying to open files from the File
menu, while drag-and-drop of files works no problem. Here’s an edited crash log that occurs while trying to save a file from my app:
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2024-07-18 16:28:32.6187 -0700
OS Version: macOS 13.6.3 (22G436)
Report Version: 12
Time Awake Since Boot: 280000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000019c03bc70
Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process: exc handler [63679]
Application Specific Information:
*** CFRetain() called with NULL ***
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 CoreFoundation 0x19c03bc70 CFRetain.cold.1 + 16
1 CoreFoundation 0x19be5b2f8 CFRetain + 336
2 XojoFramework 0x1054abf94 FolderItemImpNSURL::GetCFURL(__CFURL const**) + 20
3 XojoFramework 0x1055c7c94 CocoaFolderItemDialog::CreatePanel() + 668
4 XojoFramework 0x1055c75c0 CocoaFolderItemDialog::ShowSavePanel(NSWindow*, FolderItemDialogResult&) + 40
5 XojoFramework 0x1055c6ca8 FolderItemDialogShowWithin + 80
6 AppName 0x1009f8108 FolderItemDialog.ShowModalWithin%o<FolderItem>%o<FolderItemDialog>o<Window> + 52
Has anyone else seen this kind of issue? I’ve never seen a crash log with EXC_BREAKPOINT
in it before. Could there be old system files on this user’s machine that could cause this?
I’m using Xojo 2023r3 and the code editor seems to show ShowModalWithin
as deprecated, (displays ShowModalWithin > ShowModal
) and the docs doesn’t list ShowModalWithin
. Should I not be using ShowModalWithin
in my apps?
Thanks Mark
7 posts - 5 participants