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
  • #1288
Closed
Open
Issue created Nov 28, 2014 by Derek Bruening@derekbrueningContributor

Segfault in bbcov on gcc-4.6

From peter.goodman on October 07, 2013 17:39:57

What steps will reproduce the problem? 1. Run bbcov on gcc (e.g. gcc-4.6). What is the expected output? What do you see instead? Expected output is that DR does not report a SEGFAULT. I see a SEGFAULT.

What happens: gcc does a vfork, and the child process (sharing the parent process address space) does an execve with cc1. Right before the execve, bbcov's pre_syscall_event clears all memory, which is shared with the parent. After the execve finishes, the parent resumes and segfaults because its global data structures were destroyed.

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1288

Assignee
Assign to
Time tracking