From ivo.welch at gmail.com  Wed Nov 24 17:18:48 2010
From: ivo.welch at gmail.com (ivo welch)
Date: Wed, 24 Nov 2010 11:18:48 -0500
Subject: [Rd] segfault interest?
Message-ID: <AANLkTikfV39Sj+E=GfGL1a8+M+DUgzrF_n+uGKoMPowY@mail.gmail.com>

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,

/iaw
----
Ivo Welch (ivo.welch at brown.edu, ivo.welch at gmail.com)



[Rd] segfault interest?
ivo welch