[Rd] segmentation fault
Luke Tierney
luke at stat.uiowa.edu
Sat Apr 7 18:58:20 CEST 2007
I can't reproduce the crash on a 16Gb x86_64 linux machine. It gets
over 16G of use and so into paging and seems to be making slow
progress but I killed it at that point to avoid hogging the machine.
This example will allocate large generic vectors and then allocate
lots of copies of 1 to fill it in. Can you reproduce the problem with
something of coarser granularity, e.g. pasting together vectors of
1000000 doubles? Otherwise, maybe info from running under gdb might
help.
Best,
luke
On Sat, 7 Apr 2007, Simon de Bernard wrote:
> 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"
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Luke Tierney
Chair, Statistics and Actuarial Science
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa Phone: 319-335-3386
Department of Statistics and Fax: 319-335-3017
Actuarial Science
241 Schaeffer Hall email: luke at stat.uiowa.edu
Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu
More information about the R-devel
mailing list