Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.5.0 在 M1 Mac 12.4 上启动 crash #21

Closed
krzycube opened this issue Jun 18, 2022 · 6 comments
Closed

0.5.0 在 M1 Mac 12.4 上启动 crash #21

krzycube opened this issue Jun 18, 2022 · 6 comments

Comments

@krzycube
Copy link


Translated Report (Full Report Below)

Process: MiaoYan [82842]
Path: /Applications/MiaoYan.app/Contents/MacOS/MiaoYan
Identifier: com.tw93.MiaoYan
Version: 0.5.0 (0.5.0)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-06-18 09:48:14.4868 +0800
OS Version: macOS 12.4 (21F79)
Report Version: 12
Anonymous UUID: 0EABAA7E-515C-B2D6-4C64-239B9E87D9E2

Sleep/Wake UUID: 47FACED4-E881-4252-B68B-5C857F6DFEF5

Time Awake Since Boot: 630000 seconds
Time Since Wake: 782 seconds

System Integrity Protection: enabled

Crashed Thread: 0

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

Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/Highlightr.framework/Versions/A/Highlightr
Referenced from: /Applications/MiaoYan.app/Contents/MacOS/MiaoYan
Reason: tried: '/usr/lib/swift/Highlightr.framework/Versions/A/Highlightr' (no such file), '/usr/lib/swift/Highlightr.framework/Versions/A/Highlightr' (no such file), '/Applications/MiaoYan.app/Contents/MacOS/../Frameworks/Highlightr.framework/Versions/A/Highlightr' (code signature in <51631255-D451-3179-ADD2-C6C8F5B87825> '/Applications/MiaoYan.app/Contents/Frameworks/Highlightr.framework/Versions/A/Highlightr' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/Applications/MiaoYan.app/Contents/MacOS/Frameworks/Highlightr.framework/Versions/A/Highlightr' (no such file), '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/Highlightr.framework/Versions/A/Highlightr' (no such file), '/Applications/MiaoYan.app/Contents/MacOS/../Frameworks/Highlight
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0 Rosetta Runtime Routines 0x1031e9940 ???
1 0x10323b6dc ???
2 dyld 0x20301d1d2 abort_with_payload_wrapper_internal + 80
3 dyld 0x20301d204 abort_with_payload + 9
4 dyld 0x202fcb76f dyld4::halt(char const*) + 375
5 dyld 0x202fc75a5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3995
6 dyld 0x202fc64d4 start + 388

Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffc229c4 0x7ff7ffc1e000 + 18884
1 runtime 0x7ff7ffc30460 0x7ff7ffc1e000 + 74848
2 runtime 0x7ff7ffc31ed8 0x7ff7ffc1e000 + 81624

Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x0000000309933a90 x3: 0x0000000000000077
x4: 0x0000000309933690 x5: 0x0000000000000000 x6: 0x0000000309933680 x7: 0x0000002002fc3d87
x8: 0x0000000309933690 x9: 0x0000000000000000 x10: 0x0000000000000077 x11: 0x0000000309933690
x12: 0x0000000000000077 x13: 0x0000000309933a90 x14: 0x0000000000000001 x15: 0x0000000000000006
x16: 0x0000000000000209 x17: 0x0000000000000000 x18: 0x800000010b252b70 x19: 0x00000001031df000
x20: 0x00000000000007ff x21: 0x000000010b257fa0 x22: 0xffffffffffffffff x23: 0x00000001031e9914
x24: 0x000000020301d1d2 x25: 0x00000001031e91f4 x26: 0x0000000103239d78 x27: 0x0000000000000000
x28: 0x00000002030070be fp: 0x000000002c000000 lr: 0x000000010323b6dc
sp: 0x000000010b252b70 pc: 0x00000001031e9940 cpsr: 0x80001000
far: 0x000000010323b000 esr: 0x56000080 Address size fault

Binary Images:
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x202fc1000 - 0x20302cfff dyld (
) /usr/lib/dyld
0x7ff7ffc1e000 - 0x7ff7ffc4dfff runtime (*) <0ee8ce32-639c-316a-9551-dab9a2e0c8a5> /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=5292K resident=0K(0%) swapped_out_or_unallocated=5292K(100%)
Writable regions: Total=155.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=155.2M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Rosetta Arena 4096K 2
Rosetta Generic 780K 192
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 13.3M 5
VM_ALLOCATE (reserved) 24K 1 reserved VM address space (unallocated)
__DATA 432K 7
__DATA_CONST 80K 1
__LINKEDIT 2736K 8
__TEXT 2592K 4
dyld private memory 1024K 1
mapped file 6.1G 28
=========== ======= =======
TOTAL 6.3G 257
TOTAL, minus reserved VM space 6.3G 257


Full Report

{"app_name":"MiaoYan","timestamp":"2022-06-18 09:48:14.00 +0800","app_version":"0.5.0","slice_uuid":"b434f095-590a-37f7-9b70-934a60906bd5","build_version":"0.5.0","platform":1,"bundleID":"com.tw93.MiaoYan","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.4 (21F79)","incident_id":"A550CDB2-37C9-4282-A4E3-9E6D6072DA14","name":"MiaoYan"}
{
"uptime" : 630000,
"procLaunch" : "2022-06-18 09:48:14.4444 +0800",
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookAir10,1",
"procStartAbsTime" : 15250978103361,
"coalitionID" : 93694,
"osVersion" : {
"train" : "macOS 12.4",
"build" : "21F79",
"releaseType" : "User"
},
"captureTime" : "2022-06-18 09:48:14.4868 +0800",
"incident" : "A550CDB2-37C9-4282-A4E3-9E6D6072DA14",
"bug_type" : "309",
"pid" : 82842,
"procExitAbsTime" : 15250979113904,
"translated" : true,
"cpuType" : "X86-64",
"procName" : "MiaoYan",
"procPath" : "/Applications/MiaoYan.app/Contents/MacOS/MiaoYan",
"bundleInfo" : {"CFBundleShortVersionString":"0.5.0","CFBundleVersion":"0.5.0","CFBundleIdentifier":"com.tw93.MiaoYan"},
"storeInfo" : {"deviceIdentifierForVendor":"3DA4DF85-87C0-5AA3-8F18-A87B00402924","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.tw93.MiaoYan",
"crashReporterKey" : "0EABAA7E-515C-B2D6-4C64-239B9E87D9E2",
"wakeTime" : 782,
"sleepWakeUUID" : "47FACED4-E881-4252-B68B-5C857F6DFEF5",
"sip" : "enabled",
"isCorpse" : 1,
"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: @rpath/Highlightr.framework/Versions/A/Highlightr","Referenced from: /Applications/MiaoYan.app/Contents/MacOS/MiaoYan","Reason: tried: '/usr/lib/swift/Highlightr.framework/Versions/A/Highlightr' (no such file), '/usr/lib/swift/Highlightr.framework/Versions/A/Highlightr' (no such file), '/Applications/MiaoYan.app/Contents/MacOS/../Frameworks/Highlightr.framework/Versions/A/Highlightr' (code signature in <51631255-D451-3179-ADD2-C6C8F5B87825> '/Applications/MiaoYan.app/Contents/Frameworks/Highlightr.framework/Versions/A/Highlightr' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/Applications/MiaoYan.app/Contents/MacOS/Frameworks/Highlightr.framework/Versions/A/Highlightr' (no such file), '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/Highlightr.framework/Versions/A/Highlightr' (no such file), '/Applications/MiaoYan.app/Contents/MacOS/../Frameworks/Highlight"]},
"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":5061744,"threadState":{"x":[{"value":6},{"value":1},{"value":13045545616},{"value":119},{"value":13045544592},{"value":0},{"value":13045544576},{"value":137489038727},{"value":13045544592},{"value":0},{"value":119},{"value":13045544592},{"value":119},{"value":13045545616},{"value":1},{"value":6},{"value":521},{"value":0},{"value":9223372041336728432},{"value":4347260928},{"value":2047},{"value":4481974176},{"value":18446744073709551615},{"value":4347304212},{"value":8640385490,"symbolLocation":80,"symbol":"abort_with_payload_wrapper_internal"},{"value":4347302388},{"value":4347633016},{"value":0},{"value":8640295102,"symbolLocation":10,"symbol":"__abort_with_payload"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4347639516},"cpsr":{"value":2147487744},"fp":{"value":738197504},"sp":{"value":4481952624},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":4347304256,"matchesCrashFrame":1},"far":{"value":4347637760}},"frames":[{"imageOffset":4347304256,"region":"Rosetta Runtime Routines","symbolLocation":10560,"imageIndex":0},{"imageOffset":4347639516,"region":"","imageIndex":0},{"imageOffset":377298,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":80,"imageIndex":1},{"imageOffset":377348,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":1},{"imageOffset":42863,"symbol":"dyld4::halt(char const*)","symbolLocation":375,"imageIndex":1},{"imageOffset":26021,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3995,"imageIndex":1},{"imageOffset":21716,"symbol":"start","symbolLocation":388,"imageIndex":1}]},{"id":5061748,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":18884,"imageIndex":2},{"imageOffset":74848,"imageIndex":2},{"imageOffset":81624,"imageIndex":2}]}],
"usedImages" : [
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 8640008192,
"size" : 442368,
"uuid" : "b70ce1ec-b902-3852-8268-05de00bfa8d5",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 140703124545536,
"size" : 196608,
"uuid" : "0ee8ce32-639c-316a-9551-dab9a2e0c8a5",
"path" : "/usr/libexec/rosetta/runtime",
"name" : "runtime"
}
],
"sharedCache" : {
"base" : 140703294832640,
"size" : 15220686848,
"uuid" : "53b6853f-0bc3-33f5-be72-1aca3a188ff8"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=5292K resident=0K(0%) swapped_out_or_unallocated=5292K(100%)\nWritable regions: Total=155.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=155.2M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nRosetta Arena 4096K 2 \nRosetta Generic 780K 192 \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 13.3M 5 \nVM_ALLOCATE (reserved) 24K 1 reserved VM address space (unallocated)\n__DATA 432K 7 \n__DATA_CONST 80K 1 \n__LINKEDIT 2736K 8 \n__TEXT 2592K 4 \ndyld private memory 1024K 1 \nmapped file 6.1G 28 \n=========== ======= ======= \nTOTAL 6.3G 257 \nTOTAL, minus reserved VM space 6.3G 257 \n",
"legacyInfo" : {
"threadTriggered" : {

}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {

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

  },
  "deploymentId" : 240000161
}

],
"experiments" : [

]
}
}

