sneumann / mzR

This is the git repository matching the Bioconductor package mzR: parser for netCDF, mzXML, mzData and mzML files (mass spectrometry data)
42 stars 26 forks source link

library(cytolib); library(mzR) crashes R 4.0.0 alpha on Linux #219

Closed hpages closed 3 years ago

hpages commented 4 years ago

Hi,

I don't know if I should fill an issue here or under cytolib so I'm doing both, sorry for that.

So on Linux, with R 4.0.0 alpha and current devel versions of cytolib and mzR, trying to load the 2 packages in this order crashes my session:

> library(cytolib)
> library(mzR)
Loading required package: Rcpp
terminate called after throwing an instance of 'H5::DataSpaceIException'
Aborted (core dumped)

No problem if I load them in the reverse order:

> library(mzR)
Loading required package: Rcpp
> library(cytolib)
> sessionInfo()
R version 4.0.0 alpha (2020-03-31 r78116)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.4 LTS

Matrix products: default
BLAS:   /home/biocbuild/bbs-3.11-bioc/R/lib/libRblas.so
LAPACK: /home/biocbuild/bbs-3.11-bioc/R/lib/libRlapack.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] cytolib_1.99.24 mzR_2.21.1      Rcpp_1.0.4     

loaded via a namespace (and not attached):
[1] compiler_4.0.0      RProtoBufLib_1.99.7 ProtGenerics_1.19.3
[4] parallel_4.0.0      Biobase_2.47.3      codetools_0.2-16   
[7] ncdf4_1.17          BiocGenerics_0.33.3 RcppParallel_5.0.0 

Thanks, H.

hpages commented 4 years ago

Same issue filled under cytolib: https://github.com/RGLab/cytolib/issues/37

lgatto commented 4 years ago

This is weird. I notice that both packages include some boost code, and that some of these files are included in mzR and cytolib.

hpages commented 3 years ago

Looks like this has been addressed in the most recent version of cytolib (2.3.4) and RProtoBufLib (2.3.2).