Strange error in an old machine with OpenCore Legacy Patcher

172 views
Skip to first unread message

Harold Molina-Bulla

unread,
Nov 6, 2024, 10:50:12 AM11/6/24
to tunnelbli...@googlegroups.com
Hello everybody,
I have a strange problem (which, by the way, does not allow me to extract the log for Tunnelblick debugging).

The messages in the different error windows do not appear, and instead I get the message ‘(string is not available)’.

When I try to open the ‘VPN Details’ window, the application freezes and I have to kill it via console or Activiy Monitor.

The context is: a poisoned MacBook Pro 11.3 (OpenCore Legacy Patcher, which may be the problem) with Sequoia (although with Sonoma I also had the problem). I have other poisoned computers without this problem.

I have reinstalled the computer from scratch, but I still have the same problem.

My question is: Where can I find the logs of the application, so I can see what error it is and discern if it is an installation problem, incompatibility with the OpenCore Legacy Patcher, or something related to the specific model.

Thanks for your help.

Harold.


Harold Molina-Bulla
h.mo...@gmail.com

Tunnelblick Developer

unread,
Nov 6, 2024, 12:57:37 PM11/6/24
to tunnelblick-discuss
Hi, Harold – great to hear from you. There is a problem in OCLP, Tunnelblick, macOS, or some combination of them.

There are several discussions about it in this group (search for OCLP), and Tunnelblick Issue 762 on GitHub.

To summarize: The problem is that when Tunnelblick uses NSAttributedString under OCLP, it causes a crash. The crash causes a crash report to be created (which I think shows up in the Console's list of crash reports), which takes many seconds to complete before Tunnelblick is able to continue. Tunnelblick uses NSAttributedString in many places. It creates text for certain windows using NSAttributedString – for example, in windows that display error messages that contain links. Tunnelblick also uses it for the little popup windows that appear when you hover the pointer over a control. When Tunnelblick creates the "VPN Details" window, for example, it creates dozens of such NSAttributedStrings, one for each control that has a popup. Each time it uses such a string during the window's initialization, it causes a crash, which causes a delay. (If you wait long enough – perhaps many minutes – you'll find that eventually the "VPN Details" window will appear. I don't remember if it is fully functional.)

I am not currently able to spend time on the problem. When I last looked into it, I couldn't find anything wrong with the way Tunnelblick handled NSAttributedString and concluded the problem is with OCLP. But it is possible that there's a Tunnelblick bug which only causes a crash under OCLP. For example, using an NSAttributedString after freeing it. Perhaps the freed memory is overwritten when using OCLP (which is certainly valid for OCLP to do) but not under standard macOS, so nothing bad happens unless it is running under OCLP.

Harold Molina-Bulla

unread,
Nov 6, 2024, 2:43:58 PM11/6/24
to tunnelbli...@googlegroups.com
Hi Jonathan !!

Thanks for the information. With this information, I will try to check how to fix it.

If i find a way to resolve, I will inform you.

One strange thing is, this error do not occurs in all installations, for example, in my oldest Mac (MacBook Pro 2012, this does not happens).

Thanks in advance, and do not worry.

Best regards

Harold.



-- 
You received this message because you are subscribed to the Google Groups "tunnelblick-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tunnelblick-dis...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tunnelblick-discuss/5ff03587-03ba-4ffa-bada-37a724d4852an%40googlegroups.com.


Christian

unread,
Nov 7, 2024, 3:20:16 PM11/7/24
to tunnelbli...@googlegroups.com

Hello Harold,

I have worked with Jonathan on this bug (thank you again!) and I am able to use TB with my MacBook Pro 2013 running OCLP + Ventura, The error prevents me from going into the dialog boxes and customizing the VPN settings, however, installed VPN materials do function as long as I don't need to enter that box.  So I can use properly defined ovpn files and get my jobs done; I just cannot edit the sessions involving that settings box.

Christian

Reply all
Reply to author
Forward
0 new messages