[Mono-bugs] [Bug 342981] New: Ruby.NET crash

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 20 08:56:14 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=342981

           Summary: Ruby.NET crash
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: sanxiyn at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


SVN r89974.

Download Ruby.NET 0.9 (source code) from
http://code.google.com/p/rubydotnetcompiler/downloads/list

$ unzip -q Ruby.NET-0.9.0.src.zip
$ cd Ruby.NET-0.9
$ make

# test.rb
require 'singleton'
class C; include Singleton; end
C.instance

$ export RUBYLIB=/usr/lib/ruby/1.8 # Ruby 1.8.6
$ mono bin/Ruby.exe test.rb

Stacktrace:

  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[]) <0x00072>
  at Ruby.Compiler.AST.SOURCEFILE.ExecuteMain (PERWAPI.PEFile,string[])
<0x00017>
  at Ruby.Compiler.RubyEntry.Process (string[]) <0x0005e>
  at RubyMain.Main (string[]) <0x00012>
  at (wrapper runtime-invoke) RubyMain.runtime_invoke_void_string[]
(object,intptr,intptr,intptr) <0xffffffff>

It is said to work fine on .NET.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list