airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
203 stars 11 forks source link

Mac Monterey M1 crash at start with sdk 33.1.686 #1401

Open FrankyFR opened 2 years ago

FrankyFR commented 2 years ago

Hello,

i have a big app in as3start with AIR22 but when MacOsMonterey arrive i have the problem with the E-D & F letter on system

i move to sdk33.1 and with intel processor all it's fine, but now i have a new Macbook with M1 processor and in authoring mode with Animate 2022, my app works fine, but when a create a runtime, she's crash at the begining

any ideas ????

This is the crash report from apple :


Full Report

{"app_name":"HappyNeuron Pro UX","timestamp":"2021-11-30 10:14:23.00 +0100","app_version":"2.0","slice_uuid":"c392cff7-3e97-334d-881e-fc4d374edb49","build_version":"","platform":1,"bundleID":"com.happyneuronpro.hnux","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.0.1 (21A559)","incident_id":"438158D0-BA1A-485E-9E01-2C1FC954AF16","name":"HappyNeuron Pro UX"} { "uptime" : 130000, "procLaunch" : "2021-11-30 10:14:22.2104 +0100", "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro18,3", "procStartAbsTime" : 3309993505644, "coalitionID" : 11524, "osVersion" : { "train" : "macOS 12.0.1", "build" : "21A559", "releaseType" : "User" }, "captureTime" : "2021-11-30 10:14:23.6312 +0100", "incident" : "438158D0-BA1A-485E-9E01-2C1FC954AF16", "bug_type" : "309", "pid" : 48478, "procExitAbsTime" : 3310027109774, "translated" : false, "cpuType" : "ARM-64", "procName" : "HappyNeuron Pro UX", "procPath" : "\/Users\/USER\/Desktop\/hn_ux33.app\/Contents\/MacOS\/HappyNeuron Pro UX", "bundleInfo" : {"CFBundleShortVersionString":"2.0","CFBundleIdentifier":"com.happyneuronpro.hnux"}, "storeInfo" : {"deviceIdentifierForVendor":"9602FE84-A411-56DD-8CAF-7DBBB130F375","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.happyneuronpro.hnux", "crashReporterKey" : "6A41799C-BBAA-FE54-B058-ED94A567F3AA", "wakeTime" : 3701, "sleepWakeUUID" : "9E51B84C-B6F4-4516-B6B3-32F96FE6E7BC", "sip" : "enabled", "vmRegionInfo" : "0x38 is not in any region. Bytes before following region: 4377149384\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n TEXT 104e60000-104e68000 [ 32K] r-x\/r-x SM=COW ...Neuron Pro UX", "isCorpse" : 1, "exception" : {"codes":"0x0000000000000001, 0x0000000000000038","rawCodes":[1,56],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000038"}, "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":48478}, "vmregioninfo" : "0x38 is not in any region. Bytes before following region: 4377149384\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n TEXT 104e60000-104e68000 [ 32K] r-x\/r-x SM=COW ...Neuron Pro UX", "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":952728,"threadState":{"x":[{"value":105553183196256},{"value":5252399384},{"value":4421425852},{"value":481224602657},{"value":78},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":5252399384},{"value":12468077907484856625},{"value":6089723584},{"value":481036432304},{"value":481053159424},{"value":6089723296},{"value":15003885976976257833},{"value":7},{"value":5369542976},{"value":105553183196256},{"value":481053159424},{"value":481044986224},{"value":481044986224},{"value":1},{"value":0},{"value":481222749592},{"value":0},{"value":6089725928},{"value":481224214336}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4423263484},"cpsr":{"value":536870912},"fp":{"value":6089723536},"sp":{"value":6089723520},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4423263356,"matchesCrashFrame":1},"far":{"value":56}},"queue":"com.apple.main-thread","frames":[{"imageOffset":7545980,"imageIndex":0},{"imageOffset":7546108,"imageIndex":0},{"imageOffset":7546108,"imageIndex":0},{"imageOffset":7545624,"imageIndex":0},{"imageOffset":7540436,"imageIndex":0},{"imageOffset":5517484,"imageIndex":0},{"imageOffset":481222191092,"imageIndex":1},{"imageOffset":2588512,"imageIndex":0},{"imageOffset":1885552,"imageIndex":0},{"imageOffset":481222600952,"imageIndex":1},{"imageOffset":481222602268,"imageIndex":1},{"imageOffset":2588512,"imageIndex":0},{"imageOffset":481239757868,"imageIndex":1},{"imageOffset":481239758244,"imageIndex":1},{"imageOffset":2588512,"imageIndex":0},{"imageOffset":481239760128,"imageIndex":1},{"imageOffset":481239759572,"imageIndex":1},{"imageOffset":2562456,"imageIndex":0},{"imageOffset":3860764,"imageIndex":0},{"imageOffset":3863164,"imageIndex":0},{"imageOffset":5720292,"imageIndex":0},{"imageOffset":6918276,"imageIndex":0},{"imageOffset":6921152,"imageIndex":0},{"imageOffset":4559256,"imageIndex":0},{"imageOffset":4557508,"imageIndex":0},{"imageOffset":543676,"symbol":"CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION","symbolLocation":28,"imageIndex":2},{"imageOffset":543496,"symbol":"CFRunLoopDoSource0","symbolLocation":208,"imageIndex":2},{"imageOffset":542708,"symbol":"CFRunLoopDoSources0","symbolLocation":268,"imageIndex":2},{"imageOffset":536936,"symbol":"CFRunLoopRun","symbolLocation":820,"imageIndex":2},{"imageOffset":534164,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":2},{"imageOffset":199056,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":3},{"imageOffset":198404,"symbol":"ReceiveNextEventCommon","symbolLocation":552,"imageIndex":3},{"imageOffset":197828,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":3},{"imageOffset":269036,"symbol":"_DPSNextEvent","symbolLocation":844,"imageIndex":4},{"imageOffset":263056,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1332,"imageIndex":4},{"imageOffset":205744,"symbol":"-[NSApplication run]","symbolLocation":596,"imageIndex":4},{"imageOffset":11916,"imageIndex":0},{"imageOffset":12840,"imageIndex":0},{"imageOffset":16844,"symbol":"RuntimeAppMain(char const*, int)","symbolLocation":332,"imageIndex":5},{"imageOffset":20724,"symbol":"start","symbolLocation":520,"imageIndex":6}]},{"id":952743,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]},{"id":952744,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]},{"id":952750,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]},{"id":952752,"name":"BackgroundThread","frames":[{"imageOffset":20672,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":8},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":7},{"imageOffset":4949260,"imageIndex":0},{"imageOffset":3290788,"imageIndex":0},{"imageOffset":4948548,"imageIndex":0},{"imageOffset":4948688,"imageIndex":0},{"imageOffset":4948144,"imageIndex":0},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952753,"name":"BackgroundThread","frames":[{"imageOffset":20672,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":8},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":7},{"imageOffset":4949260,"imageIndex":0},{"imageOffset":3290788,"imageIndex":0},{"imageOffset":4948548,"imageIndex":0},{"imageOffset":4948688,"imageIndex":0},{"imageOffset":4948144,"imageIndex":0},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952754,"name":"BackgroundThread","frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":8},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":7},{"imageOffset":4949260,"imageIndex":0},{"imageOffset":3290788,"imageIndex":0},{"imageOffset":4948548,"imageIndex":0},{"imageOffset":4948688,"imageIndex":0},{"imageOffset":4948144,"imageIndex":0},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952755,"name":"BackgroundThread","frames":[{"imageOffset":20672,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":8},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":7},{"imageOffset":4949260,"imageIndex":0},{"imageOffset":3290788,"imageIndex":0},{"imageOffset":4948548,"imageIndex":0},{"imageOffset":4948688,"imageIndex":0},{"imageOffset":4948144,"imageIndex":0},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952756,"name":"BackgroundThread","frames":[{"imageOffset":20672,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":8},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":7},{"imageOffset":4949260,"imageIndex":0},{"imageOffset":3290788,"imageIndex":0},{"imageOffset":4948548,"imageIndex":0},{"imageOffset":4948688,"imageIndex":0},{"imageOffset":4948144,"imageIndex":0},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952757,"name":"BackgroundThread","frames":[{"imageOffset":20672,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":8},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":7},{"imageOffset":4949260,"imageIndex":0},{"imageOffset":3290788,"imageIndex":0},{"imageOffset":4948548,"imageIndex":0},{"imageOffset":4948688,"imageIndex":0},{"imageOffset":4948144,"imageIndex":0},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952758,"name":"BackgroundThread","frames":[{"imageOffset":20672,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":8},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":7},{"imageOffset":4949260,"imageIndex":0},{"imageOffset":3290788,"imageIndex":0},{"imageOffset":4948548,"imageIndex":0},{"imageOffset":4948688,"imageIndex":0},{"imageOffset":4948144,"imageIndex":0},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952759,"name":"BackgroundThread","frames":[{"imageOffset":20672,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":8},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":7},{"imageOffset":4949260,"imageIndex":0},{"imageOffset":3290788,"imageIndex":0},{"imageOffset":4948548,"imageIndex":0},{"imageOffset":4948688,"imageIndex":0},{"imageOffset":4948144,"imageIndex":0},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952760,"name":"AMCP Logging Spool","frames":[{"imageOffset":6544,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":8},{"imageOffset":129196,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":28,"imageIndex":9},{"imageOffset":9820,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":56,"imageIndex":9},{"imageOffset":8828,"symbol":"void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::1::tuple<caulk::concurrent::details::worker_thread> > >(void)","symbolLocation":96,"imageIndex":9},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952770,"name":"ScriptTimeout","frames":[{"imageOffset":20672,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":8},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":7},{"imageOffset":4949200,"imageIndex":0},{"imageOffset":5707216,"imageIndex":0},{"imageOffset":4948548,"imageIndex":0},{"imageOffset":4948688,"imageIndex":0},{"imageOffset":4948144,"imageIndex":0},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952772,"frames":[{"imageOffset":8892,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]},{"id":952775,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6484,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":8},{"imageOffset":7424,"symbol":"mach_msg","symbolLocation":76,"imageIndex":8},{"imageOffset":544312,"symbol":"CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":2},{"imageOffset":537328,"symbol":"CFRunLoopRun","symbolLocation":1212,"imageIndex":2},{"imageOffset":534164,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":2},{"imageOffset":1764388,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":4},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":952860,"name":"CoreLoop","frames":[{"imageOffset":20672,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":8},{"imageOffset":31412,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":7},{"imageOffset":4949200,"imageIndex":0},{"imageOffset":6971936,"imageIndex":0},{"imageOffset":4948548,"imageIndex":0},{"imageOffset":4948688,"imageIndex":0},{"imageOffset":4948144,"imageIndex":0},{"imageOffset":29932,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":8912,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64", "base" : 4415717376, "CFBundleIdentifier" : "com.adobe.AIR", "size" : 14204928, "uuid" : "ef864c95-2d5c-3920-b59c-dd7f9dad4211", "path" : "\/Users\/USER\/Desktop\/hn_ux33.app\/Contents\/Frameworks\/Adobe AIR.framework\/Versions\/1.0\/Adobe AIR", "name" : "Adobe AIR", "CFBundleVersion" : "33.1.1.633" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" }, { "source" : "P", "arch" : "arm64e", "base" : 7131742208, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5521408, "uuid" : "b2ff96d0-ae99-31ef-9014-fc9964b4f3e0", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1855.105" }, { "source" : "P", "arch" : "arm64e", "base" : 7278313472, "CFBundleShortVersionString" : "2.1.1", "CFBundleIdentifier" : "com.apple.HIToolbox", "size" : 3342336, "uuid" : "98ea191e-b6f8-3036-b267-eeadb5f03c7d", "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox", "name" : "HIToolbox" }, { "source" : "P", "arch" : "arm64e", "base" : 7177445376, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 15409152, "uuid" : "518f4e68-c324-320f-9d7f-85c224eae972", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2113" }, { "source" : "P", "arch" : "arm64", "base" : 4377149440, "CFBundleShortVersionString" : "2.0", "CFBundleIdentifier" : "com.happyneuronpro.hnux", "size" : 32768, "uuid" : "c392cff7-3e97-334d-881e-fc4d374edb49", "path" : "\/Users\/USER\/Desktop\/hn_ux33.app\/Contents\/MacOS\/HappyNeuron Pro UX", "name" : "HappyNeuron Pro UX" }, { "source" : "P", "arch" : "arm64e", "base" : 4379869184, "size" : 393216, "uuid" : "86a8ba48-8bb4-3b30-9cda-051f73c74f44", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "arm64e", "base" : 7131422720, "size" : 53248, "uuid" : "4786e19a-9312-38e6-80ef-9c1394548118", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7131201536, "size" : 221184, "uuid" : "c8524c02-b14f-30bd-a228-c44b4a448e68", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7275716608, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.audio.caulk", "size" : 163840, "uuid" : "c8b77e54-af14-37e1-8a72-6437f54c6fd1", "path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk", "name" : "caulk" } ], "sharedCache" : { "base" : 7128252416, "size" : 3072180224, "uuid" : "a6162d66-93e3-3251-93cc-b11f7c8c830e" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 512K 4 \nActivity Tracing 256K 1 \nCG backing stores 4288K 8 \nCG image 96K 4 \nColorSync 512K 25 \nCoreAnimation 5120K 10 \nCoreGraphics 48K 3 \nCoreUI image data 448K 7 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 275.2M 53 \nMALLOC guard page 192K 9 \nMALLOC_MEDIUM (reserved) 960.0M 8 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nMemory Tag 240 194.1M 159 \nSTACK GUARD 56.3M 17 \nStack 16.5M 17 \nVM_ALLOCATE 1.0G 17 \nAUTH 2433K 274 \n__AUTH_CONST 18.3M 452 \nDATA 15.2M 441 \nDATA_CONST 17.6M 459 \n__DATA_DIRTY 1673K 193 \nFONT_DATA 4K 1 \nLINKEDIT 571.2M 6 \nOBJC_CONST 3224K 243 \nOBJC_RO 81.8M 1 \n__OBJC_RW 3088K 1 \nTEXT 453.8M 477 \n__UNICODE 588K 1 \ndyld private memory 1024K 1 \nmapped file 152.0M 20 \nshared memory 928K 16 \n=========== ======= ======= \nTOTAL 4.1G 2931 \nTOTAL, minus reserved VM space 2.8G 2931 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "601d9415f79519000ccd4b69", "factorPackIds" : { "SIRI_TEXT_TO_SPEECH" : "6194416dea7ed64a7812a429" }, "deploymentId" : 240000322 }, { "rolloutId" : "602ad4dac86151000cf27e46", "factorPackIds" : { "SIRI_DICTATION_ASSETS" : "6181ebb28763315b9604755e" }, "deploymentId" : 240000271 }, { "rolloutId" : "5fc94383418129005b4e9ae0", "factorPackIds" : {

  },
  "deploymentId" : 240000162
},
{
  "rolloutId" : "5ffde50ce2aacd000d47a95f",
  "factorPackIds" : {

  },
  "deploymentId" : 240000076
},
{
  "rolloutId" : "60da5e84ab0ca017dace9abf",
  "factorPackIds" : {

  },
  "deploymentId" : 240000008
},
{
  "rolloutId" : "607844aa04477260f58a8077",
  "factorPackIds" : {
    "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
  },
  "deploymentId" : 240000066
}

], "experiments" : [

] } }

