[Mono-dev] Patch for Bug #477447

Marek Safar marek.safar at seznam.cz
Thu Feb 19 15:33:22 EST 2009


Hi David,
> Attached is a patch for 
> https://bugzilla.novell.com/show_bug.cgi?id=477447. Would someone mind 
> reviewing/applying it? I would attach the patch to the bug itself, but 
> I can’t access Novell’s Bugzilla right now.
>
> Here’s the text that I would have added as a comment:
>
> I am still unable to create a concise test case that exposes this bug, 
> but I have supplied a patch that fixes the issue.
>
> It seems that, in certain cases, an AnonymousMethodStorey used by an 
> anonymous delegate may not always be available in the 
> AnonymousMethodStorey associated with that delegate. The attached 
> patch detects this situation and attempts to compose an expression 
> that accesses the desired AnonymousMethodStorey indirectly.
This patch does not seem to really fix the problem. These sort of bugs 
are usually caused by missing anonymous storey reference and when 
captured variable is accessed before is initialized. You patch 
workarounds this particular nesting issue but does not really fixes the 
problem. I am happy to help you to reproduce the issue.

Thanks
Marek


More information about the Mono-devel-list mailing list