GHC 6.4.1 and Win32 DLLs: Bug in shutdownHaskell?

Lennart Augustsson lennart at augustsson.net
Sun Mar 5 09:05:27 EST 2006


I'm not implying anything, except that I've plugged the space
leak of 256M every time a DLL is loaded&unloaded.

	-- Lennart

Michael Marte wrote:
> Lennart,
> 
> do you imply that you have fixed the problem causing the crashes?
> May I safely assume that DLLs produced by ghc 6.4.2 will not crash upon 
> being freed?
> 
> I played around a little bit more and found two configurations that do 
> not crash, at least not when freeing the DLL in the course of quitting 
> the application:
> - compilation with -O, execution with standard heap size
> - compilation with -O, execution with -M128m.
> With 64m initial heap space, the problems described earlier occur again :-(
> 
> Michael
> 
> Lennart Augustsson wrote:
> 
>> The memory allocated by the runtime system is never freed.
>> I've submitted a fix fir this.
>>
>>     -- Lennart
> 
> 
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
> 



More information about the Glasgow-haskell-users mailing list