From sbernard at infobiogen.fr  Sat Apr  7 12:28:47 2007
From: sbernard at infobiogen.fr (Simon de Bernard)
Date: Sat, 7 Apr 2007 12:28:47 +0200
Subject: [Rd] segmentation fault
Message-ID: <68CA8B53-9FCB-4A84-A035-1E8AB59B8039@infobiogen.fr>

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"



[Rd] segmentation fault
Simon de Bernard