From goran.brostrom at gmail.com  Fri Aug 26 22:10:05 2011
From: goran.brostrom at gmail.com (=?UTF-8?B?R8O2cmFuIEJyb3N0csO2bQ==?=)
Date: Fri, 26 Aug 2011 22:10:05 +0200
Subject: [Rd] read.table segfaults
In-Reply-To: <CAJxcB8mtJ_B=vLm5FSGLpqaN0V1ttKFzLaiBw+mUijBP0wzEyA@mail.gmail.com>
References: <CAJxcB8mtJ_B=vLm5FSGLpqaN0V1ttKFzLaiBw+mUijBP0wzEyA@mail.gmail.com>
Message-ID: <CAJxcB8nLnw1j_xhS7bFNQhxNdP2xXU0fev=1ZNNg60HJfg0tbw@mail.gmail.com>

Another one:

The 'death.RData' was created about a year ago, but ...? Same info as below.

G?ran

> load("../Data/death.RData")
> summary(death)

 *** caught segfault ***
address 0x40000e04959, cause 'memory not mapped'

Traceback:
 1: match(x, levels)
 2: factor(a, levels = ll[!(ll %in% exclude)], exclude = if (useNA ==
   "no") NA)
 3: table(object)
 4: summary.factor(X[[6L]], ...)
 5: FUN(X[[6L]], ...)
 6: lapply(as.list(object), summary, maxsum = maxsum, digits = 12,     ...)
 7: summary.data.frame(death)
 8: summary(death)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:


2011/8/26 G?ran Brostr?m <goran.brostrom at gmail.com>:
> ?> fil2s <- read.table("../Data/fil2_s.txt", header = FALSE, sep = "\t")
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000041c2e1 in RunGenCollect (size_needed=8192000) at memory.c:1514
> 1514 ? ? ? ?PROCESS_NODES();
> (gdb)
>
> ?> sessionInfo()
> R version 2.13.1 Patched (2011-08-25 r56798)
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> locale:
> ?[1] LC_CTYPE=en_US.UTF-8 ? ? ? LC_NUMERIC=C
> ?[3] LC_TIME=en_US.UTF-8 ? ? ? ?LC_COLLATE=en_US.UTF-8
> ?[5] LC_MONETARY=C ? ? ? ? ? ? ?LC_MESSAGES=en_US.UTF-8
> ?[7] LC_PAPER=en_US.UTF-8 ? ? ? LC_NAME=C
> ?[9] LC_ADDRESS=C ? ? ? ? ? ? ? LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats ? ? graphics ?grDevices utils ? ? datasets ?methods ? base
> ?>
>
> The text file 'fil2_s.txt' is Huge, around 11 million records and 17
> variables, but ...?
>
>
>
> --
> G?ran Brostr?m
>



-- 
G?ran Brostr?m



[Rd] read.table segfaults
=?UTF-8?B?R8O2cmFuIEJyb3N0csO2bQ==?=