-
Notifications
You must be signed in to change notification settings - Fork 308
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
DAOS-16501 build: Add libsanitize #15105
base: master
Are you sure you want to change the base?
Conversation
TODO Required-githooks: true Signed-off-by: Cedric Koch-Hofer <[email protected]>
Ticket title is 'LRZ: m02r01s10dao coredump - invalid free' |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
…/daos-16501 Required-githooks: true
Miscelleneaous fixe\s. Required-githooks: true Signed-off-by: Cedric Koch-Hofer <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Test stage Build on Leap 15.5 with Intel-C and TARGET_PREFIX completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/60/execution/node/375/log |
Test stage Build RPM on Leap 15.5 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/60/execution/node/349/log |
Test stage Build RPM on EL 9 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/60/execution/node/350/log |
Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/60/execution/node/351/log |
Test stage Build DEB on Ubuntu 20.04 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/60/execution/node/358/log |
Revert gcc strigop-truncation warning. Signed-off-by: Cedric Koch-Hofer <[email protected]>
Test stage Build on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/61/execution/node/360/log |
Test stage Build RPM on EL 9 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/61/execution/node/341/log |
Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/61/execution/node/337/log |
Test stage Build RPM on Leap 15.5 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/61/execution/node/359/log |
Test stage Build DEB on Ubuntu 20.04 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/61/execution/node/328/log |
Test stage Build on Leap 15.5 with Intel-C and TARGET_PREFIX completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-15105/61/execution/node/509/log |
Revert gcc strigop-truncation warning. Signed-off-by: Cedric Koch-Hofer <[email protected]>
I am asking for review before the completion of the CI has it takes so much time these days and the last commit did not change a lot the PR. |
There are several issues in strncpy usage that may cause memory corruption. Target string may not be ended by `\0` character. Issues detected during sanitizer integration Ref: #15105 Co-authored-by: Cedric Koch-Hofer <[email protected]> Co-autohred-by: Tomasz Gromadzki <[email protected]> Signed-off-by: Tomasz Gromadzki <[email protected]> Doc-only: true
There are several issues in strncpy usage that may cause memory corruption. Target string may not be ended by `\0` character. Issues detected during sanitizer integration Ref: #15105 Co-authored-by: Cedric Koch-Hofer <[email protected]> Co-autohred-by: Tomasz Gromadzki <[email protected]> Signed-off-by: Tomasz Gromadzki <[email protected]> Doc-only: true
There are several issues in strncpy usage that may cause memory corruption. Target string may not be ended by `\0` character. Issues detected during sanitizer integration Ref: #15105 Co-authored-by: Cedric Koch-Hofer <[email protected]> Co-autohred-by: Tomasz Gromadzki <[email protected]> Signed-off-by: Tomasz Gromadzki <[email protected]> Doc-only: true
There are several issues in strncpy usage that may cause memory corruption. Target string may not be ended by `\0` character. Issues detected during sanitizer integration Ref: #15105 Co-authored-by: Cedric Koch-Hofer <[email protected]> Co-autohred-by: Tomasz Gromadzki <[email protected]> Signed-off-by: Tomasz Gromadzki <[email protected]>
Let me propose to keep source code related changes in a separate PR #15920. |
When, I tried to do such thing, the compiler was sometimes failing :-( |
Possible missing string termination after strncpy function call. There are several places where using strncpy can cause memory corruption - the target string may not be terminated with `\0` character. Issue has been detected during sanitizer integration: #15105 Features: dfs Signed-off-by: Tomasz Gromadzki <[email protected]>
Description
Add scons build option
SANITIZERS
allowing to use the libasan. This new option takes a list of sanitizer tool such as: AddressSanitizer (i.e.-fsanitize=address
), ThreadSanitizer(i.e.-fsanitize=thread
), LeakSanitizer (i.e.-fsanitize=leak
), etc.A list of the available santizer tools and their compatibility could be found in the gcc man page.
Before requesting gatekeeper:
Features:
(orTest-tag*
) commit pragma was used or there is a reason documented that there are no appropriate tags for this PR.Gatekeeper: