[Rd] segfault interest?

From: ivo welch <ivo.welch_at_gmail.com>
Date: Wed, 24 Nov 2010 11:18:48 -0500


in a long program, I ran into

 *** caught segfault ***

address 0xdc3f9b48, cause 'memory not mapped' Traceback:
 1: rep.int(seq_len(nx), rep.int(rep.fac, nx))
 2: rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep)
 3: expand.grid(seq_len(nx), seq_len(ny))
 4: merge.data.frame(d, ss)
 5: merge(d, ss)
 6: valid.range(opt)
 7: eval.with.vis(expr, envir, enclos)
 8: eval.with.vis(ei, envir)
 9: source("fut-into-opts.R")

Possible actions:

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


I am pretty sure that I can program around it (and it is probably caused by my writing some error), but because it is replicable, I just wanted to learn if anyone is interested. oh---the program is pure R code, nothing special (like linked in C code or stuff like this). the error occurs on OSX. if there is interest, please email me and let me know what would be most useful to supply. if not, fine, too.

regards,

ink2">ink2">/iaw



Ivo Welch (ivo.welch_at_brown.edu, ivo.welch_at_gmail.com)

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 24 Nov 2010 - 16:20:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 24 Nov 2010 - 17:20:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive