[R] does segfault mean (always) a bug?

Duncan Murdoch murdoch.duncan at gmail.com
Tue May 5 21:36:59 CEST 2015


On 05/05/2015 2:54 PM, lejeczek wrote:
> hi eveybody
> 
> I'm trying something simple (Biocunductor packages), so 
> simple I believe it's example from docs but I get segfault.
> I don't suppose incorrect scripting can cause segfault, right?

In R, a segfault always indicates a bug.  What's not so clear is whether
it is a bug in R, a bug in a contributed package, or a bug in some
underlying system library.

If you can only trigger the bug when using a Bioconductor package, then
the first guess is that it is that package, and the maintainer of that
package is in the best position to track it down further.  If you can
simplify the code to trigger it without using any contributed packages,
then it could well be a bug in R, and we'd like to see code to reproduce it.

Duncan Murdoch



More information about the R-help mailing list