[Mono-devel-list] Crash in mono_image_build_metadata whi

Varga Zoltan vargaz at freemail.hu
Wed Nov 12 07:21:13 EST 2003


                                              Hi,

  This is already fixed in CVS.

                Zoltan

mono_devel at workingpages.com írta:

> Hello,
> 
> I am seeing a segmentation violation in
mono_image_build_metadata while running
> the corlib unit tests on the AMD64 (interpreter) port.
This is in the
>     MonoTests.System.Reflection.AssemblyNameTest.TestVersion
> test case.
> 
> The crash is on line 3125 of reflection.c:
>     for (j = 0; j < mono_array_length
(file_module->types); ++j) {
> and occurs because file_module->types is NULL .
> 
> Anyone else seen this? My guess is that
System.Reflection.Emit.ModuleBuilder.cs
> can pass a ModuleBuilder structure to
ves_icall_ModuleBuilder_build_metadata
> with the "types" field NULL. (Assuming NULL is what native
code sees when an
> array field of a CLR object is not assigned a value in the
constructor.)
> 
> I'm mostly trying to figure out if this is a port issue.
> 
> -Z-
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 
> 







More information about the Mono-devel-list mailing list