[Issue 1326] Garbage Collector dysfunction - Memory leak in gc_term() with DLLs - and more.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 28 21:15:09 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1326





------- Comment #4 from wqeqweuqy at hotmail.com  2007-10-28 23:15 -------
(In reply to comment #3)
> It looks like this is really 3 different bug reports, which is generally a bad
> idea.  Are all three of them still bugs?  Do you have actual reproduction code
> for each of them?
> 
> Would you please file individual bugs for each case that's still a
> reproduceable bug and attach to each one code and steps to demonstrate it.  
> 
> Thanks,
> Brad
> 

Hopefully the changes to the GC structure in 2.06 solved problem #1 and #2 and
http://d.puremagic.com/issues/show_bug.cgi?id=1360.

I remember reading somewhere that Walter made gc_term() intentionally not free
resources, assuming that the OS will take care of it when the program exits.
Maybe he overlooked situations like #1.

Does the GC still consume a foreign (possibly temporary) thread as its "main"
and expects it to be active? Seems like thats asking for trouble if it does.


Either way, ill try to update to 2.06 and make some test apps when i get some
time.


-- 



More information about the Digitalmars-d-bugs mailing list