Closed yulijia closed 3 years ago
Fixed. A long Journey.
First of all, I need to figure out what causes the core dump error. From searching ^1, the CentOS and Fedora OS have introduced the D_GLIBCXX_ASSERTIONS
flag to do Run-time bounds checking for C++ strings and containers ^3 .
seqminer
package has buffer overflows that will throw this error message when run tabix.read()
due to it was compiled with D_GLIBCXX_ASSERTIONS
by default.
After that, I need to recompile the package without D_GLIBCXX_ASSERTIONS
flag. There are multiple ways^4 to do it. I choose to change the global settings (/usr/lib64/R/etc/Makeconf
) for compiling it.
BTW, to check the default CXXFLAGS used in R, run R CMD config CXXFLAGS
in the terminal.
Hi,
I want to read a
tbi
file from local, however, it shows the error message of " Aborted (core dumped)".Could anyone help me to solve this issue?
Here is a demo to reproduce the bug.
R session info