bgamari / ghc-debug

Moved to Haskell.org GitLab.
https://gitlab.haskell.org/ghc/ghc-debug
62 stars 10 forks source link

Automatic socket flush in stub.cpp is untested #3

Open mpickering opened 5 years ago

mpickering commented 5 years ago

I haven't investigated this at all yet but if you trigger an automatic flush then it segfaults.

You can easily trigger it by requesting the raw closures of all the GC roots.

mpickering commented 5 years ago

The segfault was actually because of forgetting to untag a closure. The automatic flushing logic is still untested.

mpickering commented 5 years ago

p9 triggers a flush and no surprise that it breaks.