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

Big Sur 11.3 WindowServer 和 corebrightnessd 进程崩溃

  •  
  •   GeekN0m0r3 · 2021-05-07 19:43:40 +08:00 · 3917 次点击
    这是一个创建于 1326 天前的主题,其中的信息可能已经有所发展或是发生改变。

    不知道有没有人碰到这个问题,今天一天碰到两次了。都是休眠唤醒解锁后,一分钟左右突然崩溃,然后所有 App 都被杀死,要求我重新登录,就像是重启了一样。设备是 MacBook Pro M1 16G, 系统是 Big Sur 11.3.1,合盖外接显示器使用。 看了控制台,里面记录了 WindowServer 和 corebrightnessd 这两个进程同时崩溃。 目前找到了两个出现同样问题的帖子,但是都没有解决方案: https://discussions.apple.com/thread/252736238 https://forums.macrumors.com/threads/big-sur-11-1-corebrightnessd-crash-frequent-reboot.2276192/

    10 条回复    2021-05-27 07:51:29 +08:00
    GeekN0m0r3
        1
    GeekN0m0r3  
    OP
       2021-05-07 19:45:34 +08:00
    WindowServer crash log 的一部分
    Process: WindowServer [9515]
    Path: /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer
    Identifier: WindowServer
    Version: 600.00 (585)
    Code Type: ARM-64 (Native)
    Parent Process: launchd [1]
    Responsible: WindowServer [9515]
    User ID: 88

    Date/Time: 2021-05-07 19:23:55.293 +0800
    OS Version: macOS 11.3.1 (20E241)
    Report Version: 12
    Anonymous UUID: 8DFE601D-AF09-944E-1DE0-F3D8486ED0FC

    Sleep/Wake UUID: CA8835B6-40F5-462F-B9F9-890D3C644942

    Time Awake Since Boot: 68000 seconds
    Time Since Wake: 47 seconds

    System Integrity Protection: enabled

    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

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

    Termination Reason: WATCHDOG, [0x1] monitoring timed out for service
    Termination Details: WATCHDOG, checkin with service: WindowServer returned not alive with context:
    is_alive_func returned unhealthy : Display 2 not ready:
    Display 3 is online and ready.

    no successful checkins since wake (40 seconds ago) (0 induced crashes)

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 libsystem_kernel.dylib 0x0000000195004e54 mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x0000000195005204 mach_msg + 76
    2 com.apple.SkyLight 0x0000000199b92fb8 CGXRunOneServicesPass + 1036
    3 com.apple.SkyLight 0x0000000199b94008 server_loop + 128
    4 com.apple.SkyLight 0x0000000199b93da8 SLXServer + 1916
    5 WindowServer 0x00000001007cf328 0x1007cc000 + 13096
    6 libdyld.dylib 0x000000019505c420 start + 4
    GeekN0m0r3
        2
    GeekN0m0r3  
    OP
       2021-05-07 19:46:04 +08:00
    corebrightnessd crash log 的一部分
    Process: corebrightnessd [9514]
    Path: /usr/libexec/corebrightnessd
    Identifier: corebrightnessd
    Version: 1071.100.69
    Code Type: ARM-64 (Native)
    Parent Process: launchd [1]
    Responsible: corebrightnessd [9514]
    User ID: 0

    Date/Time: 2021-05-07 19:23:55.294 +0800
    OS Version: macOS 11.3.1 (20E241)
    Report Version: 12
    Anonymous UUID: 8DFE601D-AF09-944E-1DE0-F3D8486ED0FC

    Sleep/Wake UUID: CA8835B6-40F5-462F-B9F9-890D3C644942

    Time Awake Since Boot: 68000 seconds
    Time Since Wake: 47 seconds

    System Integrity Protection: enabled

    Crashed Thread: 1 Dispatch queue: BacklightControl - Primary

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

    Application Specific Information:
    dyld3 mode
    *** Terminating app due to uncaught exception 'NSGenericException', reason: 'SkyLight offline - restart corebrightnessd'
    terminating with uncaught exception of type NSException
    abort() called

    Application Specific Backtrace 1:
    0 CoreFoundation 0x00000001951bbdb8 __exceptionPreprocess + 240
    1 libobjc.A.dylib 0x0000000194ee50a8 objc_exception_throw + 60
    2 CoreFoundation 0x00000001951bbc04 +[NSException exceptionWithName:reason:userInfo:] + 0
    3 CoreBrightness 0x000000019fd7eac8 -[BLControl handleSKLClientNotificationWithType:andPayload:] + 624
    4 SkyLight 0x0000000199983bf4 -[SLSBrightnessControlClient handleServerMessage:] + 3132
    5 SkyLight 0x0000000199a66780 __119-[SLSDisplayControlClient registerDaemonClient:withAutoreconnect:error:notifyQueue:notificationType:notificationBlock:]_block_invoke + 304
    6 SkyLight 0x0000000199add91c __107-[SLSXPCService initConnectionWithName:notificationQueue:withAutoreconnect:errorHandler:notificationBlock:]_block_invoke_2 + 40
    7 libdispatch.dylib 0x0000000194e8e0f8 _dispatch_call_block_and_release + 32
    8 libdispatch.dylib 0x0000000194e8fe90 _dispatch_client_callout + 20
    9 libdispatch.dylib 0x0000000194e97678 _dispatch_lane_serial_drain + 620
    10 libdispatch.dylib 0x0000000194e98274 _dispatch_lane_invoke + 404
    11 libdispatch.dylib 0x0000000194ea2b44 _dispatch_workloop_worker_thread + 764
    12 libsystem_pthread.dylib 0x000000019503aff8 _pthread_wqthread + 276
    13 libsystem_pthread.dylib 0x0000000195039d30 start_wqthread + 8

    Thread 0:: Dispatch queue: com.apple.main-thread
    0 libsystem_kernel.dylib 0x0000000195004e54 mach_msg_trap + 8
    1 libsystem_kernel.dylib 0x0000000195005204 mach_msg + 76
    2 com.apple.CoreFoundation 0x000000019513de9c __CFRunLoopServiceMachPort + 372
    3 com.apple.CoreFoundation 0x000000019513c368 __CFRunLoopRun + 1212
    4 com.apple.CoreFoundation 0x000000019513b734 CFRunLoopRunSpecific + 600
    5 com.apple.CoreFoundation 0x00000001951c6754 CFRunLoopRun + 64
    6 corebrightnessd 0x0000000102e8b5f4 main + 548
    7 libdyld.dylib 0x000000019505c420 start + 4

    Thread 1 Crashed:: Dispatch queue: BacklightControl - Primary
    0 libsystem_kernel.dylib 0x000000019500ce78 __pthread_kill + 8
    1 libsystem_pthread.dylib 0x000000019503eb98 pthread_kill + 292
    2 libsystem_c.dylib 0x0000000194f87460 abort + 104
    3 libc++abi.dylib 0x0000000194ffdb44 abort_message + 132
    4 libc++abi.dylib 0x0000000194feee54 demangling_terminate_handler() + 308
    5 libobjc.A.dylib 0x0000000194ee7c94 _objc_terminate() + 144
    6 libc++abi.dylib 0x0000000194ffcf2c std::__terminate(void (*)()) + 20
    7 libc++abi.dylib 0x0000000194ffceb8 std::terminate() + 48
    8 libdispatch.dylib 0x0000000194e8fea4 _dispatch_client_callout + 40
    9 libdispatch.dylib 0x0000000194e97678 _dispatch_lane_serial_drain + 620
    10 libdispatch.dylib 0x0000000194e98274 _dispatch_lane_invoke + 404
    11 libdispatch.dylib 0x0000000194ea2b44 _dispatch_workloop_worker_thread + 764
    12 libsystem_pthread.dylib 0x000000019503aff8 _pthread_wqthread + 276
    13 libsystem_pthread.dylib 0x0000000195039d30 start_wqthread + 8
    frinstioAKL
        3
    frinstioAKL  
       2021-05-07 22:07:04 +08:00
    类似的问题, 比你更严重, 都是升级到 11.3 后开始出现的. 不过我的错误出现在 com.apple.driver.AppleHIDKeyborad. 我的问题是莫名其妙突然开始系统疯狂掉帧, 鼠标移动都卡成 ppt, 但是此时 cpu 没有什么高占用; 休眠唤醒, 出现一个显示有 bug 的进度条 (进度条上有紫色块), 唤醒时间比较久; 唤醒后, 有一定几率 5 分钟内紫屏死机重启, 或者想你那样所有 APP 被杀掉, 需要重新登陆. 我这边尝试升级到 11.4 beta 1 也未能解决, 最后找到的解决方案是用 cleanmymac 查看所有的启动代理(LaunchAgents 和 LaunchDaemons), 逐个禁用加卸载对应软件, 然后重启电脑查看是否解决. 因为我的错误日志是出现在 com.apple.driver.AppleHIDKeyborad 这里, 所以我直接怀疑是 Karabiner 和第三方输入法的问题, 果然卸载完搜狗输入法就搞定了
    jbddd
        4
    jbddd  
       2021-05-07 22:43:30 +08:00
    终于碰到一个和我一样问题的人了。升级到 11.3 后出现问题,迄今为止还没搞明白问题出在哪里。
    jbddd
        5
    jbddd  
       2021-05-07 23:01:07 +08:00
    顺便说一下我的情况,我是 mac mini M1,外接两个 4K 显示器,一个是通过自带 hdmi,另一个是通过 tb3 hub 转 dp 口。

    同时外接有雷电硬盘。目前发生情况原因不明。但看之前帖子里说的,似乎和显示器有点关系……
    GeekN0m0r3
        6
    GeekN0m0r3  
    OP
       2021-05-08 09:09:21 +08:00 via iPhone
    @jbddd 我是直接用 usbc 线连接显示器的,暂时也不太清楚这玩意到底为啥会触发。有时候休眠唤醒就没事,有时候就会崩溃。
    Dicer0615
        7
    Dicer0615  
       2021-05-19 10:16:03 +08:00
    同样是 bug sur 11.3,M1BP,补充一些问题:

    窗口缩放时出现严重的掉帧,非常明显。

    停止操作一段时间后会进入睡眠模式,并且唤醒时会出现一个进度条,读条大概 1/3 后消失,然后就是登陆界面了,需要输入密码,不能使用指纹验证。

    使用拓展坞外接显示屏经常粉屏死机,不过这个现象在 11.3 之前也频频发生。
    GeekN0m0r3
        8
    GeekN0m0r3  
    OP
       2021-05-19 19:19:10 +08:00
    @Dicer0615 缩放掉帧和粉屏我没碰到过。但是进入睡眠模式应该就和我描述的是一样的。mac rumours 上有人说换了显示器解决了,不知道你是什么显示器。
    yueqianh
        9
    yueqianh  
       2021-05-26 20:21:32 +08:00
    macOS 11.4 好像解决了我的问题。你们呢?
    GeekN0m0r3
        10
    GeekN0m0r3  
    OP
       2021-05-27 07:51:29 +08:00
    @yueqianh 之前也只是偶尔出现,我这才升级两天,确实没出现,不过也不好说。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1318 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 17:36 · PVG 01:36 · LAX 09:36 · JFK 12:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.