[Mono-dev] Assertion failed on mono_class_setup_vtable_general

Celso Pinto cpinto at yimports.com
Tue Apr 11 20:59:30 EDT 2006

Hi everyone,

I'm developing a Gnome application with Mono and this application has
three components: one common library, a server that publishes a DBus
interface and a management GUI that talks to the server through DBus.

The problem I'm having is that I cannot run the server and the
management GUI at the same time or else I'll get this error:

$ mono gshare-manager.exe

** ERROR **: file class.c: line 1992 (mono_class_setup_vtable_general):
assertion failed: (decl->slot != -1)

If I start the GUI and later start the server (the GUI displays an error
dialog in case it can't contact the server, and hangs in there while
waiting for me to dismiss it so I'm able to start the server) I get the
same error.

I can't understand what I'm doing wrong so any insight you may have is
deeply appreciated.

If it helps, I can push the code to my public darcs repository so that
you can use the exact same code to reproduce the problem. Just let me
know if you want that.

The Mono version I'm running is:

$ mono --version
Mono JIT compiler version, (C) 2002-2005 Novell, Inc and
Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : normal


More information about the Mono-devel-list mailing list