Is this a bug with AR Face

I’ve searched the forums on a rudimentary way, but was unable to find anyone else with this problem, so here goes.

I was familiarising myself with the AR Face demo example, and when changing colour on the eyes, it eventually crashes back to the desktop. I have also reset all settings on my iPad and reinstalled Codea fresh, but nothing seems to alter the conditions of this repeatable crash.

Here are the steps.

  1. Open Codea
  2. Open the AR Face demo
  3. Run it, top option in the menu
  4. Press next to move on from the Brick face.
  5. Mess around with the colour picker, and dial around the square, and within in about three to five changes of colour it will immediately crash back to Desktop.

Obviously not sure what it is as this has no error in the App, however the first lines of the iPadOS error log reveal this info:

{“app_name”:“Codea”,“timestamp”:“2024-03-06 16:29:31.00 +0000”,“app_version”:“3.9.7”,“slice_uuid”:“ec6efa3f-dc45-30ff-8d89-d8e221d8907b”,“adam_id”:“439571171”,“build_version”:“440”,“platform”:2,“bundleID”:“com.twolivesleft.Codify”,“share_with_app_devs”:0,“is_first_party”:0,“bug_type”:“309”,“os_version”:“iPhone OS 17.4 (21E219)”,“roots_installed”:0,“name”:“Codea”,“incident_id”:“7CDC1526-61A1-443F-B365-BDAD88CAB756”}
{
“uptime” : 44000,
“procRole” : “Foreground”,
“version” : 2,
“userID” : 501,
“deployVersion” : 210,
“modelCode” : “iPad13,11”,
“coalitionID” : 1017,
“osVersion” : {
“isEmbedded” : true,
“train” : “iPhone OS 17.4”,
“releaseType” : “User”,
“build” : “21E219”
},
“captureTime” : “2024-03-06 16:29:31.0307 +0000”,
“codeSigningMonitor” : 1,
“incident” : “7CDC1526-61A1-443F-B365-BDAD88CAB756”,
“pid” : 1198,
“cpuType” : “ARM-64”,
“roots_installed” : 0,
“bug_type” : “309”,
“procLaunch” : “2024-03-06 16:29:05.5305 +0000”,
“procStartAbsTime” : 1059873795114,
“procExitAbsTime” : 1060485688480,
“procName” : “Codea”,
“procPath” : “/private/var/containers/Bundle/Application/58453018-1478-4117-8621-8DACF79CEA1A/Codea.app/Codea”,
“bundleInfo” : {“CFBundleShortVersionString”:“3.9.7”,“CFBundleVersion”:“440”,“CFBundleIdentifier”:“com.twolivesleft.Codify”,“DTAppStoreToolsBuild”:“15C5500a”},
“storeInfo” : {“itemID”:“439571171”,“storeCohortMetadata”:“10|date=1709740800000&sf=143444&pgtp=Search&pgid=f74450b1-fa35-440e-98ca-5382557d96c3&prpg=SearchLanding_SearchLanding&ctxt=Search&issrch=1&imptyp=card&kind=iosSoftware&lngid=2”,“distributorID”:“com.apple.AppStore”,“deviceIdentifierForVendor”:“A11714B6-3BA4-4DDF-83CB-F12F7907089D”,“softwareVersionExternalIdentifier”:“863399501”,“applicationVariant”:“1:iPad13,11:15”,“thirdParty”:true},
“parentProc” : “launchd”,
“parentPid” : 1,
“coalitionName” : “com.twolivesleft.Codify”,
“crashReporterKey” : “723ef14e69c08ca91c27475068161e80dd30670b”,
“wasUnlockedSinceBoot” : 1,
“isLocked” : 0,
“codeSigningID” : “com.twolivesleft.Codify”,
“codeSigningTeamID” : “G5S3RZ43N7”,
“codeSigningFlags” : 570450689,
“codeSigningValidationCategory” : 4,
“codeSigningTrustLevel” : 7,
“instructionByteStream” : {“beforePC”:“fyMD1f17v6n9AwCR5d3/l78DAJH9e8Go/w9f1sADX9YQKYDSARAA1A==”,“atPC”:“AwEAVH8jA9X9e7+p/QMAkdrd/5e/AwCR/XvBqP8PX9bAA1/WfyMD1Q==”},
“basebandVersion” : “4.50.06”,
“exception” : {“codes”:“0x0000000000000000, 0x0000000000000000”,“rawCodes”:[0,0],“type”:“EXC_CRASH”,“signal”:“SIGABRT”},
“termination” : {“flags”:0,“code”:6,“namespace”:“SIGNAL”,“indicator”:“Abort trap: 6”,“byProc”:“Codea”,“byPid”:1198},
“ktriageinfo” : “VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\nVM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\n”,
“faultingThread” : 3,

There’s more, but I wont bore you here, although if you want the rest I’ll post it or email to the Dev’s which ever is easiest.

Kit used - iPad Pro 12.9” M1 2TB Cellular + WiFi
IPadOS 17.4 (Although this happened on 17.3 and 17.3.1)
650GB free space
This is the only App running.

I suspect this is a Codea problem that has been introduced by Apple changing something in one of their many SDK’s.

Anyone got any ideas here?

Snowybear

1 Like

Great find, this is an odd one. I was able to play with the color picker for about five minutes and did not see any crash on my iPad. That said, I am on 3.10 beta — perhaps we could get you to test the same thing on the beta version?

Please try join here Join the Codea beta - TestFlight - Apple