Run finalizers *after* updating the stable pointer table (#4221) Silly bug really, we were running the C finalizers while the StablePtr table was still in a partially-updated state during GC, but finalizers are allowed to call freeStablePtr() (via hs_free_fun_ptr(), for example), and chaos ensues.
Run finalizers *after* updating the stable pointer table (#4221)
Silly bug really, we were running the C finalizers while the StablePtr
table was still in a partially-updated state during GC, but finalizers
are allowed to call freeStablePtr() (via hs_free_fun_ptr(), for
example), and chaos ensues.

forked-upstream-packages-for-ghcjs/ghc,nushio3/ghc,nushio3/ghc,urbanslug/ghc,mcschroeder/ghc,ezyang/ghc,lukexi/ghc,anton-dessiatov/ghc,mcmaniac/ghc,ryantm/ghc,da-x/ghc,mfine/ghc,mettekou/ghc,AlexanderPankiv/ghc,olsner/ghc,mfine/ghc,olsner/ghc,ghc-android/ghc,elieux/ghc,snoyberg/ghc,hferreiro/replay,acowley/ghc,AlexanderPankiv/ghc,jstolarek/ghc,sgillespie/ghc,holzensp/ghc,shlevy/ghc,mcmaniac/ghc,lukexi/ghc-7.8-arm64,vikraman/ghc,urbanslug/ghc,elieux/ghc,olsner/ghc,urbanslug/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,tibbe/ghc,forked-upstream-packages-for-ghcjs/ghc,gridaphobe/ghc,mettekou/ghc,AlexanderPankiv/ghc,TomMD/ghc,mfine/ghc,ml9951/ghc,ml9951/ghc,acowley/ghc,snoyberg/ghc,snoyberg/ghc,TomMD/ghc,shlevy/ghc,green-haskell/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,acowley/ghc,jstolarek/ghc,siddhanathan/ghc,vikraman/ghc,sgillespie/ghc,anton-dessiatov/ghc,AlexanderPankiv/ghc,elieux/ghc,oldmanmike/ghc,ml9951/ghc,mettekou/ghc,da-x/ghc,ml9951/ghc,wxwxwwxxx/ghc,ekmett/ghc,siddhanathan/ghc,GaloisInc/halvm-ghc,ghc-android/ghc,gcampax/ghc,shlevy/ghc,vikraman/ghc,elieux/ghc,mcschroeder/ghc,ml9951/ghc,shlevy/ghc,hferreiro/replay,sgillespie/ghc,forked-upstream-packages-for-ghcjs/ghc,da-x/ghc,jstolarek/ghc,gridaphobe/ghc,gridaphobe/ghc,vTurbine/ghc,TomMD/ghc,olsner/ghc,mcschroeder/ghc,ezyang/ghc,ezyang/ghc,anton-dessiatov/ghc,fmthoma/ghc,sdiehl/ghc,fmthoma/ghc,nkaretnikov/ghc,ryantm/ghc,vikraman/ghc,nkaretnikov/ghc,ryantm/ghc,nathyong/microghc-ghc,hferreiro/replay,oldmanmike/ghc,green-haskell/ghc,fmthoma/ghc,forked-upstream-packages-for-ghcjs/ghc,spacekitteh/smcghc,olsner/ghc,nushio3/ghc,TomMD/ghc,AlexanderPankiv/ghc,mcmaniac/ghc,nathyong/microghc-ghc,oldmanmike/ghc,gridaphobe/ghc,TomMD/ghc,sgillespie/ghc,holzensp/ghc,snoyberg/ghc,lukexi/ghc,sdiehl/ghc,nkaretnikov/ghc,GaloisInc/halvm-ghc,nathyong/microghc-ghc,da-x/ghc,vTurbine/ghc,vikraman/ghc,fmthoma/ghc,wxwxwwxxx/ghc,tjakway/ghcjvm,ezyang/ghc,acowley/ghc,frantisekfarka/ghc-dsi,urbanslug/ghc,bitemyapp/ghc,spacekitteh/smcghc,AlexanderPankiv/ghc,anton-dessiatov/ghc,vikraman/ghc,ghc-android/ghc,acowley/ghc,oldmanmike/ghc,gridaphobe/ghc,nushio3/ghc,gcampax/ghc,nomeata/ghc,green-haskell/ghc,christiaanb/ghc,nathyong/microghc-ghc,ekmett/ghc,anton-dessiatov/ghc,ghc-android/ghc,holzensp/ghc,forked-upstream-packages-for-ghcjs/ghc,nathyong/microghc-ghc,wxwxwwxxx/ghc,ilyasergey/GHC-XAppFix,fmthoma/ghc,ml9951/ghc,green-haskell/ghc,nomeata/ghc,olsner/ghc,vTurbine/ghc,lukexi/ghc,urbanslug/ghc,ezyang/ghc,christiaanb/ghc,vTurbine/ghc,mcschroeder/ghc,mcmaniac/ghc,olsner/ghc,sdiehl/ghc,wxwxwwxxx/ghc,forked-upstream-packages-for-ghcjs/ghc,GaloisInc/halvm-ghc,lukexi/ghc,jstolarek/ghc,sdiehl/ghc,GaloisInc/halvm-ghc,ilyasergey/GHC-XAppFix,tibbe/ghc,spacekitteh/smcghc,christiaanb/ghc,christiaanb/ghc,anton-dessiatov/ghc,bitemyapp/ghc,frantisekfarka/ghc-dsi,mettekou/ghc,nushio3/ghc,ekmett/ghc,urbanslug/ghc,siddhanathan/ghc,vikraman/ghc,mfine/ghc,siddhanathan/ghc,tjakway/ghcjvm,mcmaniac/ghc,ekmett/ghc,bitemyapp/ghc,frantisekfarka/ghc-dsi,oldmanmike/ghc,snoyberg/ghc,tjakway/ghcjvm,shlevy/ghc,elieux/ghc,hferreiro/replay,urbanslug/ghc,nushio3/ghc,oldmanmike/ghc,wxwxwwxxx/ghc,sgillespie/ghc,bitemyapp/ghc,nomeata/ghc,ryantm/ghc,ekmett/ghc,nkaretnikov/ghc,siddhanathan/ghc,lukexi/ghc-7.8-arm64,mcschroeder/ghc,mettekou/ghc,jstolarek/ghc,nomeata/ghc,da-x/ghc,frantisekfarka/ghc-dsi,bitemyapp/ghc,elieux/ghc,nkaretnikov/ghc,nomeata/ghc,tjakway/ghcjvm,christiaanb/ghc,nathyong/microghc-ghc,gcampax/ghc,fmthoma/ghc,TomMD/ghc,ezyang/ghc,acowley/ghc,anton-dessiatov/ghc,christiaanb/ghc,sdiehl/ghc,christiaanb/ghc,frantisekfarka/ghc-dsi,tibbe/ghc,wxwxwwxxx/ghc,ml9951/ghc,mcschroeder/ghc,nushio3/ghc,shlevy/ghc,elieux/ghc,vTurbine/ghc,mfine/ghc,GaloisInc/halvm-ghc,sdiehl/ghc,lukexi/ghc-7.8-arm64,GaloisInc/halvm-ghc,mfine/ghc,mfine/ghc,ryantm/ghc,tibbe/ghc,nkaretnikov/ghc,snoyberg/ghc,tjakway/ghcjvm,gridaphobe/ghc,ilyasergey/GHC-XAppFix,spacekitteh/smcghc,forked-upstream-packages-for-ghcjs/ghc,hferreiro/replay,holzensp/ghc,green-haskell/ghc,lukexi/ghc,vTurbine/ghc,gcampax/ghc,GaloisInc/halvm-ghc,mettekou/ghc,nkaretnikov/ghc,ml9951/ghc,ghc-android/ghc,ghc-android/ghc,vTurbine/ghc,mcschroeder/ghc,shlevy/ghc,oldmanmike/ghc,gcampax/ghc,ilyasergey/GHC-XAppFix,tjakway/ghcjvm,fmthoma/ghc,mettekou/ghc,snoyberg/ghc,da-x/ghc,gcampax/ghc,lukexi/ghc-7.8-arm64,sgillespie/ghc,hferreiro/replay,spacekitteh/smcghc,AlexanderPankiv/ghc,holzensp/ghc,sgillespie/ghc,ezyang/ghc,hferreiro/replay,da-x/ghc,gridaphobe/ghc,lukexi/ghc-7.8-arm64,tibbe/ghc,sdiehl/ghc,ghc-android/ghc,TomMD/ghc,acowley/ghc,gcampax/ghc,siddhanathan/ghc