DiamondLightSource / durin

BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Durin does not work with WSL2 (the Windows subsystem for Linux) #22

Open KayDiederichs opened 3 years ago

KayDiederichs commented 3 years ago

I recently tested XDS and XDSGUI under WSL2 / Ubuntu 20.042 LTS, on my "Windows 10 Home" version "20H2" operating system build "19042.804" DELL XPS 13 7390 2-in-1 notebook with core i7-1065G7 CPU and 16G memory. This crashes immediately with:

forrtl: severe (174): SIGSEGV, segmentation fault occurred Image
PC Routine Line Source xds_par 0000000000562093
Unknown Unknown Unknown libpthread-2.31.s 00007F8A2EA273C0
Unknown Unknown Unknown libc-2.31.so 00007F8A2E8AF2B4 _IO_default_xsput Unknown Unknown libc-2.31.so 00007F8A2E893AF2
Unknown Unknown Unknown libc-2.31.so 00007F8A2E8A2279
Unknown Unknown Unknown libc-2.31.so 00007F8A2E87F048 sprintf
Unknown Unknown durin-plugin.so 00007F8A2E08A922 get_dectris_eiger
Unknown Unknown durin-plugin.so 00007F8A2E089BCA create_dataset_de
Unknown Unknown durin-plugin.so 00007F8A2E08B9F6 get_detector_info
Unknown Unknown durin-plugin.so 00007F8A2E089321 plugin_open
Unknown Unknown xds_par 0000000000417347 generic_data_plug 301
generic_data_plugin.f90 xds_par 0000000000431170 genericgetfrm 25830
MAIN_XDS.f90 xdspar 000000000042F303 getfrm 25932
MAIN_XDS.f90 xdspar 000000000042BE82 parser 13599
MAIN_XDS.f90 xdspar 000000000041AEE3 xds 21627
MAIN_XDS.f90 xds_par 0000000000418951 MAIN 1
MAIN_XDS.f90 xds_par 0000000000415862 Unknown Unknown
Unknown libc-2.31.so 00007F8A2E8410B3
libc_start_main Unknown
Unknown xds_par 0000000000415769 Unknown Unknown
Unknown

(sorry for the lack of alignment; I found it difficult to prevent this editor to create one long line out of my pasted text) I tried with several data sets, from DLS or not, but the issue happens with all of them. durin-plugin.so is -rwxrwxr-x 1 dikay dikay 3887581 May 8 2019 durin-plugin.so
copied from /dls_sw/apps/XDS/20200417/durin-plugin.so today.

This works well with dectris-neggia.so .

graeme-winter commented 3 years ago

@KayDiederichs what were the filenames for these data please? I am wondering if they were e.g. rather long

KayDiederichs commented 3 years ago

They are short:

master_file=../n9-x1-images/x1_1_master.h5
[generic_data_plugin] - INFO - generic_open

KayDiederichs commented 3 years ago

The problem can be reproduced also with the test code at https://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/LIB