Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Ian Lynagh's avatar
    cf6b495d
    Add freeScheduler/freeTaskManager and call it later than exitScheduler · cf6b495d
    Ian Lynagh authored
    We were freeing the tasks in exitScheduler (stopTaskManager) before
    exitStorage (stat_exit), but the latter needs to walk down the list
    printing stats. Resulted in segfaults with commands like
        ghc -v0 -e main q.hs -H32m -H32m +RTS -Sstderr
    (where q.hs is trivial), but very sensitive to exact commandline and
    libc version or something.
    cf6b495d
    History
    Add freeScheduler/freeTaskManager and call it later than exitScheduler
    Ian Lynagh authored
    We were freeing the tasks in exitScheduler (stopTaskManager) before
    exitStorage (stat_exit), but the latter needs to walk down the list
    printing stats. Resulted in segfaults with commands like
        ghc -v0 -e main q.hs -H32m -H32m +RTS -Sstderr
    (where q.hs is trivial), but very sensitive to exact commandline and
    libc version or something.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.