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
  • #2759
Closed
Open
Issue created Dec 12, 2017 by Administrator@rootContributor

Add handling of sigprocmask-bundling syscalls: epoll_pwait and pselect

Created by: c0d1ngm0nk3y

Hi,

See attached program which shows different behaviour when started native or with drrun.

description:

  • A signal handler for SIGUSR is used
  • Signal SIGUSR1 is blocked
  • epoll_pwait with an empty sigmask is used to poll for the signal

native:

  • the handler for SIGUSR1 is called whenever the signal is send

with drrun:

  • the handler is not called
  • as soon as another signal is send (e.g.SIGUSR2, not blocked), the SIGUSR1 handler is called
  • from then on the program works as exepected

With epoll_wait, it seems to work fine. Unfortunately, that is not an option in my case :(

Best regards, Ralf

epoll_wait_bug.cpp.txt

Assignee
Assign to
Time tracking