j4nf4b3l / MDMPatcher-Universal

MDM patch *should* working on iOS 15+...
310 stars 111 forks source link

Issue when trying to use on Macos Ventura (Instant Crash) #21

Closed RaptorWasTaken closed 1 year ago

RaptorWasTaken commented 1 year ago

There is an instant crash when trying to run on MacOS with a Macbook Air M1. This seems to be a common problem with others with the same OS at least. The following is my crash log file.

Process: MDMPatcher Universal [25516] Path: /private/var/folders/*/MDMPatcher Universal.app/Contents/MacOS/MDMPatcher Universal Identifier: com.noone.mdmpatch Version: 1.0 (1) Code Type: X86-64 (Translated) Parent Process: launchd [1] User ID: 501

Date/Time: 2023-06-12 20:46:48.6110 -0400 OS Version: macOS 13.2 (22D49) Report Version: 12 Anonymous UUID: DCEB7A12-9E70-9C5A-197C-5FA9E957005F

Sleep/Wake UUID: 24B3CF6D-5389-433B-A6EF-2A42165EB075

Time Awake Since Boot: 180000 seconds Time Since Wake: 3566 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: @loader_path/../Frameworks/libusbmuxd.dylib Referenced from: <7D6F0D01-0364-314E-BEF5-EFCDEB0682EE> /private/var/folders/*/MDMPatcher Universal.app/Contents/MacOS/MDMPatcher Universal Reason: tried: '/private/var/folders/y8/pv3mms917v92plxzqlg4bdhc0000gn/T/AppTranslocation/C35BC40B-6803-4D22-B6E2-867811592B29/d/MDMPatcher Universal.app/Contents/MacOS/../Frameworks/libusbmuxd.dylib' (code signature in '/private/var/folders/y8/pv3mms917v92plxzqlg4bdhc0000gn/T/AppTranslocation/C35BC40B-6803-4D22-B6E2-867811592B29/d/MDMPatcher Universal.app/Contents/Frameworks/libusbmuxd.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/System/Volumes/Preboot/Cryptexes/OS@loader_path/../Frameworks/libusbmuxd.dylib' (no such file), '/private/var/folders/y8/pv3mms917v92plxzqlg4bdhc0000gn/T/AppTr (terminated at launch; ignore backtrace)

Thread 0 Crashed: 0 Rosetta Runtime Routines 0x102d229a8 ??? 1 0x102db5f14 ??? 2 dyld 0x202f95d07 abort_with_payload_wrapper_internal + 82 3 dyld 0x202f95d39 abort_with_payload + 9 4 dyld 0x202f1d1e1 dyld4::halt(char const) + 375 5 dyld 0x202f1a660 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const) + 4502 6 dyld 0x202f19281 start + 2289

Thread 1:: com.apple.rosetta.exceptionserver 0 runtime 0x7ff7ffea3614 0x7ff7ffe9f000 + 17940 1 runtime 0x7ff7ffeaf530 0x7ff7ffe9f000 + 66864 2 runtime 0x7ff7ffeb0f30 0x7ff7ffe9f000 + 73520

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x0000000309bed810 x3: 0x00000000000000ee x4: 0x0000000309bed410 x5: 0x0000000000000000 x6: 0x0000000309bed7e0 x7: 0x0000002002f1f844 x8: 0x0000000309bed410 x9: 0x0000000000000000 x10: 0x00000000000000ee x11: 0x0000000309bed410 x12: 0x00000000000000ee x13: 0x0000000309bed810 x14: 0x0000000000000001 x15: 0x0000000000000006 x16: 0x0000000000000209 x17: 0x0000000000000000 x18: 0x800000010ad83b80 x19: 0x0000000102d18000 x20: 0x00000000000007ff x21: 0x000000010ad88fa0 x22: 0xffffffffffffffff x23: 0x0000000102d2297c x24: 0x0000000202f95d07 x25: 0x0000000102d22248 x26: 0x0000000102db3c00 x27: 0x0000000000000000 x28: 0x0000000202f7cb4a fp: 0x000000002c000000 lr: 0x0000000102db5f14 sp: 0x000000010ad83b80 pc: 0x0000000102d229a8 cpsr: 0x80001000 far: 0x000000010b2e5010 esr: 0x56000080 Address size fault

