Can't run on Arch Linux recently

Out of curiosity I just tried it. Logic has been working fine for me and I use Fedora 42. Well, now it is broken just like everyone is saying. It does eventually start but it takes a little while. Whatever caused this, it was recent. In the recent past Logic was working fine, now the exact same program delays for a long time on start up. So, its something recent. Both Fedora and Arch tend to be on the bleeding edge of Linux so that probably explains why those two are affected.

We don’t have a real fix yet, but in the meantime, as @stone mentioned, you can sidestep the problem by disabling core dumps:

ulimit -c 0

This restores the usual launch time.

Unfortunately a proper fix will take us a little while, so this will still be broken with the next release 2.4.36, which is release testing right now.

For background - this crash has actually been in our Linux app for quite some time. We think what happened is the default crash handling behavior of Arch and Fedora has recently changed, causing the crash dump generation to take macro time. Prior to the update, the application still crashed in the same way, but startup continued uninterrupted. It’s a subprocess that is crashing, which is why the application continues to work.

Specifically, when our application launches, it initializes a python interpreter to support python measurements and high-level analyzers. In the process, Python calls subprocess_fork_exec, and the forked process will frequently crash immediately after that. (Our current lead is that the crash may be caused by the fact that python is running from within an electron process)

We’ve spent a little time researching this crash before, but since it had (until now) zero end user impact, we never prioritized it.

Thanks everyone for your patience, and I’ll share an update as soon as I have one.

4 Likes

We don’t have a proper fix yet, but I wanted to share a quick update. The root cause of the problem is an interaction between Electron (the framework we use to host the app) and Python 3.8, which we include with our application. We’ve looked at a few options, but the best option seems to be to upgrade to a newer version of python, because the newer versions of python change how they close file handles to a way that plays well with Electron. Also, we’ve been meaning to upgrade python versions for a while.

This is a bit of a project, and we’ll post an update once it’s ready. If you were not already aware, we include python with our application to support custom high level analyzers and custom measurements, which you can learn about here: Extensions, APIs, and SDKs | Saleae Support

Again, sorry for the trouble with this, and thanks for your patience! In case you missed it, there is a workaround you can use now posted in the comment above: Can't run on Arch Linux recently - #22 by markgarrison

1 Like

Hello,

The latest release, 2.4.41, fixes this issue! You can get the software through the usual methods, and you can find the release notes here: Logic 2.4.41