[Mono-bugs] [Bug 351878] HttpRuntime.UnloadAppDomain intermittently causes segfaults, exceptions, freezes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 11 10:44:57 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=351878

User vargaz at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=351878#c4


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |vargaz at gmail.com
          Component|Sys.Web                                         |misc
            Product|Mono: Class Libraries                           |Mono: Runtime




--- Comment #4 from Zoltan Varga <vargaz at gmail.com>  2008-01-11 08:44:56 MST ---
-> runtime.
There might be multiple issues here, but one is that async_invoke_thread 
is passed an object reference as its start argument. When it starts, it
reads object->vtable->domain but the domain might be already unloaded so this
reads invalid memory. The solution is to pass the domain with the object
reference in a structure, so we don't read the contents of object->vtable
before calling mono_domain_set ().


-- 
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