[Mono-dev] Error running embedded Mono runtime

Tom Philpot tom.philpot at logos.com
Fri Jan 15 13:59:52 EST 2010


When running with the Mono r149505 embedded in our application, we get the following error on startup:

ERROR:metadata.c:2183:get_image_set: assertion failed: (nimages > 0)
Program received signal:  “SIGABRT”.

The first 20 frames of the GDB backtrace from mono_backtrace() are:
#0  0x934b9732 in __kill ()
#1  0x934b9724 in kill$UNIX2003 ()
#2  0x9354c98d in raise ()
#3  0x93562a44 in abort ()
#4  0x0435c9a2 in g_assertion_message ()
#5  0x0435d018 in g_assertion_message_expr ()
#6  0x02897bc5 in get_image_set ()
#7  0x02899091 in mono_metadata_get_generic_inst ()
#8  0x028549a9 in init_generic_context_from_args ()
#9  0x02854ec6 in ves_icall_System_Reflection_Module_ResolveFieldToken ()
#10 0x18eaaab4 in  (wrapper managed-to-native) System.Reflection.Module:ResolveFieldToken (intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&) + 0x34 (0x18eaaa80 0x18eaaadb) [0x11890e58 - Bootstrap.exe]
#11 0x18eaa8fb in  System.Reflection.Module:ResolveField (int,System.Type[],System.Type[]) + 0x53 (0x18eaa8a8 0x18eaa973) [0x11890e58 - Bootstrap.exe]
#12 0x18eaa192 in  .: () + 0x1c2 (0x18ea9fd0 0x18eaa1b1) [0x11890e58 - Bootstrap.exe]
#13 0x18ea936f in  .: (System.Type) + 0x257 (0x18ea9118 0x18ea9470) [0x11890e58 - Bootstrap.exe]
#14 0x18ea90fa in  .:.ctor (System.Type) + 0x3a (0x18ea90c0 0x18ea90ff) [0x11890e58 - Bootstrap.exe]
#15 0x18ea5bf8 in  .:.ctor (System.Type) + 0x50 (0x18ea5ba8 0x18ea5c06) [0x11890e58 - Bootstrap.exe]
#16 0x18ea5b8d in  .b: (System.Type) + 0x25 (0x18ea5b68 0x18ea5b95) [0x11890e58 - Bootstrap.exe]
#17 0x18ea53e7 in  .<object, object>: (object) + 0x17f (0x18ea5268 0x18ea5421) [0x11890e58 - Bootstrap.exe]
#18 0x18ea5221 in  .b:<int> (object,int&) + 0x21 (0x18ea5200 0x18ea524a) [0x11890e58 - Bootstrap.exe]
#19 0x18ea4ebc in  Mindscape.LightSpeed.Entity:GetInferredFieldName<int> (int&) + 0x24 (0x18ea4e98 0x18ea4ffa) [0x11890e58 - Bootstrap.exe]
#20 0x18ea4e64 in  Mindscape.LightSpeed.Entity:Get<int> (int&) + 0x14 (0x18ea4e50 0x18ea4e7b) [0x11890e58 - Bootstrap.exe]
...


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100115/4c6032b7/attachment.html 


More information about the Mono-devel-list mailing list