Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
simgrid
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • simgrid
  • simgrid
  • Issues
  • #57

Closed
Open
Opened Dec 09, 2020 by Martin Quinson@mquinsonOwner

Mc SimGrid should test whether ptrace is usable

Our model-checker depends on the ptrace() syscall, to be notified in time when the verified application segfault. Without this call, we would not be able to inspect the memory before the process terminaison.

The problem is that this syscall is disabled by default on docker. One need to pass --cap-add=SYS_PTRACE to the docker command line, or the following to the docker compose file.

cap_add:
    - SYS_PTRACE

It would be nice if SimGrid could issue a proper error message when ptrace is not usable, preferably both at config time (in cmake) and at runtime.

I'm just filling this to not forget.

Thanks, Mt.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: simgrid/simgrid#57