-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Additionnal issues with sanitizer #18
Comments
And we have another one with GCC
|
In my opinion:
- no_data should be replaced at the same place it is done while reading
(it is not done at the moment, no? couldn't find it). It can be done
either in the R part or in the Rcpp part, anyway NA_interger in R and
Rcpp is the mininimum integer value, i.e. -2^31. One may be faster than
the other, I never tried: in R it would be just after the checkers for
writeLAS.R, but I couldn't find the right place in readLAS.R as the
header and data are read separatly. In C++ it would stand just before
the scaling of the data for writeLAS.cpp, but I could not find a good
place in rlasstreamer...
- option should be fixed into the c++ writeLAS.cpp and should not snd
error in checker, e.g. a minimum value is given --> the corresponding
option flag should be set to TRUE just before writing. This way you
would avoid any sort of error and the checks with it, and wouldn't
bother user with problems that are not of his responsability.
Cheers
Florian
|
This commit make the code much more readable and ensure that NA will never be written in the file. I hope it fixes clang-ASAN and clang-USBAN errors. gcc-ASAN still don't like |
This is expected to fix gcc ASAN error
This commit disable some features. I'm not able to convert U8* into string without using |
This is expected to fix gcc ASAN error Former-commit-id: d9968d6
@floriandeboissieu
I released
rlas
. Every regular tests are good but I received the following email from Prof. Bryan RipleyLooking in the logs, it is an error with the memory sanitizer. ASAN and USBAN are diffcult tools to use. I'm definitively not able to reproduce and
rhub::check_with_sanitizers
is ok. Thus it is impossible to reproduce.The good new is that the error on CRAN is informative:
So in my opinion it is related to
no_data
. I'm not fully comfortable with this part. You are the main author of this code. Could you please check that.NA
by theno_data
value (l.363)? And vis versa or is it managed internally by LASlib. I guess we have to do it manually.no_data
(l.144)?The support of
NA
is maybe not entirely correct.The text was updated successfully, but these errors were encountered: