knausb / vcfR

Tools to work with variant call format files
248 stars 54 forks source link

SAN error in v1.5.0 #65

Closed knausb closed 7 years ago

knausb commented 7 years ago

From CRAN results:

test_file("testthat/test_freq_peak.R") freq_peak: freq_peak.cpp:394:20: runtime error: value nan is outside the range of representable values of type 'int' SUMMARY: AddressSanitizer: undefined-behavior freq_peak.cpp:394:20 in

knausb commented 7 years ago

Was not successful at reproducing this error using gcc-ASAN. This may be specific to clang-UBSAN. Check what options are available at Docker.

knausb commented 7 years ago

I was able to run r-devel-ubsan-clang in Docker. I was then able to reproduce the issue at e616ad9d4b0ab712080520bb611361df6e930e60. I'm going to close this and cross my fingers that the next CRAN submission comes back clean.