Model: MacBookPro18,3, BootROM 7429.41.5, proc 8:6:2 processors, 16 GB, SMC Graphics: Apple M1 Pro, Apple M1 Pro, Built-In Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online Display: K272HL, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online Memory Module: LPDDR5 AirPort: Wi-Fi, wl0: Sep 24 2021 15:49:44 version 20.10.853.23.8.7.106 FWID 01-78e271b2 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: USB3.0 Hub USB Device: USB2.0 Hub USB Device: USB-C VGA Multiport Adapter USB Device: USB31Bus Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc.

ajwfrost commented 2 years ago

Hi @FrankyFR - just checking, does your app make use of HTMLLoader? or a StageWebView with default (or "false") as the first argument to the constructor?

thanks

FrankyFR commented 2 years ago

Hi @ajwfrost, thx for the answer,

yes i use StageWebView, i have ti check if it is with false or true, but it's working in authoring mode

FrankyFR commented 2 years ago

I tried with false or true and the issues is same, app crash

if i active Rosetta mode, my app works fine

FrankyFR commented 2 years ago

i understand when i'm in authoring mode with animate, i run with x86 architecture, but when i create my app it's always with arm architecture

there is a way to build or start my app in x86 and not in arm ? by command line ? or option in application.xml ?

of course i want this option inside my app, i dont want my user may have to change manually

