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

Hard reboot with pending threads will crash Dream Daemon #12

Open
SpaceManiac opened this issue Aug 18, 2018 · 0 comments
Open

Hard reboot with pending threads will crash Dream Daemon #12

SpaceManiac opened this issue Aug 18, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@SpaceManiac
Copy link
Contributor

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

@Cyberboss Cyberboss added the bug Something isn't working label Aug 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants