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

GitHub runner: Linux thread sanitizer tests fail with "unexpected memory mapping" #4503

Closed
matejk opened this issue Mar 20, 2024 · 0 comments · Fixed by #4504
Closed

GitHub runner: Linux thread sanitizer tests fail with "unexpected memory mapping" #4503

matejk opened this issue Mar 20, 2024 · 0 comments · Fixed by #4504
Assignees
Labels
bug buildsystem CI Continuous Integration

Comments

@matejk
Copy link
Contributor

matejk commented Mar 20, 2024

Describe the bug

Unit test programs compiled with thread sanitizer options fail immediately on Linux with error FATAL: ThreadSanitizer: unexpected memory mapping

To Reproduce

Happens very often recently in GitHub "Compile and Testrun" actions (https://github.com/pocoproject/poco/actions/workflows/ci.yml)

Expected behavior

Tests run and report sanitizer errors (if any).

Logs

****************************************
*** Linux x86_64 Foundation
****************************************

FATAL: ThreadSanitizer: unexpected memory mapping 0x59600d7b7000-0x59600d81a000


****************************************
*** Linux x86_64 XML
****************************************

FATAL: ThreadSanitizer: unexpected memory mapping 0x65427e2ac000-0x65427e2ba000

Screenshots
If applicable, add screenshots to help explain your problem.

Please add relevant environment information:

  • OS Type and Version: Ubuntu 22.04.4 LTS, kernel 6.5.0-1016-azure
  • POCO Version: develop (pre 1.14)
  • Third-party product (eg. database or library) type and version

Additional context

Probably related to ASLR (https://en.wikipedia.org/wiki/Address_space_layout_randomization).

More: google/sanitizers#1716)

@matejk matejk added the bug label Mar 20, 2024
@matejk matejk added this to the Release 1.13.3 milestone Mar 20, 2024
@matejk matejk added this to 1.13 Mar 20, 2024
@matejk matejk self-assigned this Mar 20, 2024
@matejk matejk added buildsystem CI Continuous Integration labels Mar 20, 2024
@github-project-automation github-project-automation bot moved this to Done in 1.13 Mar 20, 2024
@matejk matejk modified the milestones: Release 1.13.3, Release 1.14.0 Mar 20, 2024
@matejk matejk removed this from 1.13 Mar 20, 2024
@matejk matejk added this to 1.14 Mar 20, 2024
@matejk matejk moved this to Done in 1.14 Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug buildsystem CI Continuous Integration
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant