[Mono-bugs] [Bug 82813][Wis] New - Ruby.NET + monoport script == assertion failed: (col < mono_metadata_table_count (bitfield))
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Sep 11 23:13:54 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by m.david at xmlhacker.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82813
--- shadow/82813 2007-09-11 23:13:54.000000000 -0400
+++ shadow/82813.tmp.8323 2007-09-11 23:13:54.000000000 -0400
@@ -0,0 +1,160 @@
+Bug#: 82813
+Product: Mono: Runtime
+Version: 1.2
+OS: All
+OS Details: Linux
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: m.david at xmlhacker.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Ruby.NET + monoport script == assertion failed: (col < mono_metadata_table_count (bitfield))
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+When attempting to run Jb Evain's monoport Ruby script via Ruby.NET the
+following error occurs,
+
+** ERROR **: file metadata.c: line 986 (mono_metadata_decode_row_col):
+assertion failed: (col < mono_metadata_table_count (bitfield))
+
+[complete stack trace in "Actual Results" section]
+
+
+Steps to reproduce the problem:
+1. Access and extract http://nuxleus.googlecode.com/svn/trunk/Ruby.NET/
+Ruby.NET-svnr87.tar.gz
+2. Using Mono 1.2.5 run make
+3. Access Jb Evain's monoport script from http://evain.net/public/monoport
+and store it in the current directory
+4. If Mono 1.2.5 is installed @ /usr/bin/mono and the Ruby libraries in
+their standard location, run,
+
+echo test | /usr/bin/mono bin/Ruby.exe -I/usr/lib/ruby/1.8 monoport
+
+NOTE: For matter of convenience the standard Ruby libs can be found in
+http://nuxleus.googlecode.com/svn/trunk/Ruby.NET/rubylib-1.8.tar.bz2
+
+Actual Results:
+
+[mdavid at localhost Ruby.NET-svn]$ echo test | /usr/bin/mono bin/Ruby.exe -I/
+usr/lib/ruby/1.8 monoport
+
+** ERROR **: file metadata.c: line 986 (mono_metadata_decode_row_col):
+assertion failed: (col < mono_metadata_table_count (bitfield))
+aborting...
+Stacktrace:
+
+ at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes
+(bool) <0x00004>
+ at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes
+(bool) <0xffffffff>
+ at System.Reflection.Assembly.GetTypes () <0x0000c>
+ at Ruby.Compiler.AST.SOURCEFILE.Load
+(System.Reflection.Assembly,Ruby.Runtime.Frame,string) <0x0002f>
+ at Ruby.Compiler.AST.SOURCEFILE.Load
+(PERWAPI.PEFile,Ruby.Runtime.Frame,string) <0x0001a>
+ at Ruby.Methods.rb_f_load.load (object,Ruby.Runtime.Frame,bool) <0x00196>
+ at Ruby.Methods.rb_f_require.Call1
+(Ruby.Class,object,Ruby.Runtime.Frame,Ruby.Proc,object) <0x0005a>
+ at Ruby.Runtime.Eval.CallPrivate1
+(object,Ruby.Runtime.Frame,string,Ruby.Proc,object) <0x00042>
+ at _Internal.SourceFile_monoport.Load
+(object,Ruby.Runtime.Frame) <0x00c46>
+ at <Module>.Main (string[]) <0x0001c>
+ at (wrapper runtime-
+invoke) <Module>.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff>
+ at (wrapper managed-to-native)
+System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0x00004>
+ at (wrapper managed-to-native)
+System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0xffffffff>
+ at System.Reflection.MonoMethod.Invoke
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0009a>
+ at System.Reflection.MethodBase.Invoke (object,object[]) <0x0001a>
+ at Ruby.Compiler.AST.SOURCEFILE.ExecuteMain
+(System.Reflection.Assembly,string[]) <0x00073>
+ at Ruby.Compiler.AST.SOURCEFILE.ExecuteMain
+(PERWAPI.PEFile,string[]) <0x00017>
+ at Ruby.Compiler.RubyEntry.Process (string[]) <0x0005c>
+ at RubyMain.Main (string[]) <0x0000a>
+ at (wrapper runtime-invoke)
+RubyMain.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+ /usr/bin/mono [0x8128bb4]
+ [0xffffe440]
+ /lib/tls/libc.so.6(abort+0xe9) [0xb7e2ba59]
+ /usr/lib/libglib-2.0.so.0(g_log+0) [0xb7f7e1ec]
+ /usr/lib/libglib-2.0.so.0(g_log+0x18) [0xb7f7e204]
+ /usr/lib/libglib-2.0.so.0(g_assert_warning+0x50) [0xb7f7e524]
+ /usr/bin/mono(mono_metadata_decode_row_col+0x9f) [0x80c3d5e]
+ /usr/bin/mono [0x80ca2aa]
+ /usr/bin/mono(mono_get_method_full+0x40) [0x80ca474]
+ /usr/bin/mono(mono_get_method+0x13) [0x80ca4bb]
+ /usr/bin/mono [0x80cb064]
+ /usr/bin/mono [0x80d1789]
+ /usr/bin/mono(mono_class_init+0x9df) [0x80cd642]
+ /usr/bin/mono(mono_class_init+0x2a9) [0x80ccf0c]
+ /usr/bin/mono(mono_type_get_object+0x1bf) [0x812fe23]
+ /usr/bin/mono [0x8091fde]
+ /usr/bin/mono [0x8092282]
+ [0xb70a6a9c]
+ [0xb70a6a55]
+ [0xb70a6900]
+ [0xb70a66b3]
+ [0xb70dbd67]
+ [0xb70db213]
+ [0xb70db133]
+ [0xb70d96f7]
+ [0xb70d81e5]
+ [0xb70d815b]
+ /usr/bin/mono(mono_runtime_invoke_array+0x2ec) [0x808a452]
+ /usr/bin/mono [0x808f398]
+ [0xb70d8105]
+ [0xb70d7c9b]
+ [0xb70d7bf3]
+ [0xb70d64a4]
+ [0xb70e5220]
+ [0xb7526ac5]
+ [0xb7525f83]
+ [0xb7525f0b]
+ /usr/bin/mono(mono_runtime_exec_main+0x168) [0x8089d9a]
+ /usr/bin/mono(mono_runtime_run_main+0x1c1) [0x8089f80]
+ /usr/bin/mono(mono_main+0x1299) [0x805967b]
+ /lib/tls/libc.so.6(__libc_start_main+0xcf) [0xb7e1723f]
+ /usr/bin/mono [0x8057fa1]
+
+=================================================================
+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
+
+Expected Results:
+
+[mdavid at localhost Ruby.NET-svn]$ ruby -v
+ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
+
+[mdavid at localhost Ruby.NET-svn]$ echo test | ./monoport
+http://monoport.com/4576
+
+How often does this happen?
+
+Always.
+
+Additional Information:
+
+Using Mono 1.2.5 (/trunk/ r85666) to compile and run Ruby.exe seems to
+force the monoport script into an infinite loop, pegging the processor as
+a result.
More information about the mono-bugs
mailing list