[Bioc-devel] The story of tracing a derfinder bug on OSX that sometimes popped up, sometimes it didn't. Related to IRanges/S4Vectors '$<-'

Andrzej Oleś andrzej.oles at gmail.com
Wed Mar 22 23:19:12 CET 2017


On Wed, Mar 22, 2017 at 6:12 PM, Hervé Pagès <hpages at fredhutch.org> wrote:

>
>   setClass("A", representation(stuff="numeric"))
>   as.vector.A <- function (x, mode="any") x at stuff
>   a <- new("A", stuff=c(3.5, 0.1))
>   x <- numeric(10)
>   x[3:4] <- a
>
> then the code is now valid and we still get the segfault on Mac.
>

Thanks Hervé for the updated MWE.  As suggested by Martin and Dan I've run
it through valgrind on Linux but it didn't give any errors...

Andrzej

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list