Mark
Knight
sw4ruo;793988 said:I have this running nicely on a Debian lenny 64bits mono 1.9.1.
There is a problem when I add my custom scripts even tho they all work fine under a windows platform. I've managed to track it down to a custom quest implemented over the Quest Engine... here is the error log:
Code:Scripts: Verifying... ** ERROR **: generic_params table claims method has generic parameters, but sign ature says it doesn't aborting... Stacktrace: at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0x0 004f> at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0xf fffffff> at System.Reflection.Assembly.GetTypes () <0x0000f> at Server.Core.VerifySerialization (System.Reflection.Assembly) <0x00087> at Server.Core.VerifySerialization () <0x0007b> at Server.ScriptCompiler.Compile (bool,bool) <0x0020f> at Server.Core.Main (string[]) <0x00b15> at (wrapper runtime-invoke) Server.Core.runtime_invoke_void_string[] (object,i ntptr,intptr,intptr) <0xffffffff> Native stacktrace: mono [0x536e71] /lib/libpthread.so.0 [0x7f511fc05a80] /lib/libc.so.6(gsignal+0x35) [0x7f511f652ed5] /lib/libc.so.6(abort+0x183) [0x7f511f6543f3] /usr/lib/libglib-2.0.so.0 [0x7f512005a44e] /usr/lib/libglib-2.0.so.0(g_log+0x83) [0x7f512005a4d3] mono(mono_method_signature+0x34a) [0x45791a] mono [0x4b9efa] mono [0x4bb077] mono(mono_class_init+0x6c6) [0x4bb796] mono(mono_type_get_object+0x10d) [0x487a6d] mono [0x49ac0e] mono [0x49e78e] [0x407e4a7f] ================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Aborted
To note that it compiles fine and the error only pops when it is verifying the scripts, I have no idea what this means.
I already checked the de/serialization methods since it mentions in the error but nothing seems out of common.
Can someone give me a clue on how to fix this?
I've seen errors similar to that before. If I remember correctly there was (is?) a bug in Mono relating to overloads which only differ in generic parameters.
Example:
public void DoSomething() { }
public void DoSomething<T>() { }
It would be hard for me to say for sure without seeing your code though.