Open
Description
It won't probably help you any onr bit but I am getting the following error when using the lattest fst
trying to write different files in parallel (using foreach
and doMC
for the backhand)
INFO [2017-08-03 03:08:22] Writing [PATH_REDACTED]/perf_20170703.fst
*** caught segfault ***
address 0x43ff000, cause 'memory not mapped'
Traceback:
1: .Call("fst_fstretrieve", PACKAGE = "fst", fileName, columnSelection, startRow, endRow)
2: fstretrieve(fileName, columns, from, to)
3: fstread(path, columns, from, to, as.data.table)
4: read.fst(path = path, columns = columns, as.data.table = TRUE)
5: readDataFile(path = inFilePath)
6: convertFile(inFilePath, outFilePath, param)
7: eval(expr, envir, enclos)
8: eval(c.expr, envir = args, enclos = envir)
9: doTryCatch(return(expr), name, parentenv, handler)
10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
11: tryCatchList(expr, classes, parentenv, handlers)
12: tryCatch(eval(c.expr, envir = args, enclos = envir), error = function(e) e)
13: FUN(X[[i]], ...)
14: lapply(X = S, FUN = FUN, ...)
15: doTryCatch(return(expr), name, parentenv, handler)
16: tryCatchOne(expr, names, parentenv, handlers[[1L]])
17: tryCatchList(expr, classes, parentenv, handlers)
18: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L msg <- conditionMessage(e) sm <- strsplit(msg, "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && identical(getOption("show.error.messages"), TRUE)) { cat(msg, file = stderr()) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))})
19: try(lapply(X = S, FUN = FUN, ...), silent = TRUE)
20: sendMaster(try(lapply(X = S, FUN = FUN, ...), silent = TRUE))
21: FUN(X[[i]], ...)
22: lapply(seq_len(cores), inner.do)
23: mclapply(argsList, FUN, mc.preschedule = preschedule, mc.set.seed = set.seed, mc.silent = silent, mc.cores = cores)
24: e$fun(obj, substitute(ex), parent.frame(), e$data)
25: foreach(inFilePath = inFileList, outFilePath = outFileList) %dopar% convertFile(inFilePath, outFilePath, param)
26: convertFiles(param)
27: run(param = opt)
An irrecoverable exception occurred. R is aborting now ...