Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #2487
Closed
Open
Issue created Jun 29, 2017 by Al Grant@algrant-arm

drcachesim ASSERT when pipe broken

Running under drcachesim on x86, when breaking out, tracer.cpp asserts in atomic_pipe_write:

if (ipc_pipe.write((void *)pipe_start, towrite) < (ssize_t)towrite)
    DR_ASSERT(false)

As a variety of situations might cause a write syscall to fail, this ought to be handled in a more robust way, with a diagnostic, cleanup and termination. In particular, make sure the subprocess is terminated and the named pipe is removed.

Assignee
Assign to
Time tracking