[Mono-dev] Crash when throwing exceptions after unloading domains
robertj at gmx.net
Wed Jul 4 18:31:24 EDT 2007
Joachim Ante wrote:
> I am getting a crash when throwing exceptions after unloading a domain.
> I have tried debugging the issue but to no avail, but i managed to
> create a small sample that shows the issue.
> There are a couple of weird things about it, for example if i run the
> code that throws / catches the exception before unloading the domain
> one time. And one time after unloading the domain, the crash goes away.
Instinctively I'd say it crashes because you're calling mono_jit_exec ()
twice. Try mono_runtime_exec_main () instead.
More information about the Mono-devel-list