kbroman / qtl

R/qtl: A QTL mapping environment
https://rqtl.org
GNU General Public License v3.0
77 stars 45 forks source link

malloc error in test_qtl.R #17

Closed kbroman closed 10 years ago

kbroman commented 10 years ago

I'm getting a malloc error ("pointer being freed was not allocated") in test_qtl.R.

This bit of code gives the error:

data(hyper)
hyper <- fill.geno(hyper)
#Mess up the markers by shifting
temp <- shiftmap(hyper, offset=10^7)
out.temp <- mqmscan(temp,verb=TRUE,off.end=10)
DannyArends commented 10 years ago

Thanks for the tests, I compile with the valgrind stuff on, so after the examples run (3h), I quit the run so I can get to get the new valgrind output :) Will investigate tomorrow