Skip to content
This repository was archived by the owner on Jun 12, 2020. It is now read-only.
This repository was archived by the owner on Jun 12, 2020. It is now read-only.

Hard reboot with pending threads will crash Dream Daemon #12

@SpaceManiac

Description

@SpaceManiac

Possible outcomes:

  • Thread is not join()ed - ~thread calls terminate() calls abort()
  • Thread is join()ed during global destructor - indefinite hang
  • Thread is detach()ed - crash when thread tries to access now-unloaded code or memory

Test case here: https://gist.github.com/SpaceManiac/b23ec263e786c09dc89f0399b97e71fc

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions