[Mono-devel-list] marshal.c assertion failed.
scott.mohekey at telogis.com
Wed Feb 23 21:40:17 EST 2005
Scott Mohekey wrote:
> Attached is a patch to keep the reference to the delegates. Also an
> improvement on the former patch which only changes domains when needed.
> Scott Mohekey wrote:
>> It seems I spoke too soon.
>> Now I get the following assertion:
>> Unmanaged code called delegate of type
>> System.Drawing.GDIPlus/GdiPlusStreamHelper.StreamPutBytesImpl which
>> was already garbage collected.
>> See http://www.go-mono.com/delegate.html for an explanation and ways
>> to fix this.
>> However, I think this could be due to GdiPlusStreamHelper in
>> gdipFunctions.cs not keeping references to the delegates. I'll check
>> this now.
I still see this on occasion, so my patch is obviously not working 100%.
More information about the Mono-devel-list