[Mono-list] Mono build failing with error in file reflection.c
Andreas Schuler
andreas at neokast.com
Wed Feb 7 12:32:52 EST 2007
Hi,
I am using the latest mono release (1.2.3) and I am getting an error
when I try to build a library of about 70 files. I am using the latest
version of NAnt. Here's the output:
[csc] ** ERROR **: file reflection.c: line 1912
(property_encode_signature): assertion failed: (p - buf < size)
[csc] aborting...
[csc] Stacktrace:
[csc] at (wrapper managed-to-native)
System.Reflection.Emit.ModuleBuilder.build_metadata
(System.Reflection.Emit.ModuleBuilder) <0x00004>
[csc] at (wrapper managed-to-native)
System.Reflection.Emit.ModuleBuilder.build_metadata
(System.Reflection.Emit.ModuleBuilder) <0xffffffff>
[csc] at System.Reflection.Emit.ModuleBuilder.Save () <0x004de>
[csc] at System.Reflection.Emit.AssemblyBuilder.Save
(string,System.Reflection.PortableExecutableKinds,System.Reflection.ImageFileMachine)
<0x004bb>
[csc] at System.Reflection.Emit.AssemblyBuilder.Save (string)
<0x00014>
[csc] at Mono.CSharp.CodeGen.Save (string) <0x00038>
[csc] at Mono.CSharp.Driver.MainDriver (string[]) <0x00de5>
[csc] at Mono.CSharp.Driver.Main (string[]) <0x00055>
[csc] at (wrapper runtime-invoke)
System.Object.runtime_invoke_int_string[] (object,intptr,intptr,intptr)
<0xffffffff>
[csc] Native stacktrace:
[csc] /usr/bin/mono [0x815eb4d]
[csc] [0x75f440]
[csc] /lib/libc.so.6(abort+0xf8) [0x7a7678]
[csc] /usr/lib/libglib-2.0.so.0(g_logv+0x462) [0xc983b1]
[csc] /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xc983e5]
[csc] /usr/bin/mono [0x80eb570]
[csc] /usr/bin/mono [0x80eb6df]
[csc] /usr/bin/mono [0x80ed5d4]
[csc] /usr/bin/mono [0x80efc42]
[csc] [0xb672c729]
[csc] [0xb672c42f]
[csc] [0xb6728c9c]
[csc] [0xb67287c5]
[csc] [0xb6728659]
[csc] [0xb75ba09e]
[csc] [0xb75b7716]
[csc] [0xb75b0075]
[csc] /usr/bin/mono [0x8148930]
[csc] /usr/bin/mono(mono_runtime_invoke+0x27) [0x80dbd77]
[csc] /usr/bin/mono(mono_runtime_exec_main+0xa3) [0x80dcf83]
[csc] /usr/bin/mono(mono_runtime_run_main+0x182) [0x80dcb22]
[csc] /usr/bin/mono(strftime+0x1ccd) [0x80588b1]
[csc] /usr/bin/mono(mono_main+0x867) [0x80592b7]
[csc] /usr/bin/mono(__fxstat64+0x147) [0x8057bdb]
[csc] /lib/libc.so.6(__libc_start_main+0xdf) [0x792d7f]
[csc] /usr/bin/mono(sinh+0x5d) [0x8057b31]
[csc]
=================================================================
[csc] Got a SIGABRT while executing native code. This usually
indicates
[csc] a fatal error in the mono runtime or one of the native libraries
[csc] used by your application.
[csc]
=================================================================
BUILD FAILED - 0 non-fatal error(s), 53 warning(s)
External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe
(return code was 134)
Has anyone seen a similar error before? Where is that file reflection.c
coming from, is this part of mono and if so, what does this assertion
mean? I have been chasing this problem for a few versions of mono now,
needless to say that the same lib builds fine in Visual Studio (no
warnings). Any help would be greatly appreciated.
Thanks,
Andreas
More information about the Mono-list
mailing list