[Rd] segmentation fault
Simon de Bernard
sbernard at infobiogen.fr
Sat Apr 7 12:28:47 CEST 2007
Dear list,
I am having a segfault while working with large lists in R 2.4.1
patched (64-bit compilation) on an apple xserve xeon with 16GB RAM (I
don't know if this is reproducible on other configs since this is the
only computer with enough memory I have access to...)
You will find below a simple somewhat reproducible (usually it
crashes around 5.5GB of vsize, sometimes it gets into an infinite
loop) exemple and the relevant sessionInfo.
Is this a "normal" limitation of R, a problem with my config or a
*cough* bug ?
best regards,
Simon.
> l<-list(1)
> while(1) { print(object.size(l)/1024/1024); l<-c(l,l,l) }
[1] 9.155273e-05
[1] 0.0002059937
[1] 0.0005722046
[1] 0.001480103
[1] 0.004364014
[1] 0.01301575
[1] 0.03897095
[1] 0.1168365
[1] 0.3504333
[1] 1.051224
[1] 3.153595
[1] 9.460709
[1] 28.38205
[1] 85.14607
[1] 255.4381
[1] 766.3143
[1] 2298.943
*** caught segfault ***
address 0x21000011, cause 'memory not mapped'
> sessionInfo()
R version 2.4.1 Patched (2007-03-31 r41078)
x86_64-apple-darwin8.9.1
locale:
C
attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets"
"methods"
[7] "base"
More information about the R-devel
mailing list