Binary Images: 0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ??? 0x202f13000 - 0x202faafff dyld () <270c4224-a38f-3a22-9ba9-95968f487738> /usr/lib/dyld 0x7ff7ffe9f000 - 0x7ff7ffecefff runtime (*) /usr/libexec/rosetta/runtime

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=1936K resident=0K(0%) swapped_out_or_unallocated=1936K(100%) Writable regions: Total=156.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=156.9M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Rosetta Arena 4096K 2 Rosetta Generic 900K 222 Rosetta IndirectBranch 32K 1 Rosetta JIT 128.0M 1 Rosetta Return Stack 20K 2 Rosetta Thread Context 20K 2 Stack 8176K 1 Stack Guard 56.0M 1 VM_ALLOCATE 15.5M 7 VM_ALLOCATE (reserved) 16K 1 reserved VM address space (unallocated) DATA 144K 6 DATA_CONST 32K 1 __DATA_DIRTY 16K 1 LINKEDIT 480K 8 TEXT 1488K 4 dyld private memory 512K 2 mapped file 6.6G 34 =========== ======= ======= TOTAL 6.9G 296 TOTAL, minus reserved VM space 6.9G 296


Full Report

{"app_name":"MDMPatcher Universal","timestamp":"2023-06-12 20:46:48.00 -0400","app_version":"1.0","slice_uuid":"7d6f0d01-0364-314e-bef5-efcdeb0682ee","build_version":"1","platform":1,"bundleID":"com.noone.mdmpatch","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.2 (22D49)","roots_installed":0,"name":"MDMPatcher Universal","incident_id":"565238B6-C202-43B1-B990-F1504EB174EA"} { "uptime" : 180000, "procRole" : "Background", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookAir10,1", "coalitionID" : 12627, "osVersion" : { "train" : "macOS 13.2", "build" : "22D49", "releaseType" : "User" }, "captureTime" : "2023-06-12 20:46:48.6110 -0400", "incident" : "565238B6-C202-43B1-B990-F1504EB174EA", "pid" : 25516, "translated" : true, "cpuType" : "X86-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-06-12 20:46:46.7755 -0400", "procStartAbsTime" : 4475462801203, "procExitAbsTime" : 4475506844153, "procName" : "MDMPatcher Universal", "procPath" : "\/private\/var\/folders\/\/MDMPatcher Universal.app\/Contents\/MacOS\/MDMPatcher Universal", "bundleInfo" : {"CFBundleShortVersionString":"1.0","CFBundleVersion":"1","CFBundleIdentifier":"com.noone.mdmpatch"}, "storeInfo" : {"deviceIdentifierForVendor":"43A1FC67-3DCE-56EC-8B47-C582C642F585","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.noone.mdmpatch", "crashReporterKey" : "DCEB7A12-9E70-9C5A-197C-5FA9E957005F", "throttleTimeout" : 2147483647, "wakeTime" : 3566, "sleepWakeUUID" : "24B3CF6D-5389-433B-A6EF-2A42165EB075", "sip" : "enabled", "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"}, "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: @loader_path\/..\/Frameworks\/libusbmuxd.dylib","Referenced from: <7D6F0D01-0364-314E-BEF5-EFCDEB0682EE> \/private\/var\/folders\/\/MDMPatcher Universal.app\/Contents\/MacOS\/MDMPatcher Universal","Reason: tried: '\/private\/var\/folders\/y8\/pv3mms917v92plxzqlg4bdhc0000gn\/T\/AppTranslocation\/C35BC40B-6803-4D22-B6E2-867811592B29\/d\/MDMPatcher Universal.app\/Contents\/MacOS\/..\/Frameworks\/libusbmuxd.dylib' (code signature in '\/private\/var\/folders\/y8\/pv3mms917v92plxzqlg4bdhc0000gn\/T\/AppTranslocation\/C35BC40B-6803-4D22-B6E2-867811592B29\/d\/MDMPatcher Universal.app\/Contents\/Frameworks\/libusbmuxd.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '\/System\/Volumes\/Preboot\/Cryptexes\/OS@loader_path\/..\/Frameworks\/libusbmuxd.dylib' (no such file), '\/private\/var\/folders\/y8\/pv3mms917v92plxzqlg4bdhc0000gn\/T\/AppTr"]}, "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":2119738,"threadState":{"x":[{"value":6},{"value":1},{"value":13048403984},{"value":238},{"value":13048402960},{"value":0},{"value":13048403936},{"value":137488365636},{"value":13048402960},{"value":0},{"value":238},{"value":13048402960},{"value":238},{"value":13048403984},{"value":1},{"value":6},{"value":521},{"value":0},{"value":9223372041331686272},{"value":4342251520},{"value":2047},{"value":4476932000},{"value":18446744073709551615},{"value":4342294908},{"value":8639831303,"symbolLocation":82,"symbol":"abort_with_payload_wrapper_internal"},{"value":4342293064},{"value":4342889472},{"value":0},{"value":8639728458,"symbolLocation":10,"symbol":"abort_with_payload"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4342898452},"cpsr":{"value":2147487744},"fp":{"value":738197504},"sp":{"value":4476910464},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":4342294952,"matchesCrashFrame":1},"far":{"value":4482551824}},"frames":[{"imageOffset":4342294952,"region":"Rosetta Runtime Routines","symbolLocation":10664,"imageIndex":0},{"imageOffset":4342898452,"region":"","imageIndex":0},{"imageOffset":535815,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":82,"imageIndex":1},{"imageOffset":535865,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":1},{"imageOffset":41441,"symbol":"dyld4::halt(char const)","symbolLocation":375,"imageIndex":1},{"imageOffset":30304,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const)","symbolLocation":4502,"imageIndex":1},{"imageOffset":25217,"symbol":"start","symbolLocation":2289,"imageIndex":1}]},{"id":2119767,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":17940,"imageIndex":2},{"imageOffset":66864,"imageIndex":2},{"imageOffset":73520,"imageIndex":2}]}], "usedImages" : [ { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" }, { "source" : "P", "arch" : "x86_64", "base" : 8639295488, "size" : 622592, "uuid" : "270c4224-a38f-3a22-9ba9-95968f487738", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "arm64", "base" : 140703127171072, "size" : 196608, "uuid" : "f066db2c-ed38-3f37-8d21-81d15fa908fe", "path" : "\/usr\/libexec\/rosetta\/runtime", "name" : "runtime" } ], "sharedCache" : { "base" : 140703542460416, "size" : 21474836480, "uuid" : "efc722b9-b3df-3d27-9a7b-c4acaf125abb" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1936K resident=0K(0%) swapped_out_or_unallocated=1936K(100%)\nWritable regions: Total=156.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=156.9M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nRosetta Arena 4096K 2 \nRosetta Generic 900K 222 \nRosetta IndirectBranch 32K 1 \nRosetta JIT 128.0M 1 \nRosetta Return Stack 20K 2 \nRosetta Thread Context 20K 2 \nStack 8176K 1 \nStack Guard 56.0M 1 \nVM_ALLOCATE 15.5M 7 \nVM_ALLOCATE (reserved) 16K 1 reserved VM address space (unallocated)\nDATA 144K 6 \nDATA_CONST 32K 1 \nDATA_DIRTY 16K 1 \nLINKEDIT 480K 8 \nTEXT 1488K 4 \ndyld private memory 512K 2 \nmapped file 6.6G 34 \n=========== ======= ======= \nTOTAL 6.9G 296 \nTOTAL, minus reserved VM space 6.9G 296 \n", "legacyInfo" : { "threadTriggered" : {

} }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "60356660bbe37970735c5624", "factorPackIds" : {

  },
  "deploymentId" : 240000027
},
{
  "rolloutId" : "610d52e1fc54bc3389840408",
  "factorPackIds" : {
    "SIRI_UNDERSTANDING_ASR_ASSISTANT" : "647651c4ed612f7c8b94a893",
    "SIRI_UNDERSTANDING_MORPHUN" : "62ec7220c682040ba94e6a20"
  },
  "deploymentId" : 240000698
}

], "experiments" : [

] } }

Model: MacBookAir10,1, BootROM 8419.80.7, proc 8:4:4 processors, 8 GB, SMC Graphics: Apple M1, Apple M1, Built-In Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online Memory Module: LPDDR4, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Nov 30 2022 03:35:43 version 18.20.379.9.7.8.145 FWID 01-9578a936 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB 2.0 Hub USB Device: USB 2.0 BILLBOARD USB Device: USB31Bus Thunderbolt Bus: MacBook Air, Apple Inc. Thunderbolt Bus: MacBook Air, Apple Inc.