vastgroup / vast-tools

A toolset for profiling alternative splicing events in RNA-Seq data.
MIT License
77 stars 29 forks source link

*** caught illegal operation *** address 0x2aaf6c5c56f0, cause 'illegal operand' #105

Closed msubirana closed 2 years ago

msubirana commented 2 years ago

Hi,

When I run vast-tools diff like this:

vast-tools diff -a NET101_R1,NET102_R1,NET103_R1,NET104_R1,NET105_R1,NET106_R1,NET107_R1,NET108_R1,NET109_R1,NET10_R1,NET11_R1,NET14_R1,NET16_R1,NET17_R1,NET20_R1,NET25_R1,NET26_R1,NET29_R1,NET30_R1,NET38_R1 -b BETA17,BETA18,BETA19,BETA20,BETA21,BETA22,BETA23,BETA25_R1,BETA26_R1,BETA27_R1,BETA28_R1,BETA29_R1

I got the following error:

Trying to load required package: optparse
Trying to load required package: MASS
Trying to load required package: RColorBrewer
Trying to load required package: reshape2
Trying to load required package: ggplot2

 *** caught illegal operation ***
address 0x2aaf6c5c56f0, cause 'illegal operand'

Traceback:
 1: fun(libname, pkgname)
 2: doTryCatch(return(expr), name, parentenv, handler)
 3: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 4: tryCatchList(expr, classes, parentenv, handlers)
 5: tryCatch(fun(libname, pkgname), error = identity)
 6: runHook(".onLoad", env, package.lib, package)
 7: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
 8: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPaths()),     versionCheck = vI[[i]]), from = package)
 9: loadNamespace(package, lib.loc)
10: doTryCatch(return(expr), name, parentenv, handler)
11: tryCatchOne(expr, names, parentenv, handlers[[1L]])
12: tryCatchList(expr, classes, parentenv, handlers)
13: tryCatch({    attr(package, "LibPath") <- which.lib.loc    ns <- loadNamespace(package, lib.loc)    env <- attachNamespace(ns, pos = pos, deps)}, error = function(e) {    P <- if (!is.null(cc <- conditionCall(e)))         paste(" in", deparse(cc)[1L])    else ""    msg <- gettextf("package or namespace load failed for %s%s:\n %s",         sQuote(package), P, conditionMessage(e))    if (logical.return)         message(paste("Error:", msg), domain = NA)    else stop(msg, call. = FALSE, domain = NA)})
14: library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,     warn.conflicts = warn.conflicts, quietly = quietly)
15: doTryCatch(return(expr), name, parentenv, handler)
16: tryCatchOne(expr, names, parentenv, handlers[[1L]])
17: tryCatchList(expr, classes, parentenv, handlers)
18: tryCatch(library(package, lib.loc = lib.loc, character.only = TRUE,     logical.return = TRUE, warn.conflicts = warn.conflicts, quietly = quietly),     error = function(e) e)
19: require(toString(i), character.only = T, quietly = T)
20: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
21: suppressWarnings(require(toString(i), character.only = T, quietly = T))
22: loadPackages(c("MASS", "RColorBrewer", "reshape2", "ggplot2",     "grid", "parallel"), local.lib = paste(c(scriptPath, "/Rlib"),     collapse = ""))
An irrecoverable exception occurred. R is aborting now ...

Any suggestions?

mirimia commented 2 years ago

Hello,

It seems like an R issue, not related with diff... @UBrau, any guess?

Thanks

UBrau commented 2 years ago

Hi there,

This looks like it has to do with your R package library. Could it be that you are trying to use packages that were generated for a different platform (processor, OS...)? I would start by trying to just load these packages without running vast-tools.

msubirana commented 2 years ago

Hi,

Yes was a problem regarding the R package loaded in our cluster! Thanks for helping me!