I have update to the last version of xojo, and compile my consolle app I got a segmentation fault [ Exception Type: EXC_BAD_ACCESS (SIGSEGV)]
I am continue the process of develop, in the debug step exploration seams that the fault is out side my code, but I am not able to understand where happens.
How may I understood where is the problems?
Thank for any help
here the bug reports from OS:
Translated Report (Full Report Below)
Process: cccalculation [84138]
Path: /Users/USER/*/cccalculation
Identifier: cccalculation
Version: ???
Code Type: ARM-64 (Native)
Parent Process: zsh [78801]
Responsible: Terminal [78799]
User ID: 501
Date/Time: 2025-05-25 22:30:40.6231 +0200
OS Version: macOS 15.5 (24F74)
Report Version: 12
Anonymous UUID: 856429FD-9F35-7C19-EACB-D88D2C2B1CD3
Sleep/Wake UUID: DC83EF43-417F-4037-9409-FA8FCE24AC04
Time Awake Since Boot: 130000 seconds
Time Since Wake: 90103 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 0x0000000000000030
Exception Codes: 0x0000000000000001, 0x0000000000000030
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [84138]
VM Region Info: 0x30 is not in any region. Bytes before following region: 4340744144
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
—>
__TEXT 102ba8000-102e8c000 [ 2960K] r-x/r-x SM=COW cccalculation
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 rbframework.dylib 0x104067d3c FolderItemPathGetter + 16
1 cccalculation 0x102c0337c FolderItem.NativePath.Get%s%oi4 + 28
2 cccalculation 0x102e59fa4 App.Event_Run%i8%oA1s + 2420
3 rbframework.dylib 0x103f7d0a0 CallConsoleApplicationRunEventHelper() + 348
4 cccalculation 0x102db6f5c ConsoleApplication._CallFunctionWithExceptionHandling%%op + 164
5 rbframework.dylib 0x10405a108 CallFunctionWithExceptionHandling(void (*)()) + 132
6 rbframework.dylib 0x103ff1e5c RuntimeRun + 84
7 cccalculation 0x102de7a10 REALbasic._RuntimeRun + 28
8 cccalculation 0x102e691bc _Main + 476
9 cccalculation 0x102e68b5c main + 36
10 dyld 0x18815eb98 start + 6076
Thread 1:
0 libsystem_pthread.dylib 0x1884f9b6c start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x00000001040c6064 x3: 0x000060000232cac0
x4: 0x000060000232cb40 x5: 0x00000000b1a6102c x6: 0x0000000000000ac0 x7: 0x0000000102ea1cc8
x8: 0x00000001885080f8 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x00000000000000ff
x12: 0x0000000000000000 x13: 0x00000000000007fd x14: 0x00000000b1e6102c x15: 0x00000000b1c608b0
x16: 0x0000000104067d2c x17: 0x0000600003621a40 x18: 0x0000000000000000 x19: 0x0000000102ea2570
x20: 0x0000000102ea25c0 x21: 0x0000000102ea25e8 x22: 0x0000000102ea2610 x23: 0x0000000102ea2638
x24: 0x00000001041c8ed0 x25: 0x0000000103fdc4f8 x26: 0x00000001041c8ed8 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016d2565a0 lr: 0x0000000102c0337c
sp: 0x000000016d256580 pc: 0x0000000104067d3c cpsr: 0x60001000
far: 0x0000000000000030 esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x102ba8000 - 0x102e8bfff cccalculation () <57c897ca-6e95-3e60-a6ba-0d10f32d50ad> /cccalculation
0x103dd8000 - 0x10417bfff rbframework.dylib () <50172872-39ea-3595-9b2a-7dbb48ca8078> /Users/USER//rbframework.dylib
0x103104000 - 0x103107fff Shell.dylib () <55aca122-41ea-33ac-a441-32480c5f87aa> /Users/USER//Shell.dylib
0x1030dc000 - 0x1030ebfff libGzip.dylib () /Users/USER//libGzip.dylib
0x10331c000 - 0x1033a3fff Crypto.dylib () /Users/USER//Crypto.dylib
0x103140000 - 0x103143fff InternetEncodings.dylib () <806bd3d9-81e6-32fb-be0a-37973e963a53> /Users/USER//InternetEncodings.dylib
0x103214000 - 0x10324bfff RegEx.dylib () <6e3e2385-c466-3f11-a056-e2b87a322149> /Users/USER//RegEx.dylib
0x188158000 - 0x1881f34cf dyld () <9cf0401a-a938-389e-a77d-9e9608076ccf> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x188505000 - 0x188534ba3 libdyld.dylib () /usr/lib/system/libdyld.dylib
0x1884f8000 - 0x188504a47 libsystem_pthread.dylib () <647b91fc-96d3-3bbb-af08-970df45257c8> /usr/lib/system/libsystem_pthread.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=914.7M resident=0K(0%) swapped_out_or_unallocated=914.7M(100%)
Writable regions: Total=677.4M written=289K(0%) resident=289K(0%) swapped_out=0K(0%) unallocated=677.1M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Kernel Alloc Once 32K 1
MALLOC 667.2M 16
MALLOC guard page 96K 6
STACK GUARD 56.0M 2
Stack 8720K 2
VM_ALLOCATE 16K 1
__AUTH 1143K 210
__AUTH_CONST 24.7M 363
__DATA 5996K 353
__DATA_CONST 16.1M 373
__DATA_DIRTY 688K 106
__FONT_DATA 2352 1
__LINKEDIT 617.6M 8
__OBJC_RO 61.4M 1
__OBJC_RW 2396K 1
__TEXT 297.2M 388
__TPRO_CONST 128K 2
__XOJO 16K 1
dyld private memory 48K 2
mapped file 32.7M 3
page table in kernel 289K 1
shared memory 608K 5
=========== ======= =======
TOTAL 1.8G 1847
Full Report
{“app_name”:“cccalculation”,“timestamp”:“2025-05-25 22:30:43.00 +0200”,“app_version”:“”,“slice_uuid”:“57c897ca-6e95-3e60-a6ba-0d10f32d50ad”,“build_version”:“”,“platform”:1,“share_with_app_devs”:1,“is_first_party”:1,“bug_type”:“309”,“os_version”:“macOS 15.5 (24F74)”,“roots_installed”:0,“incident_id”:“BCAA2B15-8B02-4781-9999-1D721BC1D36D”,“name”:“cccalculation”}
{
“uptime” : 130000,
“procRole” : “Unspecified”,
“version” : 2,
“userID” : 501,
“deployVersion” : 210,
“modelCode” : “Mac14,10”,
“coalitionID” : 105464,
“osVersion” : {
“train” : “macOS 15.5”,
“build” : “24F74”,
“releaseType” : “User”
},
“captureTime” : “2025-05-25 22:30:40.6231 +0200”,
“codeSigningMonitor” : 1,
“incident” : “BCAA2B15-8B02-4781-9999-1D721BC1D36D”,
“pid” : 84138,
“translated” : false,
“cpuType” : “ARM-64”,
“roots_installed” : 0,
“bug_type” : “309”,
“procLaunch” : “2025-05-25 22:30:40.5829 +0200”,
“procStartAbsTime” : 3240463328999,
“procExitAbsTime” : 3240464285755,
“procName” : “cccalculation”,
“procPath” : “/Users/USER//cccalculation",
“parentProc” : “zsh”,
“parentPid” : 78801,
“coalitionName” : “com.apple.Terminal”,
“crashReporterKey” : “856429FD-9F35-7C19-EACB-D88D2C2B1CD3”,
“appleIntelligenceStatus” : {“reasons”:[“selectedLanguageDoesNotMatchSelectedSiriLanguage”],“state”:“unavailable”},
“responsiblePid” : 78799,
“responsibleProc” : “Terminal”,
“codeSigningID” : “it.digiandco.inkccrasterize”,
“codeSigningTeamID” : “”,
“codeSigningFlags” : 570425857,
“codeSigningValidationCategory” : 10,
“codeSigningTrustLevel” : 4294967295,
“codeSigningAuxiliaryInfo” : 0,
“instructionByteStream” : {“beforePC”:“4AdA+UAAALTSJQCU4AMTqnzEAZRMQfuX/8MA0fRPAan9ewKp/YMAkQ==”,“atPC”:“ABhA+SACALQIAED5CS1A+egjAJEgAT/W4AdA+WABALQlkAGU4QdA+Q==”},
“bootSessionUUID” : “E2CDF5C8-BA1C-4894-9225-BA38DA986E39”,
“wakeTime” : 90103,
“sleepWakeUUID” : “DC83EF43-417F-4037-9409-FA8FCE24AC04”,
“sip” : “enabled”,
“vmRegionInfo” : “0x30 is not in any region. Bytes before following region: 4340744144\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n—> \n __TEXT 102ba8000-102e8c000 [ 2960K] r-x/r-x SM=COW cccalculation”,
“exception” : {“codes”:“0x0000000000000001, 0x0000000000000030”,“rawCodes”:[1,48],“type”:“EXC_BAD_ACCESS”,“signal”:“SIGSEGV”,“subtype”:“KERN_INVALID_ADDRESS at 0x0000000000000030”},
“termination” : {“flags”:0,“code”:11,“namespace”:“SIGNAL”,“indicator”:“Segmentation fault: 11”,“byProc”:“exc handler”,“byPid”:84138},
“vmregioninfo” : “0x30 is not in any region. Bytes before following region: 4340744144\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n—> \n __TEXT 102ba8000-102e8c000 [ 2960K] r-x/r-x SM=COW cccalculation”,
“extMods” : {“caller”:{“thread_create”:0,“thread_set_state”:0,“task_for_pid”:0},“system”:{“thread_create”:0,“thread_set_state”:0,“task_for_pid”:0},“targeted”:{“thread_create”:0,“thread_set_state”:0,“task_for_pid”:0},“warnings”:0},
“faultingThread” : 0,
“threads” : [{“triggered”:true,“id”:4410946,“threadState”:{“x”:[{“value”:0},{“value”:0},{“value”:4362887268,“symbolLocation”:0,“symbol”:"StringOpsClassic::RemoveReference(StringStorageBase)”},{“value”:105553153149632},{“value”:105553153149760},{“value”:2980450348},{“value”:2752},{“value”:4343864520,“symbolLocation”:416,“symbol”:“Params.OtherItems”},{“value”:6581944568,“symbolLocation”:0,“symbol”:“_tlv_get_addr”},{“value”:0},{“value”:0},{“value”:255},{“value”:0},{“value”:2045},{“value”:2984644652},{“value”:2982545584},{“value”:4362501420,“symbolLocation”:0,“symbol”:“FolderItemPathGetter”},{“value”:105553173027392},{“value”:0},{“value”:4343866736,“symbolLocation”:816,“symbol”:“App.__ctbl”},{“value”:4343866816,“symbolLocation”:896,“symbol”:“App.__ctbl”},{“value”:4343866856,“symbolLocation”:936,“symbol”:“App.__ctbl”},{“value”:4343866896,“symbolLocation”:976,“symbol”:“App.__ctbl”},{“value”:4343866936,“symbolLocation”:1016,“symbol”:“App.__ctbl”},{“value”:4363947728,“symbolLocation”:0,“symbol”:“gArgc”},{“value”:4361929976},{“value”:4363947736,“symbolLocation”:0,“symbol”:“gArgv”},{“value”:0},{“value”:0}],“flavor”:“ARM_THREAD_STATE64”,“lr”:{“value”:4341117820},“cpsr”:{“value”:1610616832},“fp”:{“value”:6126134688},“sp”:{“value”:6126134656},“esr”:{“value”:2449473542,“description”:“(Data Abort) byte read Translation fault”},“pc”:{“value”:4362501436,“matchesCrashFrame”:1},“far”:{“value”:48}},“queue”:“com.apple.main-thread”,“frames”:[{“imageOffset”:2686268,“symbol”:“FolderItemPathGetter”,“symbolLocation”:16,“imageIndex”:1},{“imageOffset”:373628,“symbol”:“FolderItem.NativePath.Get%s%oi4”,“symbolLocation”:28,“imageIndex”:0},{“imageOffset”:2826148,“symbol”:“App.Event_Run%i8%oA1s”,“symbolLocation”:2420,“imageIndex”:0},{“imageOffset”:1724576,“symbol”:“CallConsoleApplicationRunEventHelper()”,“symbolLocation”:348,“imageIndex”:1},{“imageOffset”:2158428,“symbol”:“ConsoleApplication._CallFunctionWithExceptionHandling%%op”,“symbolLocation”:164,“imageIndex”:0},{“imageOffset”:2629896,“symbol”:“CallFunctionWithExceptionHandling(void ()())“,“symbolLocation”:132,“imageIndex”:1},{“imageOffset”:2203228,“symbol”:“RuntimeRun”,“symbolLocation”:84,“imageIndex”:1},{“imageOffset”:2357776,“symbol”:“REALbasic._RuntimeRun”,“symbolLocation”:28,“imageIndex”:0},{“imageOffset”:2888124,“symbol”:”_Main",“symbolLocation”:476,“imageIndex”:0},{“imageOffset”:2886492,“symbol”:“main”,“symbolLocation”:36,“imageIndex”:0},{“imageOffset”:27544,“symbol”:“start”,“symbolLocation”:6076,“imageIndex”:7}]},{“id”:4410948,“frames”:[{“imageOffset”:7020,“symbol”:“start_wqthread”,“symbolLocation”:0,“imageIndex”:10}],“threadState”:{“x”:[{“value”:6126694400},{“value”:5635},{“value”:6126157824},{“value”:0},{“value”:409604},{“value”:18446744073709551615},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0}],“flavor”:“ARM_THREAD_STATE64”,“lr”:{“value”:0},“cpsr”:{“value”:4096},“fp”:{“value”:0},“sp”:{“value”:6126694400},“esr”:{“value”:1442840704,“description”:" Address size fault"},“pc”:{“value”:6581885804},“far”:{“value”:0}}}],
“usedImages” : [
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4340744192,
“size” : 3031040,
“uuid” : “57c897ca-6e95-3e60-a6ba-0d10f32d50ad”,
“path” : "/cccalculation”,
“name” : “cccalculation”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4359815168,
“size” : 3817472,
“uuid” : “50172872-39ea-3595-9b2a-7dbb48ca8078”,
“path” : “/Users/USER//rbframework.dylib",
“name” : “rbframework.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4346363904,
“size” : 16384,
“uuid” : “55aca122-41ea-33ac-a441-32480c5f87aa”,
“path” : "/Users/USER//Shell.dylib”,
“name” : “Shell.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4346200064,
“size” : 65536,
“uuid” : “be7242c0-a1ad-31a6-84d6-6f10f05cec6c”,
“path” : “/Users/USER//libGzip.dylib",
“name” : “libGzip.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4348559360,
“size” : 557056,
“uuid” : “ade70a75-ee39-3a10-ab6d-08758c48357f”,
“path” : "/Users/USER//Crypto.dylib”,
“name” : “Crypto.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4346609664,
“size” : 16384,
“uuid” : “806bd3d9-81e6-32fb-be0a-37973e963a53”,
“path” : “/Users/USER//InternetEncodings.dylib",
“name” : “InternetEncodings.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4347478016,
“size” : 229376,
“uuid” : “6e3e2385-c466-3f11-a056-e2b87a322149”,
“path” : "/Users/USER//RegEx.dylib”,
“name” : “RegEx.dylib”
},
{
“source” : “P”,
“arch” : “arm64e”,
“base” : 6578077696,
“size” : 636112,
“uuid” : “9cf0401a-a938-389e-a77d-9e9608076ccf”,
“path” : “/usr/lib/dyld”,
“name” : “dyld”
},
{
“size” : 0,
“source” : “A”,
“base” : 0,
“uuid” : “00000000-0000-0000-0000-000000000000”
},
{
“source” : “P”,
“arch” : “arm64e”,
“base” : 6581932032,
“size” : 195492,
“uuid” : “c62596fe-63c5-3502-bbd1-14147a7ca921”,
“path” : “/usr/lib/system/libdyld.dylib”,
“name” : “libdyld.dylib”
},
{
“source” : “P”,
“arch” : “arm64e”,
“base” : 6581878784,
“size” : 51784,
“uuid” : “647b91fc-96d3-3bbb-af08-970df45257c8”,
“path” : “/usr/lib/system/libsystem_pthread.dylib”,
“name” : “libsystem_pthread.dylib”
}
],
“sharedCache” : {
“base” : 6577242112,
“size” : 5047205888,
“uuid” : “d7397d7f-8df9-3920-81a7-c0a144be9c51”
},
“vmSummary” : “ReadOnly portion of Libraries: Total=914.7M resident=0K(0%) swapped_out_or_unallocated=914.7M(100%)\nWritable regions: Total=677.4M written=289K(0%) resident=289K(0%) swapped_out=0K(0%) unallocated=677.1M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nKernel Alloc Once 32K 1 \nMALLOC 667.2M 16 \nMALLOC guard page 96K 6 \nSTACK GUARD 56.0M 2 \nStack 8720K 2 \nVM_ALLOCATE 16K 1 \n__AUTH 1143K 210 \n__AUTH_CONST 24.7M 363 \n__DATA 5996K 353 \n__DATA_CONST 16.1M 373 \n__DATA_DIRTY 688K 106 \n__FONT_DATA 2352 1 \n__LINKEDIT 617.6M 8 \n__OBJC_RO 61.4M 1 \n__OBJC_RW 2396K 1 \n__TEXT 297.2M 388 \n__TPRO_CONST 128K 2 \n__XOJO 16K 1 \ndyld private memory 48K 2 \nmapped file 32.7M 3 \npage table in kernel 289K 1 \nshared memory 608K 5 \n=========== ======= ======= \nTOTAL 1.8G 1847 \n”,
“legacyInfo” : {
“threadTriggered” : {
“queue” : “com.apple.main-thread”
}
},
“logWritingSignature” : “161b233613e1f80a8c6fce6c2f6f6b725dc29a30”,
“trialInfo” : {
“rollouts” : [
{
“rolloutId” : “648cada15dbc71671bb3aa1b”,
“factorPackIds” : {
“SIRI_EXPERIENCE_CAM” : “65a81173096f6a1f1ba46525”
},
“deploymentId” : 240000116
},
{
“rolloutId” : “64b21a7351cbb02ce3442e4e”,
“factorPackIds” : {
“REMINDERS_GROCERY” : “6647f0f7b6a75d3dc32993e7”
},
“deploymentId” : 240000042
}
],
“experiments” : [
{
“treatmentId” : “928dfbce-0cc0-4f29-866f-5542e51ad72e”,
“experimentId” : “67f46e2984eaf455d73c609a”,
“deploymentId” : 400000001
},
{
“treatmentId” : “f18344bb-554f-48ae-8449-e108a8813a55”,
“experimentId” : “6685b5584477001000e8c6c9”,
“deploymentId” : 400000009
}
]
}
}
Model: Mac14,10, BootROM 11881.121.1, proc 12:8:4 processors, 32 GB, SMC
Graphics: Apple M2 Pro, Apple M2 Pro, Built-In
Display: Color LCD, 3456 x 2234 Retina, Main, MirrorOff, Online
Display: Sidecar Display, 2732 x 2048, MirrorOff
Memory Module: LPDDR5, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4388), wl0: Mar 22 2025 02:16:34 version 23.40.30.0.41.51.180 FWID 01-5f726d72
IO80211_driverkit-1475.39 “IO80211_driverkit-1475.39” Apr 18 2025 20:10:40
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: 4-Port USB 3.0 Hub
USB Device: My Passport 25E2
USB Device: Expansion HDD
USB Device: 4-Port USB 3.0 Hub
USB Device: USB to ATA/ATAPI Bridge
USB Device: 4-Port USB 2.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: USB31Bus
USB Device: iPad
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.