Apologies in advance for the incompleteness of this bug report; I'll fill in more data as I get it.
For the last N weeks I've been noticing a problem: When my mac wakes from sleep, the openvpn process is locked up in some way, which in turn causes the mouse to turn into a pinwheel when it hovers over the tunnelblick menubar icon. In this state the tunnel is down. "kill <pid>" on the openvpn process has no effect, but "kill -9 <pid>" works. About five seconds after that, the menubar icon stops pinwheeling and becomes responsive again.
There were no configuration changes made for more than a year when this problem started happening. It is possible that an Apple security update was applied just before, but I don't think so. (Sorry, my memory as to when this started exactly is cloudy. It didn't seem significant until it had happened a number of times.)
For a while I was too jammed up with work projects to look into this much, as I had a functional workaround. But it's seriously annoying, and still not fixed, so I just started looking into it more. I regret that I did not note when it started up exactly, so my first step has been to try to figure out when things went wrong. I was staying on current betas all this time, but I reverted to the latest release (3.8.7a), which did not help. I then reverted to 3.8.6a, and so far I have not seen it happen again. It's only been a few days so this could be coincidental, but I'm fairly sure not. If I don't see it again by the end of the week I'll be 100% certain - the bug didn't happen always, but it definitely happened more than half the time. Obviously staying on 3.8.6a is not a feasible long-term solution, though.
This system is a 2012 MBP 15" running the most recent version of high sierra with all updates applied. I don't believe any such updates have come out since before this bug appeared.
I'm willing to help debug this in any reasonable way, including running test builds. Let me know what you need.
Here's an example of the process when stuck. I note that the "Ss" state (which is always the case) suggests that it's in fact getting some cycles and doing something, though not much, as it never has much CPU time racked up:
root 29976 0.0 0.0 4317880 732 ?? Ss 12:01PM 0:00.01 /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.5.4-openssl-1.1.1l/openvpn --daemon --log /Library/Application Support/Tunnelblick/Logs/-SUsers-Sxxxxxx-SLibrary-SApplication Support-STunnelblick-SConfigurations-STEST xxxxx (xxx xxxxxx + xxxxxxxx).tblk-SContents-SResources-Sconfig.ovpn.769_0_1_0_1098032.54522.openvpn.log --cd /Library/Application Support/Tunnelblick/Users/xxxxxx/TEST xxxxx (xxx xxxxxx + xxxxxxxx).tblk/Contents/Resources --machine-readable-output --setenv IV_GUI_VER "net.tunnelblick.tunnelblick 5770 3.8.7a (build 5770)" --verb 3 --config /Library/Application Support/Tunnelblick/Users/xxxxxx/TEST xxxxx (xxx xxxxxx + xxxxxxxx).tblk/Contents/Resources/config.ovpn --setenv TUNNELBLICK_CONFIG_FOLDER /Library/Application Support/Tunnelblick/Users/xxxxxx/TEST xxxxx (xxx xxxxxx + xxxxxxxx).tblk/Contents/Resources --verb 3 --cd /Library/Application Support/Tunnelblick/Users/xxxxxx/TEST xxxxx (xxx xxxxxx + xxxxxxxx).tblk/Contents/Resources --management 127.0.0.1 54522 /Library/Application Support/Tunnelblick/Mips/TEST xxxxx (xxx xxxxxx + xxxxxxxx).tblk.mip --management-query-passwords --management-hold --script-security 2 --route-up /Applications/Tunnelblick.app/Contents/Resources/
client.up.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw --down /Applications/Tunnelblick.app/Contents/Resources/
client.down.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw
Thanks!