Chrome 在 Catalina OS 中因错误而关闭

Chrome 在 Catalina OS 中因错误而关闭

Google Chrome 在 Catalina OS X 中关闭,并显示以下错误消息:

Process:               Google Chrome [990]
Path:                  /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
Identifier:            com.google.Chrome
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Google Chrome [990]
User ID:               501

Date/Time:             2020-09-10 11:12:22.133 +0600
OS Version:            Mac OS X 10.15.6 (19G2021)
Report Version:        12
Anonymous UUID:        71576168-94E4-4836-ACC6-B511700981F5


Time Awake Since Boot: 1100 seconds

System Integrity Protection: disabled

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                 00000001062a6000-00000001062cf000 [  164K] r-x/r-x SM=COW  

Thread 0 Crashed:
0   @<|                            0x000000010d95c000 _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: 0x00007ffee9959be8
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x000000010d95c000  rfl: 0x0000000000000200  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0


Binary Images:
       0x1062a6000 -        0x1062ceff7 +@<| (0) <624A11B8-529E-3881-8BA5-0EF01431CE6D> @<|
       0x10d95b000 -        0x10d9ecf47 +@<| (750.6) <F9D4DEDC-8296-3E3F-B517-9C8B89A4C094> @<|

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

VM Region Summary:
ReadOnly portion of Libraries: Total=1000K resident=0K(0%) swapped_out_or_unallocated=1000K(100%)
Writable regions: Total=8408K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8408K(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
__DATA                             232K        4 
__DATA_CONST                        20K        1 
__LINKEDIT                         252K        2 
__TEXT                             748K        2 
shared memory                        8K        2 
===========                     =======  ======= 
TOTAL                             65.2M       13 

Model: MacBookPro8,2, BootROM 87.0.0.0.0, 4 processors, Quad-Core Intel Core i7, 2.2 GHz, 16 GB, SMC 1.69f4
Graphics: kHW_IntelHD3000Item, Intel HD Graphics 3000, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1333 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1333 MHz, 0x855D, -
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.102.31)
Bluetooth: Version 7.0.6f7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Samsung SSD 860 QVO 1TB, 1 TB
Serial ATA Device: OPTIARC DVD RW AD-5970H
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: IR Receiver
USB Device: USB 2.0 Bus
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM2070 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.1

有人知道该怎么办吗?

答案1

您需要更改应用程序的协同设计。

运行以下命令:

xattr -lr /Applications/Google\ Chrome.app
xattr -cr /Applications/Google\ Chrome.app
sudo codesign -f -s - /Applications/Google\ Chrome.app 

如果您在其他地方安装了 Google Chrome,请使用它代替/Applications/Google\ Chrome.app

答案2

看起来应用程序没有正确签名。另外,您似乎关闭了 SIP,这可能会导致失败。不要关闭 SIP,如果您需要在没有它的情况下执行特定工作,只需将其切换,然后直接将其重新打开。

此外,您正在运行该计算机不支持的操作系统 - 可能是使用了 dosDude 的安装程序 hack。MacBookPro8,2 仅支持 High Sierra 以上版本。
不支持的原因是您的 GPU 不支持 Metal。

基本上……太过分了。可能会出现随机问题;或者回滚到 High Sierra。

答案3

这对我有用:

cd '/Applications/Google Chrome.app/Contents/MacOS'
./Google\ Chrome &

如果完成此步骤后仍无法运行 Chrome,请终止该进程并重试:

./Google\ Chrome &
[1] 53333

# Chrome didnt run and try again
kill -9  53333
./Google\ Chrome &

当它运行时,允许通知,然后它将像往常一样从终端正常运行。

相关内容