Model: MacBookAir10,1, BootROM 7459.121.3, proc 8:4:4 processors, 16 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: DELL U2720Q, 5120 x 2880 (5K/UHD+ - Ultra High Definition Plus), Main, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Mar 23 2022 19:57:59 version 18.60.27.0.7.8.129 FWID 01-570be953
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB3.0 Hub
USB Device: USB2.0 Hub
USB Device: USB Billboard Device
USB Device: DK2087
USB Device: Razer DeathAdder Essential
USB Device: USB31Bus
USB Device: hub_device
USB Device: composite_device
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Bus: MacBook Air, Apple Inc.

@tw93
Copy link
Owner

tw93 commented Jun 18, 2022

谢谢反馈,我排查一下

@tw93
Copy link
Owner

tw93 commented Jun 18, 2022

@krzycube 辛苦帮忙试试这个包,是否ok

https://qpluspicture.oss-cn-beijing.aliyuncs.com/wvR5Vx/55.dmg

@krzycube
Copy link
Author

krzycube commented Jun 18, 2022 via email

@tw93
Copy link
Owner

tw93 commented Jun 18, 2022

@krzycube 感谢测试

拦截的样子方便截图给我看一下吗?我这边没有复现出来

@krzycube
Copy link
Author

截屏2022-06-18 10 17 06

截屏2022-06-18 10 17 26

@tw93
Copy link
Owner

tw93 commented Jun 18, 2022

谢谢反馈,哈哈第一个放出自己的app给大家用,关于开发者账号我近期去注册一个,这个issue先关闭了

@tw93 tw93 closed this as completed Jun 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants