[R] mapply() gives seg fault

Thomas Lumley tlumley at u.washington.edu
Tue Oct 14 19:55:10 CEST 2003


On Tue, 14 Oct 2003, Robin Hankin wrote:

> Hello again
>
> thanks for this.  What I should have asked is, should one always report
> repeatable seg faults (even if functions are called with
> inappropriate arguments)?
>

Yes.  Reproducible segfaults that occur `in the wild' are fairly important
bugs even if they result from errors.

Segfaults from trying to break the system are a much lower priority, but
even they should probably be reported.

The FAQ (9.1) says
	If R executes an illegal instruction, or dies with an operating system
	error message that indicates a problem in the program (as opposed to
	something like "disk full"), then it is certainly a bug.
and goes on to explain that the only time this doesn't apply is when you
call compiled code with the wrong arguments or call your own compiled
code.

	-thomas




More information about the R-help mailing list