Segmentation fault (core dumped)

Lately, I have been getting the following error on a previously working UD on a Ubuntu server.

Segmentation fault (core dumped)

This is occurring with the ‘‘Hello, World!’’ as well, when Start-UDDashboard is called.

After the dump, pwsh exits (crashes?). If I redirect stderr I get nothing. If I try/catch around the Start-UDDashboard powershell still exits.

My specs:

PSVersion: 6.2.3
PSEdition: Core
OS: Linux 5.3.0-24-generic

I have a system with PSCore 6.2.0, which is working.

Any thoughts on where to start investigating?

What version of UD are you using? There was an issue with pre-2.8 that was causing crashes on ubuntu snap and I wonder if this is the same thing.

That looks to be it. I was on 2.7.0. Installed 2.8.1 and we are running again. Thanks for the help

The weird part was the active dashboard kept running on 2.7.0 while the new were failing. That was throwing me a bit.

If you are interested (and sadly I have not yet Dockerized this yet) my first dashboard is at http://davidsteimle.net:10001/home – just some RPG silliness. Click a button, it runs a script, Toasts the result.

1 Like