ajwfrost commented 2 years ago

If you've created a 'bundle' i.e. you have an application folder e.g. "MyTestApplication.app", then it will have the actual binary executable file at MyTestApplication.app/Contents/MacOS/MyTestApplication. You can stop it trying to load as an ARM64 process by just stripping that file back so it only contains the x86_64 sections:

lipo MyTestApplication.app/Contents/MacOS/MyTestApplication -thin x86_64 -output MyTestApplication.app/Contents/MacOS/MyTestApplication

You might need to re-sign it after doing this.

FYI we're planning on releasing a beta version shortly that should use a platform-provided webview and shouldn't cause this problem on the M1 machines..

thanks

FrankyFR commented 2 years ago

many thx @ajwfrost i have for the moment a soluce for my customer

of course when the new sdk was ready i test it to keep arm mode

thx

FrankyFR commented 2 years ago

i can successfully convert one runtime but for 2nd each time i have :

fatal error: /Library/Developer/CommandLineTools/usr/bin/lipo: input file (myapp.app/Contents/MacOS/myapp) must be a fat file when the -thin option is specified

and if i want use the 1st one and juste change application xml, i can start but i have the sdk splashscreen

any new idea ?

thx

ajwfrost commented 2 years ago

Hi

I'm not entirely sure what you're trying to do or why ..?! If you run that command, then you turn the application from a 'fat' universal binary that contains multiple formats, into a 'thin' binary that only has the x86_64 version. So you can't then modify that file any further..

If you'd got two versions - one with the fat binary, and one with the thin - then you could change the app descriptor XML file so that they can then run as two different apps (I think - you may need to work around some other macOS handling of .app bundles) - and if you're changing the application ID in here, then please just add "-1" or similar onto the second one. If you change anything else in the application ID, then you'll get the splash screen appearing..

thanks

FrankyFR commented 2 years ago

i have 2 runtimes, i made new publish runtime wwith animate and sdk33.1

but when i execute lipo command, to the first runtime, all it's good, but one the 2nd i have the error and when i ask for information panel i see the check box to turn rosetta mode

ajwfrost commented 2 years ago

Okay interesting - so for the second one, what you do get if you just do lipo <executable_file> -archs?

FrankyFR commented 2 years ago

thx for the command, i see only x86_64

i understand, it's a finder problem, because it's always show rosetta option until you move the app

sorry, i can follow now

many thx for your help