[Mono-bugs] [Bug 641921] New: Asynchronously invoked delegates are not GCed promptly
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Sep 26 13:25:31 EDT 2010
https://bugzilla.novell.com/show_bug.cgi?id=641921
https://bugzilla.novell.com/show_bug.cgi?id=641921#c0
Summary: Asynchronously invoked delegates are not GCed promptly
Classification: Mono
Product: Mono: Runtime
Version: 2.6.x
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Normal
Priority: P5 - None
Component: GC
AssignedTo: lupus at novell.com
ReportedBy: jesjones at mindspring.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=391557)
--> (http://bugzilla.novell.com/attachment.cgi?id=391557)
test case
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.1.12) Gecko/20100824 Firefox/3.5.12
When calling a delegate with BeginInvoke the delegate is not GCed in a timely
fashion (e.g. if you remove all references and force a collection they do not
go away). However it appears that no more than ten will be stacked up.
This doesn't appear to be a serious bug, but it does make it much harder to
track down leaks in applications which really really sucks.
Reproducible: Always
Steps to Reproduce:
The attachment has a little app illustrating the problem. Do something like:
gmcs -target:exe -out:app.exe -debug+ AsyncCallbackTest.cs && mono --debug
app.exe
Actual Results:
Five debugger instances are reported as leaked.
Expected Results:
No debugger instances should be reported as leaks (and that happens if you flip
the define in the file to force synchronous calls).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list