Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASAN error from CRAN testing #135

Open
kriemo opened this issue Dec 18, 2024 · 0 comments
Open

ASAN error from CRAN testing #135

kriemo opened this issue Dec 18, 2024 · 0 comments

Comments

@kriemo
Copy link

kriemo commented Dec 18, 2024

I maintain a CRAN package that depends on rtracklayer for reading bigwigs and gtf files (valr).

CRAN is reporting a addressSanitizer error (gcc-ASAN) when our package is tested (log from CRAN) which tracks back to the UCSC library code vendored within rtracklayer (

char *cloneStringZ(const char *s, int size)
).

This error is triggered when reading bigwig files from R with import (specifically this test bigwig file). We don't link or compile against rtracklayer. If the ASAN error is unaddressed, CRAN will remove valr in a few weeks. It is unclear if other CRAN packages which depend on rtracklayer will also be flagged.

do you have any suggestions for how to go about addressing this error? should I try to patch this upstream in the ucsc source or would you accept a patch to rtracklayer (assuming i can reproduce and confirm a fix to the error)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant