mullvad / mullvadvpn-app

The Mullvad VPN client app for desktop and mobile
https://mullvad.net/
GNU General Public License v3.0
5.04k stars 337 forks source link

Desktop app will not start on macOS 12.6 - ERROR:network_service_instance_impl.cc(978) #4010

Open DaveOrDavid opened 2 years ago

DaveOrDavid commented 2 years ago

Issue report

Operating system: macOS Monterrey 12.6

App version: 2020.4

Issue description

App will not start from Applications icon launch or from the CLI. --disable-gpu still fails. Since the app does not technically "launch", there's no crash report generated that I can send. I've attached the terminal output below. It looks like ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service. seems to be where this begins. I don't have experience with Electron or Chromium, just trying to point out a highlight in an otherwise big block of code.

On the bright side, the Mullvad CLI works 👍

$ /Applications/Mullvad\ VPN.app/Contents/MacOS/Mullvad\ VPN --disable-gpu
[2022-10-07 09:49:55.895][verbose] Chromium sandbox is enabled
[2022-10-07 09:49:55.907][info] Running version 2022.4
[2022-10-07 09:49:56.045][info] Detected locale: en-US
[2022-10-07 09:49:56.068][info] Connected to the daemon
objc[11029]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffb48613ec8) and /Applications/Mullvad VPN.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib (0x108e019c8). One of the two will be used. Which one is undefined.
[2022-10-07 09:49:56.324][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094956.325414:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:56.332][error] Render process exited with exit code 9 due to killed
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notify (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at ApplicationMain.setTunnelStateImpl (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:755:60)
    at ApplicationMain.setTunnelState (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:745:18)
    at ConnectionObserver.ApplicationMain.onDaemonConnected [as openHandler] (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:327:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[11027:1007/094956.339161:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=9
[2022-10-07 09:49:56.340][error] Child process of type GPU exited with exit code 9 due to killed
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notify (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at AccountDataCache.updateHandler (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:185:65)
    at AccountDataCache.invalidate (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/account-data-cache.js:54:14)
    at AccountDataCache.fetch (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/account-data-cache.js:29:18)
    at ApplicationMain.handleDeviceEvent (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:931:39)
    at ConnectionObserver.ApplicationMain.onDaemonConnected [as openHandler] (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:337:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notifyDevice (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at ApplicationMain.handleDeviceEvent (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:941:61)
    at ConnectionObserver.ApplicationMain.onDaemonConnected [as openHandler] (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:337:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notify (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at ApplicationMain.setLatestVersion (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:912:68)
    at ApplicationMain.setSettings (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:766:18)
    at ConnectionObserver.ApplicationMain.onDaemonConnected [as openHandler] (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:351:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notify (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at ApplicationMain.setSettings (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:769:62)
    at ConnectionObserver.ApplicationMain.onDaemonConnected [as openHandler] (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:351:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notify (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at ApplicationMain.setRelays (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:792:60)
    at ApplicationMain.setSettings (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:776:14)
    at ConnectionObserver.ApplicationMain.onDaemonConnected [as openHandler] (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:351:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notify (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at ApplicationMain.setAccountHistory (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:710:68)
    at ApplicationMain.updateAccountHistory (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:1316:18)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-07 09:49:56.418][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094956.419492:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notify (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at ApplicationMain.setRelays (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:792:60)
    at ConnectionObserver.ApplicationMain.onDaemonConnected [as openHandler] (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:363:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notify (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at ApplicationMain.setDaemonVersion (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:880:68)
    at ConnectionObserver.ApplicationMain.onDaemonConnected [as openHandler] (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:372:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notifyConnected (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at ConnectionObserver.ApplicationMain.onDaemonConnected [as openHandler] (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:388:64)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-07 09:49:56.472][info] Skip autoconnect because GUI setting is disabled
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notify (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at ApplicationMain.setLatestVersion (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:912:68)
    at ApplicationMain.fetchLatestVersion (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:917:18)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-07 09:49:56.520][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094956.520814:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:56.594][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094956.594839:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
objc[11037]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffb48613ec8) and /Applications/Mullvad VPN.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib (0x1142519c8). One of the two will be used. Which one is undefined.
[2022-10-07 09:49:56.665][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094956.666349:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[11027:1007/094956.697239:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=9
[2022-10-07 09:49:56.698][error] Child process of type GPU exited with exit code 9 due to killed
[2022-10-07 09:49:56.740][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094956.741273:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at Object.notify (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/shared/ipc-helpers.js:90:25)
    at AccountDataCache.updateHandler (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/index.js:185:65)
    at AccountDataCache.setValue (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/account-data-cache.js:66:14)
    at AccountDataCache.performFetch (/Applications/Mullvad VPN.app/Contents/Resources/app.asar/build/src/main/account-data-cache.js:88:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-07 09:49:56.813][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094956.813775:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:56.883][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094956.884563:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:56.956][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094956.956695:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
objc[11043]: Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffb48613ec8) and /Applications/Mullvad VPN.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib (0x1074729c8). One of the two will be used. Which one is undefined.
[11027:1007/094957.002071:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=9
[2022-10-07 09:49:57.004][error] Child process of type GPU exited with exit code 9 due to killed
[2022-10-07 09:49:57.022][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094957.023743:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:57.084][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094957.085573:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:57.148][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094957.149051:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:57.213][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094957.213357:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[11049:1007/094957.232966:ERROR:gpu_init.cc(446)] Passthrough is not supported, GL is disabled, ANGLE is 
[11027:1007/094957.235614:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=9
[2022-10-07 09:49:57.235][error] Child process of type GPU exited with exit code 9 due to killed
[2022-10-07 09:49:57.283][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094957.284549:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:57.366][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094957.366603:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:57.445][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094957.446323:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[11055:1007/094957.476981:ERROR:gpu_init.cc(446)] Passthrough is not supported, GL is disabled, ANGLE is 
[11027:1007/094957.479588:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=9
[2022-10-07 09:49:57.479][error] Child process of type GPU exited with exit code 9 due to killed
[2022-10-07 09:49:57.508][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094957.508787:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:57.570][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094957.571579:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[2022-10-07 09:49:57.641][error] Child process of type Utility exited with exit code 9 due to killed
[11027:1007/094957.642383:ERROR:network_service_instance_impl.cc(978)] Network service crashed, restarting service.
[11065:1007/094957.702478:ERROR:gpu_init.cc(446)] Passthrough is not supported, GL is disabled, ANGLE is 
[11027:1007/094957.705099:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=9
[11027:1007/094957.705122:FATAL:gpu_data_manager_impl_private.cc(447)] GPU process isn't usable. Goodbye.
Trace/BPT trap: 5
[11069:1007/094957.709083:ERROR:mach_port_rendezvous.cc(310)] bootstrap_look_up net.mullvad.vpn.MachPortRendezvousServer.1: Permission denied (1100)
[11069:1007/094957.710182:ERROR:child_thread_impl.cc(226)] Mach rendezvous failed, terminating process (parent died?)
raksooo commented 2 years ago

Thanks for reporting! Could you try the latest beta (2022.5-beta2) and see if it works? It's available on our download page: https://mullvad.net/download/

DaveOrDavid commented 2 years ago

This has been resolved and I can run the Mullvad app using the 2022.5-beta2. However, it needed a few more steps than just uninstalling the production app and installing beta.