EasyScience / EasyDiffractionApp

Diffraction data analysis application
https://easydiffraction.org
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

EDA segfaults on Ubuntu 22.10 #216

Open rozyczko opened 1 year ago

rozyczko commented 1 year ago

Installation of EDA on 22.10 Ubuntu succeeds (assuming libxcb-xinerama0 is installed first). However, running it causes segfault.

Affected version: 0.8.4-beta

rozyczko commented 1 year ago

It seems the same happens for 22.04 LTS

rozyczko commented 1 year ago

Building EDA on 22.04 (GH run) makes it run properly on 22.* apart of the known issue of not visualising the charts and structure.

mducle commented 1 year ago

:bump: I've just encountered this issue. I checked 0.8.2, 0.8.3, and 0.8.4 and they all give segfaults.

Is there a way to install the app using conda or pip?

rozyczko commented 1 year ago

Is there a way to install the app using conda or pip?

Not really. They both target <=20.04 only. If you are adventurous, you could try installing it with poetry, with poetry install in the main EDA source directory (git cloned).

For 0.8.5, due at some point this quarter, we will target 22.x as well.

mducle commented 1 year ago

Ok. Thanks. I'll try that.

Also, I tried using the windows version under wine but although it starts up, it crashes when you try to load a project.

rozyczko commented 1 year ago

Also, I tried using the windows version under wine but although it starts up, it crashes when you try to load a project.

Which release? 0.8.4? Which project did you try to load?

mducle commented 1 year ago

Which release? 0.8.4? Which project did you try to load?

It was release 0.8.4 running on Wine 7.2. The crash happens for every example. The stack trace is here.

If you create your own project you can load a cif file with the model ok, but then it crashes when you try to load an experimental data (xye) file.

rozyczko commented 1 year ago

Simon hopefully fixed this by using snap to package Linux installers and things should be Ubuntu version agnostic now. This should go into v. 0.8.5, available soon®