欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

mac打开应用程序无反应解决方案

程序员文章站 2023-12-30 18:14:16
...

系统说明

mac版本:macOs mojava 10.14.6
mac机器:2015款pro(公司机)

错误报告

首先放上打开应用程序的crash文件

Process:               GuGu [1039]
Path:                  /private/var/folders/*/GuGu.app/Contents/MacOS/GuGu
Identifier:            com.mogujie.GuGu
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           GuGu [1039]
User ID:               501

Date/Time:             2021-06-18 20:14:15.510 +0800
OS Version:            Mac OS X 10.14.6 (18G103)
Report Version:        12
Anonymous UUID:        A213343E-ACC5-4D12-13C6-AE528D77D391


Time Awake Since Boot: 1000 seconds

System Integrity Protection: enabled

Notes:                 Translocated Process

Crashed Thread:        0

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
--> 
    __TEXT                 000000010686c000-0000000106be0000 [ 3536K] r-x/r-x SM=COW  

Thread 0 Crashed:
0                                 	0x000000010ea21000 _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffee9393b20
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x000000010ea21000  rfl: 0x0000000000000200  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0


Binary Images:
       0x10686c000 -        0x106bdffef + (0) <1FD06E61-5F62-3157-ABA4-87EBB7910CC6> 
       0x10ea20000 -        0x10ea8a70f + (655.1.1) <DFC3C4AF-6F97-3B34-B18D-7DCB23F2A83A> 

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: 74713
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=9796K resident=0K(0%) swapped_out_or_unallocated=9796K(100%)
Writable regions: Total=8400K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8400K(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
__DATA                             740K        3 
__LINKEDIT                        5836K        3 
__TEXT                            3964K        2 
shared memory                        8K        2 
===========                     =======  ======= 
TOTAL                             74.3M       12 


如何找到自己的crash文件

启动台->控制台->用户报告

重点信息

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

Exception Type: EXC_CRASH (Code Signature Invalid)

Termination Reason: Namespace CODESIGNING, Code 0x1

根据此大概得知签名有问题[此处疑问点是该应用程序已在电脑上运行大概一周没问题,重新安装应用,重启皆无法解决此问题]

解决方案

使用该命令重新设置应用签名[下面的GuGu.app自行替换]

sudo codesign --force --deep --sign - /Applications/GuGu.app/

输入密码
重新打开应用[打开成功]

相关标签: mac mac

上一篇:

下一篇: