library('glasso') SCovMat <- glasso(C.556, rho=0.32)
caught segfault address 0x7f69b0b1f000, cause 'memory not mapped'
Traceback: 1: glasso(C.556, rho = 0.32)
Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace
Hello,
I am trying to run a R command using 'glasso' package as the above codes. However, I have an error "address 0x7f69b0b1f000, cause 'memory not mapped' ". Since it is not clear to me how to solve this memory related error, I truly appreciate if you could give me your possible comment for me.
Thank you!
There could be many causes for this including problem with C/C++ code but a common cause is also when the software relies on system libraries and can't find the ones it's been compiled against. This can happen when upgrading the system or R without upgrading the packages or when trying to run code on a different architecture than the one the code was compiled on (e.g. in a cluster of mixed machine types). Before examining the underlying C code, I'd suggest doing a clean installation including of the required system libraries if any.
Hi, Thank you for your kind reply. I would clean the installation first and try to re-install the libraries to check it. Thank you again!
hi, someone wrote a non-bullet proof code. you can't really solve this unless you have low-level C++ (I guess) coding skills. I guess if you asked this question you don't have them.
Hi. Thank you for your reply. Actually, I do not have low-level C++ coding skills. Is there any other option to solve this error? Pls kindly let me know? Thank you!
segfaults are incredibly difficult to track and fix. I'd recommend to write to the authors or use another library.
https://stackoverflow.com/questions/2346806/what-is-a-segmentation-fault
Hi, Thank you for your kind reply with the information which is helpful for me! I will check it for solving the error. Thank you!