TAP Connection Crashes macOS Sonoma

Got a problem with Viscosity or need help? Ask here!


Posts: 8
Joined: Tue Mar 15, 2016 9:18 am

Post by visortgw » Wed Dec 06, 2023 4:06 am
I have been a many year user of Viscosity on both macOS and Windows. I have noticed eventual crash of Mac PowerBook Pro (both m1 and m3) macOS Sonoma when using one or more TAP connections — TUN connections seem to be unaffected. Tunnel appears to be fully functional prior to delayed crash of MacBook Pro. Currently using macOS Sonoma 14.1.2 with Viscosity 1.11b7 (1665), but issue has persisted across multiple versions of Sonoma and Viscosity on two different MacBook Pros connecting to different OpenVPN servers hosted on Asus routers.

Anyone else see this? If so, any resolution? Thanks in advance.


User avatar
Posts: 2320
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Thu Dec 07, 2023 1:16 am
Hi visortgw,

Viscosity does not install or bundle any kernel extensions. If something causing macOS to crash (kernel panic) it is highly unlikely to be Viscosity caused as it does not run any code at that level in the macOS kernel. Older versions of Viscosity did use kernel extensions, however this hasn't been the case for several years now.

Generally in instances where macOS is crashing, where it has definitely been linked to connecting or disconnecting a VPN connection, it's typically the result of something else reacting to the network change. For example, other software which does run kernel level code may be reacting to the new VPN network interface in some way, and causing the crash. Common culprits are endpoint security software, antivirus software, firewall tools, and device drivers. Occasionally it can also be a bug in macOS, which should be reported to Apple via Feedback Assistant.

More information about the cause of the kernel panic should be available as a Diagnostic Report in the Console application:
https://support.apple.com/en-au/guide/c ... elcome/mac

Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs


Posts: 8
Joined: Tue Mar 15, 2016 9:18 am

Post by visortgw » Thu Dec 07, 2023 1:30 am
I will try TAP connections again (I temporarily have been using only TUN connections with no crashes), and I will check for Diagnostic Reports if/when a crash occurs. FYI, the crash is not instantaneous when the VPN connection is established or terminated, but rather several minutes into the VPN session.
3 posts Page 1 of 1