[Mono-dev] ArgumentNullException in GetSerializationCallbacks method

Paolo Molaro lupus at ximian.com
Tue Feb 13 09:28:56 EST 2007


On 02/12/07 Vadim B. Guzev wrote:
> > You should run the application under gdb and try to get a native
> > stack trace. See
> > 	http://mono-project.com/Debugging#Debugging_with_GDB
> > Robert
> 
> Robert, thanks for your reply!
> 
> Unfortunately I can't debug it. As I have already written in my previous email the program is executed on several clusters and each of them contains a lot of computers. This error occurs only on several nodes and every time these nodes are different (they are even located on different clusters)... I don't know how to make distributed debugging with GDB (and not sure that it is possible). Is it possible to add some null-checkings in method GetSerializationCallbacks? For example, like this:

In metadata/object.c move the line:
	vt->type = mono_type_get_object (domain, &class->byval_arg);
before:
	mono_domain_unlock (domain);

and see if you can reproduce.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list