[R-pkg-devel] State of the art for UBSAN testing

Ralf Stubner r@||@@tubner @end|ng |rom gm@||@com
Thu May 16 23:00:49 CEST 2024


Thanks Gábor! If one checks the output, one can indeed find the UBSAN
error. Problem solved!

Ralf

On Thu, May 16, 2024 at 8:40 PM Gábor Csárdi <csardi.gabor using gmail.com> wrote:
>
> R-hub v2 has UBSAN testing, the clang-asan image also has UBSAN. [1]
>
> With the glitch that UBSAN errors do not fail the build because of a bug [2],
> so you'll need to look at the results even if the build has passed.
>
> Gabor
>
> [1] https://r-hub.github.io/containers/
> [2] https://github.com/r-hub/actions/issues/16
>
> On Thu, May 16, 2024 at 10:27 PM Ralf Stubner <ralf.stubner using gmail.com> wrote:
> >
> > Dear all,
> >
> > I have been asked to fix a UBSAN error in my dqrng package. The error
> > itself and the necessary fix are quite straight forward. However, I
> > want to make 100% sure that I am really fixing the error. In the past
> > I had used rhub for tasks like that. But it seems like the new rhub v2
> > offers only ASAN testing. I have also tried various docker images
> > (wch1/r-debug, old rhub images, rocker), but with none of them I was
> > able to reproduce the error seen on CRAN. What would you consider as
> > "state of the art" for reproducing UBSAN errors?
> >
> > Thanks
> > Ralf
> >
> > ______________________________________________
> > R-package-devel using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list