Hello, > > I am not sure I understand from the description above how would leaking > > the vtables kill SGen. > > The problem is not leaking VTables, but "leaking" objects across > domains, i.e. having references from objects in one domain to objects > in another domain. Once that domain is gone, so are the VTables, so > SGen cannot follow those references anymore, so it crashes. > > The fix for this is not to keep the VTables alive - it's to not make > cross-domain references in the first place.
You just opened my eyes, thanks for the explanation. Could you confirm that in this case: AppDomain A: call Foo (obj a, obj c) AppDomain B: enter Foo AppDomain B: Unload A That the objects "a" and "c" from AppDomain a would not live in the stack? Miguel. _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list