V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
tyhunter
V2EX  ›  macOS

Mojave 10.14.5 下今天突然一大批应用无法打开

  •  
  •   tyhunter · 2019-07-15 11:16:48 +08:00 · 2923 次点击
    这是一个创建于 1959 天前的主题,其中的信息可能已经有所发展或是发生改变。
    打开先是无响应,然后弹出: 应用程序“ XXXXX ”不能打开。接着是“ XXXXX ”意外退出,目前做了以下尝试:
    1、删除后重装应用,但结果一样
    2、chmod a+x 应用程序.app ,但结果一样
    3、运行磁盘急救,但感觉也没作用,而且急救没有跑完,log 如下:
    正在“ Macintosh HD ”( disk1s1 )上运行“急救”

    注:“急救”将临时锁定启动宗卷。

    正在验证文件系统。
    宗卷未能卸载。
    正在使用实时模式。
    正在执行 fsck_apfs -n -l -x /dev/rdisk1s1
    Checking the container superblock.
    Checking the EFI jumpstart record.
    Checking the space manager.
    Checking the space manager free queue trees.
    Checking the object map.
    Checking volume.
    Checking the APFS volume superblock.
    The volume Macintosh HD was formatted by newfs_apfs (748.1.46) and last modified by apfs_kext (945.260.7).
    Checking the object map.
    Checking the snapshot metadata tree.
    Checking the snapshot metadata.
    Checking snapshot 1 of 2.
    warning: inode_val: object (oid 0xbf886): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf889): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf88a): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf88b): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf88c): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf88d): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf88e): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf88f): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf890): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf891): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf892): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf893): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf894): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf896): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf897): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf898): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf899): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf89a): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf89b): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf89e): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8a1): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8a2): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8a3): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8a4): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8a5): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8a6): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8a7): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8a8): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8a9): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8aa): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8ab): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8ac): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8ad): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8ae): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8af): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8b0): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8b1): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8b2): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8b3): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8b4): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8b5): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8b6): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8b7): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8b8): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8b9): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8bc): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8bd): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8be): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8bf): invalid bsd_flags (0x10)
    warning: inode_val: object (oid 0xbf8c0): invalid bsd_flags (0x10)
    too many warnings generated; suppressing subsequent ones.
    error: found file extent gap (id 9226084) at logical address 49152 (expected 0)
    error: alloced_size (118784) of dstream (id 10599935) does not match calculated size (0)
    error: dstream (id 10652642) does not have an associated dstream id object
    error: alloced_size (90112) of dstream (id 10652642) does not match calculated size (0)
    error: alloced_size (118784) of dstream (id 10599935) does not match calculated size (0)
    error: dstream (id 10652642) does not have an associated dstream id object
    error: alloced_size (90112) of dstream (id 10652642) does not match calculated size (0)
    Checking snapshot 2 of 2.
    error: found file extent gap (id 9226084) at logical address 49152 (expected 0)
    error: alloced_size (118784) of dstream (id 10599935) does not match calculated size (0)
    error: dstream (id 10652642) does not have an associated dstream id object
    error: alloced_size (90112) of dstream (id 10652642) does not match calculated size (0)
    error: alloced_size (118784) of dstream (id 10599935) does not match calculated size (0)
    error: dstream (id 10652642) does not have an associated dstream id object
    error: alloced_size (90112) of dstream (id 10652642) does not match calculated size (0)
    Checking the extent ref tree.
    Checking the fsroot tree.
    error: found file extent gap (id 9226084) at logical address 49152 (expected 0)
    error: alloced_size (118784) of dstream (id 10599935) does not match calculated size (0)
    error: dstream (id 10652642) does not have an associated dstream id object
    error: alloced_size (90112) of dstream (id 10652642) does not match calculated size (0)
    error: alloced_size (118784) of dstream (id 10599935) does not match calculated size (0)
    error: dstream (id 10652642) does not have an associated dstream id object
    error: alloced_size (90112) of dstream (id 10652642) does not match calculated size (0)
    Verifying allocated space.
    Performing deferred repairs.
    error: found file extent gap (id 9226084) at logical address 0+49152
    error: found file extent gap (id 10599935) at logical address 0+118784
    error: dstream (id 10652642) does not have an associated dstream id object
    error: found file extent gap (id 10652642) at logical address 0+90112
    Deferred repairs failed.
    The volume /dev/rdisk1s1 could not be verified completely.
    文件系统检查退出代码为 8。
    正在恢复发现为已装载的原始状态。

    操作成功。

    4、重启到 recovery 下运行急救,但压根就不让我用

    求助下 V 友,有没有遇到这类问题
    7 条回复    2019-07-19 22:41:47 +08:00
    duxiansen
        1
    duxiansen  
       2019-07-15 11:23:39 +08:00
    具体哪些应用?是否是破解版?
    cattyhouse
        2
    cattyhouse  
       2019-07-15 20:07:33 +08:00
    sudo diskutil verifydisk disk0
    sudo diskutil repairdisk disk0
    swatloverose
        3
    swatloverose  
       2019-07-17 23:07:04 +08:00
    前两天跟你的情况一模一样 我的解决办法是清除签名临时解决 具体什么原因造成的还没弄清楚
    (当时问题一出 MB 了 LR 打不开了 PS 打不开了 冷汗都出来了 上百 G 的客户素材)最后祝你好运
    1 ) sudo xattr -r -d com.apple.quarantine (把程序拖进去)
    2 ) codesign -f -s - --deep (把程序拖进去)
    uhayate
        4
    uhayate  
       2019-07-18 18:54:01 +08:00
    MD 我也是,我就这个原因去升级了测试版的 10.15 ,结果跳进另一个大坑。
    这个问题的解决办法是(举个栗子):
    sudo codesign --force --deep --sign - /Applications/Alfred\ 4.app
    wangyadong
        5
    wangyadong  
       2019-07-19 09:30:49 +08:00
    如果是使用 TNT 破解版的话 ,这些天会出现应用无法使用 /打开或者闪退的情况。因为 Apple 苹果公司删除了 TNT 的证书,所以在 2019 年 7 月 12 日后软件都不能运行了,临时的解决办法,就是自己签名。
    ------
    看楼上两位的解决方法似乎印证了
    ------
    力所能及的话支持正版吧
    1ychee
        6
    1ychee  
       2019-07-19 09:44:12 +08:00
    可以来我们数码荔枝正版商城看看: https://lizhi.io/store
    swatloverose
        7
    swatloverose  
       2019-07-19 22:41:47 +08:00
    @wangyadong 感谢 目前 TNT 已经针对证书问题重新发放里 CR2 版本的 APP
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5980 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 03:00 · PVG 11:00 · LAX 19:00 · JFK 22:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.