papers3 在导入 pdf 时发生闪退, 分析原因是软件无法写入导致的.
由于本人不懂代码, 勉强查到了一些可能的原因:
由于 apple silicon 的 Write Protections 导致
https://stackoverflow.com/questions/73389982/apple-silicon-m1-inexplicable-sigbus-crashPorting Just-In-Time Compilers to Apple Silicon
https://developer.apple.com/documentation/apple-silicon/porting-just-in-time-compilers-to-apple-silicon附上崩溃报告, 还请专业人士指点如何才能让这个软件具有写入磁盘的能力, 谢谢!
(SIP 关闭与否都会崩溃)
Date/Time: 2022-10-04 10:52:39.7531 +0800
OS Version: macOS 12.5 (21G72)
Report Version: 12
Anonymous UUID: 82C6808D-4DC1-A998-4B90-6856811E3938
Sleep/Wake UUID: 6520A5DA-7E46-437B-8828-008B1353BA30
Crashed Thread: 6 Dispatch queue: NSOperationQueue 0x7fd51107c6a0 (QOS: UNSPECIFIED)
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [2453]
VM Region Info: 0 is not in any region. Bytes before following region: 4330409984
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 1021cd000-102420000 [ 2380K] r-x/rwx SM=COW .../MacOS/Papers
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=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)
Writable regions: Total=2.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.3G(100%)