Re: [R-pkg-devel] Tracking down cause of UBSAN error

2020-10-15 Thread James Lamb
To add to Dirk's summary of the available options, you might find it useful to borrow from the setup that we use to replicate CRAN's UBSAN checks on GitHub Actions for {lightgbm}. https://github.com/microsoft/LightGBM/blob/0c1c36cdbdf771a03c9ae0873eb28585e6c3d624/.github/workflows/r_package.yml#L1

Re: [R-pkg-devel] Tracking down cause of UBSAN error

2020-10-15 Thread Dirk Eddelbuettel
Hugh, The different SAN/ASAB/UBSAN/... analysers depend critically on _exactly how_ the instrumentation is setup. That make the whole setup analysis a little brittle, and it is a real shame that neither CRAN nor some of the entities supposedly here in order to support R users and developers hav

[R-pkg-devel] Tracking down cause of UBSAN error

2020-10-15 Thread Hugh Parsonage
Hello, I am getting a UBSAN-clang failure on my package hutilscpp (). However I cannot reproduce the error on rhub, nor can I see an obvious problem with the code. (Though obviously there is something wrong.) The testthat.Rout log from CRAN reads (rele