[Mono-list] ** ERROR **: file class.c: line 1238 (mono_class_setup_vtable)

Sébastien Robitaille sebastien.robitaille@croesus.com
Wed, 13 Apr 2005 14:17:13 -0400


Hello,

Since mono-1.1.4, I am having the following error message when using reflection to dynamically find a class inside an assembly:

** ERROR **: file class.c: line 1238 (mono_class_setup_vtable): should not be reached
aborting...
Abandon (core dumped)

My program is loading dynamically all the assemblies in a directory and instanciates all classes that implement a particular
interface.
The problem happens when an assembly in the directory does not contain any implementation for the interface. The error message does
not appear for the "invalid" assembly but only when loading the next assembly in the directory.

If I remove all "invalid" assemblies from the directory, the program continues to run correctly.

This problem was not present before mono-1.1.4.

Any help would be appreciated :-)

Thanks
Sébas