Skip to content
Snippets Groups Projects

Draft: pthread_create, RT scheduler, and address sanitizer are incompatible in Ubuntu 18.04

Merged Melissa requested to merge ubuntu_18_rt_add_san_incompatibility into develop

When we run with the RT scheduler and the address sanitizer in Ubuntu 18.04, pthread_create will hang and never create threads. This MR adds a warning such that other users are informed about this issue

Edited by Robert Schmidt

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Robert Schmidt requested review from @schmidtr

    requested review from @schmidtr

  • changed milestone to %REVIEW_IN_PROGRESS

  • Melissa added 1 commit

    added 1 commit

    • e0e643a0 - Removing functional changes and maintaining comment

    Compare with previous version

  • Melissa added 1 commit

    added 1 commit

    • 8a0d55ac - Reverting whitespace changes

    Compare with previous version

  • Melissa resolved all threads

    resolved all threads

  • Author Developer

    Reverted all changes except for the explaination in the CMakeLists.txt. I think the comment is sufficient. Also, three LOG_As were demoted to Ds and I added them back here.

  • OAI RAN-CI-develop build (3561): Some Changed files in Merge Request DO NOT follow OAI Formatting Rules

  • OAI RAN-CI-develop build (3563): Some Changed files in Merge Request DO NOT follow OAI Formatting Rules

  • OAI RAN-CI-develop build (3564): Some Changed files in Merge Request DO NOT follow OAI Formatting Rules

  • Thomas Laurent added 1 commit

    added 1 commit

    • be2910cd - add a warning for ubuntu 18.04

    Compare with previous version

  • OAI RAN-CI-develop build (3566): Some Changed files in Merge Request DO NOT follow OAI Formatting Rules

  • Robert Schmidt marked this merge request as draft

    marked this merge request as draft

  • Robert Schmidt changed the description

    changed the description

  • Robert Schmidt added 2 commits

    added 2 commits

    • 7b75305e - pthread_create, RT scheduler, and address sanitizer are incompatible in Ubuntu 18.04
    • a73e500d - Add a warning for ubuntu 18.04 in build_oai

    Compare with previous version

    • **Code Review by : @schmidtr **

      • IMPACT on FUNCTIONAL CODE
        • The code change does NOT respect architecture/protocol split
        • Abnormal exits are NOT properly handled
        • Coding Style Issues
          • Added DEAD Code
          • Improper logging
          • Added useless debug code
          • Duplication of an existing function
          • Indentation is not respected
          • Insufficient in-code comments / code readability
          • Any other coding style issue
        • A new tool/lib/package has been introduced (blocking, subject to negotiation)
      • TESTING (The Merge Request requires additional testing)
        • Additional testing is present in the Merge Request (Best)
        • The contributor provides a framework/hints for testing
        • New testing means need to be developed
      • DOCUMENTATION (The Merge Request requires additional documentation)
        • Feature Set documentation update needed
          • DONE
          • NOT DONE
        • Wiki tutorial / in-repo usage documentation needed
          • DONE
          • NOT DONE
        • Added/Modified/Removed script/build/runtime option(s)
          • Help UPDATED
          • Help NOT UPDATED

      Recommendations:

      to (1) say whether it is accepted and (2) say what should still be done to finalize the merge request

      • Gives the user a warning when using U18 with Asan -> accepted
    • P.S. I squashed all commits in one to not pollute the git history more than necessary...

    • Please register or sign in to reply
  • changed milestone to %OK_TO_BE_MERGED

  • Robert Schmidt mentioned in merge request !1591 (merged)

    mentioned in merge request !1591 (merged)

  • Robert Schmidt mentioned in commit 12a23fb1

    mentioned in commit 12a23fb1

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading