-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
library(cytolib); library(mzR) crashes R 4.0.0 alpha on Linux #37
Comments
Same issue filled under mzR: sneumann/mzR#219 |
Here is ...
#5 0x00007ffff30f4d54 in __cxa_throw () ...
#6 0x00007fffeec5b52b in H5::DataSpace::getConstant () at H5DataSpace.cpp:63
#7 0x00007fffe7455a2f in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at H5DataSpace.cpp:81
...
#13 0x00007ffff7de97ca in _dl_open (file=0x7ffffffec670 "../mzR/libs/mzR.so" And here is the relevant lines in h5 source //--------------------------------------------------------------------------
// Purpose Constant for default dataspace.
//--------------------------------------------------------------------------
const DataSpace& DataSpace::ALL = *getConstant(); and // If the constant pointer is not allocated, allocate it. Otherwise,
// throw because it shouldn't be.
if (ALL_ == 0)
ALL_ = new DataSpace(H5S_ALL);
else
throw DataSpaceIException("DataSpace::getConstant", "DataSpace::getConstant is being invoked on an allocated ALL_"); Looks like the allocation of global constant variable |
It has to do with the way dllInfo <<- dyn.load(cytolib, local = FALSE, now = TRUE) so that This has been working great since it not only eases the process compiling the other cytolib-dependent packages ( no explicit linking to 7.7M CytoML.so
13M flowWorkspace.so
4.1M flowCore.so because they all share the same copy of 38M cytolib.so But unfortunately, the side effect is |
After rebuilding 54M libcytolib.a which is statically linked to other cyto packages (with size increased as expected, except 48M flowWorkspace.so
42M CytoML.so
5.8M flowCore.so All the package tests seems to running ok, except for the CHECK failed: (scc->visit_status.load(std::memory_order_relaxed)) == (SCCInfoBase::kRunning): rebuilding @hpages I am going to put this change on hold until the bioc 3.11 release is completed, hopefully by loading |
addressed by #45 |
Thx Mike. Note that I get the following warning when loading RProtoBufLib 2.3.2 on Linux and Mac:
But the warning is spurious because I do see |
Hi,
I don't know if I should fill an issue here or under mzR 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:
No problem if I load them in the reverse order:
Thanks,
H.
The text was updated successfully, but these errors were encountered: