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
  • #2688
Closed
Open
Issue created Nov 03, 2017 by Derek Bruening@derekbrueningContributor

HANG waiting for thread_initexit_lock from self-interp of new managed thread during attach

Another attach race hit with the test from #2601 (closed).

The loop that takes over new threads lets taken-over threads start running, and they can go create child threads. If a managed child has not yet initialized and is waiting for the thread_initexit_lock at the top of dynamo_thread_init, the attach code will send it a takeover signal and we'll interpret our own code.

I'll spare the gory debugging details: it took some time to figure out what was going on, but this happens on a regular basis, at least once every 20 runs of the new test.

Assignee
Assign to
Time tracking