DFRobot / uPyCraft

286 stars 79 forks source link

MacOS Ventura 13.1 exception on install/launch #43

Open frankcohen opened 1 year ago

frankcohen commented 1 year ago

Downloaded from https://randomnerdtutorials.com/uPyCraftMac, get a crash error when opening the app on MacOS 13.1, 2.3 GHz Quad-Core Intel Core i7, Powerbook laptop.


Translated Report (Full Report Below)

Process: uPyCraft [43199] Path: /private/var/folders/*/uPyCraft.app/Contents/MacOS/uPyCraft Identifier: uPyCraft Version: 0.0.0 (???) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2023-01-16 09:34:36.5810 -0800 OS Version: macOS 13.1 (22C65) Report Version: 12 Bridge OS Version: 7.1 (20P2059) Anonymous UUID: A2D47672-A847-DE4A-4DFF-48BD3DDD62BE

Sleep/Wake UUID: 0FA0294B-5AAF-45B2-A0BB-579FF1A8461A

Time Awake Since Boot: 130000 seconds Time Since Wake: 2481 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

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

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff80a87822a __pthread_kill + 10 1 libsystem_pthread.dylib 0x7ff80a8aff7b pthread_kill + 263 2 libsystem_c.dylib 0x7ff80a7bc530 raise + 26 3 uPyCraft 0x10e1199f7 0x10e115000 + 18935 4 uPyCraft 0x10e117721 0x10e115000 + 10017 5 uPyCraft 0x10e115ec4 0x10e115000 + 3780

Thread 1: 0 libsystem_pthread.dylib 0x7ff80a8abc58 start_wqthread + 0

Thread 2: 0 libsystem_pthread.dylib 0x7ff80a8abc58 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007ff84e1e08c0 rcx: 0x00007ff7b1de9d78 rdx: 0x0000000000000000 rdi: 0x0000000000000103 rsi: 0x000000000000000b rbp: 0x00007ff7b1de9da0 rsp: 0x00007ff7b1de9d78 r8: 0x0000000000000400 r9: 0x00000000000003ff r10: 0x00007ff84e1e08c0 r11: 0x0000000000000246 r12: 0x0000000000000103 r13: 0x00007ff7b1deac38 r14: 0x000000000000000b r15: 0x0000000000000016 rip: 0x00007ff80a87822a rfl: 0x0000000000000246 cr2: 0x0000600001d48000

Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133

Binary Images: 0x7ff80a870000 - 0x7ff80a8a9ff7 libsystem_kernel.dylib () <7c3dcc95-9f42-3c7c-8796-476ff67b9cf7> /usr/lib/system/libsystem_kernel.dylib 0x7ff80a8aa000 - 0x7ff80a8b5ff7 libsystem_pthread.dylib () <5920e36f-53ec-33f0-b675-8ae48b58418c> /usr/lib/system/libsystem_pthread.dylib 0x7ff80a778000 - 0x7ff80a800fff libsystem_c.dylib () <376f7cb7-6dd2-3e00-976f-77dd755bdb0d> /usr/lib/system/libsystem_c.dylib 0x10e115000 - 0x10e11bfff uPyCraft (0.0.0) <32ab4b3f-56df-3c81-b3ee-2215ac410955> /private/var/folders//uPyCraft.app/Contents/MacOS/uPyCraft

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

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Activity Tracing 256K 1 ColorSync 8K 1 Kernel Alloc Once 8K 1 MALLOC 225.2M 35 MALLOC guard page 48K 10 MALLOC_MEDIUM (reserved) 104.0M 1 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) STACK GUARD 56.0M 3 Stack 9232K 3 VM_ALLOCATE 20K 3 DATA 14.2M 272 DATA_CONST 13.1M 170 DATA_DIRTY 623K 96 __FONT_DATA 2352 1 LINKEDIT 202.2M 2 OBJC_RO 65.4M 1 __OBJC_RW 1988K 2 TEXT 206.1M 292 dyld private memory 512K 2 mapped file 29.5M 4 shared memory 776K 16 =========== ======= ======= TOTAL 1.3G 917 TOTAL, minus reserved VM space 824.8M 917


Full Report

{"app_name":"uPyCraft","timestamp":"2023-01-16 09:34:36.00 -0800","app_version":"0.0.0","slice_uuid":"32ab4b3f-56df-3c81-b3ee-2215ac410955","build_version":"","platform":1,"bundleID":"uPyCraft","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.1 (22C65)","roots_installed":0,"name":"uPyCraft","incident_id":"0894CF06-5308-4104-A9FD-D4FFD02149A0"} { "uptime" : 130000, "procRole" : "Non UI", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro16,2", "coalitionID" : 14428, "osVersion" : { "train" : "macOS 13.1", "build" : "22C65", "releaseType" : "User" }, "captureTime" : "2023-01-16 09:34:36.5810 -0800", "incident" : "0894CF06-5308-4104-A9FD-D4FFD02149A0", "pid" : 43199, "cpuType" : "X86-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-01-16 09:34:24.5124 -0800", "procStartAbsTime" : 133344934467195, "procExitAbsTime" : 133357002827126, "procName" : "uPyCraft", "procPath" : "\/private\/var\/folders\/\/uPyCraft.app\/Contents\/MacOS\/uPyCraft", "bundleInfo" : {"CFBundleShortVersionString":"0.0.0","CFBundleIdentifier":"uPyCraft"}, "storeInfo" : {"deviceIdentifierForVendor":"B4DAC5CB-3CB3-566C-BF93-5285D5F5E90E","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "uPyCraft", "crashReporterKey" : "A2D47672-A847-DE4A-4DFF-48BD3DDD62BE", "throttleTimeout" : 2147483647, "wakeTime" : 2481, "bridgeVersion" : {"build":"20P2059","train":"7.1"}, "sleepWakeUUID" : "0FA0294B-5AAF-45B2-A0BB-579FF1A8461A", "sip" : "enabled", "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGSEGV"}, "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":1877899,"threadState":{"r13":{"value":140701817809976},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":11},"rsi":{"value":11},"r8":{"value":1024},"cr2":{"value":105553146970112},"rdx":{"value":0},"r10":{"value":140704439208128,"symbolLocation":0,"symbol":"_main_thread"},"r9":{"value":1023},"r15":{"value":22},"rbx":{"value":140704439208128,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703305269802,"matchesCrashFrame":1},"rbp":{"value":140701817806240},"rsp":{"value":140701817806200},"r12":{"value":259},"rcx":{"value":140701817806200},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":33322,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":24443,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":279856,"symbol":"raise","symbolLocation":26,"imageIndex":2},{"imageOffset":18935,"imageIndex":3},{"imageOffset":10017,"imageIndex":3},{"imageOffset":3780,"imageIndex":3}]},{"id":1877987,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":1878183,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}], "usedImages" : [ { "source" : "P", "arch" : "x86_64", "base" : 140703305236480, "size" : 237560, "uuid" : "7c3dcc95-9f42-3c7c-8796-476ff67b9cf7", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703305474048, "size" : 49144, "uuid" : "5920e36f-53ec-33f0-b675-8ae48b58418c", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703304220672, "size" : 561152, "uuid" : "376f7cb7-6dd2-3e00-976f-77dd755bdb0d", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 4530982912, "CFBundleShortVersionString" : "0.0.0", "CFBundleIdentifier" : "uPyCraft", "size" : 28672, "uuid" : "32ab4b3f-56df-3c81-b3ee-2215ac410955", "path" : "\/private\/var\/folders\/\/uPyCraft.app\/Contents\/MacOS\/uPyCraft", "name" : "uPyCraft" } ], "sharedCache" : { "base" : 140703301513216, "size" : 21474836480, "uuid" : "ea7f9772-219e-3ece-a4d9-20aeee3bc80f" }, "vmSummary" : "ReadOnly portion of Libraries: Total=408.3M resident=0K(0%) swapped_out_or_unallocated=408.3M(100%)\nWritable regions: Total=723.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=723.0M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 8K 1 \nKernel Alloc Once 8K 1 \nMALLOC 225.2M 35 \nMALLOC guard page 48K 10 \nMALLOC_MEDIUM (reserved) 104.0M 1 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.0M 3 \nStack 9232K 3 \nVM_ALLOCATE 20K 3 \nDATA 14.2M 272 \nDATA_CONST 13.1M 170 \nDATA_DIRTY 623K 96 \n__FONT_DATA 2352 1 \nLINKEDIT 202.2M 2 \nOBJC_RO 65.4M 1 \n__OBJC_RW 1988K 2 \nTEXT 206.1M 292 \ndyld private memory 512K 2 \nmapped file 29.5M 4 \nshared memory 776K 16 \n=========== ======= ======= \nTOTAL 1.3G 917 \nTOTAL, minus reserved VM space 824.8M 917 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "5ffde50ce2aacd000d47a95f", "factorPackIds" : {

  },
  "deploymentId" : 240000238
},
{
  "rolloutId" : "63a0a6cfd1cdb67d083006d0",
  "factorPackIds" : {

  },
  "deploymentId" : 240000003
}

], "experiments" : [

] } }

MKZwei commented 1 year ago

I have exactly the same issue with the version Mac OS 13.3.1. It's good to know that it might be a problem in the software and not the settings on my system.

faatemehch commented 1 year ago

i have this problem too. did you fine any solution?

janelleenqi commented 5 months ago

I have just tried to open my installed uPyCraft and I am facing the same issue (macOS Ventura 13 too). Have any workarounds been found?