-
Notifications
You must be signed in to change notification settings - Fork 904
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
Use gcc or clang -fsanitize with CI #699
Comments
Hmm, I do see the use-after-free but neither using those flags with clang & gcc nor valgrind actually picked that up. How did you get it to warn about that? I will push a PR to fix the error though. |
gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0 I compile and install postgresql configured with:
On Ubuntu 18.04 there's a linker error for a missing -ldl when linking postgresql executable with -fsanitize=address, have to execute ld command manually. then compile timescaled, install
and run
|
This should be fixed in the 0.12.1 release: https://github.com/timescale/timescaledb/releases/tag/0.12.1 Please let us know if you continue to see any problems; otherwise, we'll close out this issue. |
Hi, |
It does not, but we have put adding this to our CI testing on our roadmap. Definitely seems useful since both Coverity and valgrind missed these issues. |
This has been added with #1050 |
Hi,
Valgrind is too slow but but what about -fsanitize=address and -fsanitize=undef?
There's a least one use after free in telemetry test code path, even if in this case coverity or clang scan should catch it.
The text was updated successfully, but these errors were encountered: