Your copy method returns a data object with an empty matrix. No surprise, that the (unprotected) value method runs into a segfault. I recommend to use one of the implicitely shared QTL containers, because it makes the implementation of the copy operation easier.
Uwe
Bookmarks