[Mono-bugs] [Bug 555464] reflection.c:2609:get_field_on_inst_generic_type: assertion

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 17 13:28:16 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=555464

http://bugzilla.novell.com/show_bug.cgi?id=555464#c17


Basile Starynkevitch <basile at starynkevitch.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
      Info Provider|emperon at gmail.com           |

--- Comment #17 from Basile Starynkevitch <basile at starynkevitch.net> 2009-12-17 18:28:14 UTC ---
(In reply to comment #16)
> Guy, trunk r148590 features a bunch of improvements to reflection that makes
> the crashy code path of the previous comment no longer happen.
> 
> Does it run now?


with
% mono -V
Mono JIT compiler version 2.7 (/trunk/mono r148350 Thu Dec 17 18:52:15 MET
2009)
Copyright (C) 2002-2009 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC and Parallel Mark)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none

and nemerle svn rev 8453
I am getting

% make
make[1]: Entering directory `/usr/src/Lang/nemerle/ncc'
make[2]: Entering directory `/usr/src/Lang/nemerle/ncc'
MKDIR out.stage1
make[3]: Entering directory `/usr/src/Lang/nemerle/ncc'
COMPILE [stage1] Nemerle.dll
______________________......................................
error: internal compiler error: got ArgumentException (method declaring type is
not the generic type definition of type
Parameter name: method)
  at System.Reflection.Emit.TypeBuilder.GetMethod (System.Type type,
System.Reflection.MethodInfo method) [0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.ILEmitter.FrameworkGetMethod (System.Type t,
System.Reflection.MethodInfo m) [0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.ILEmitter.GetMethodInfo (Nemerle.Compiler.TyVar
from_type, IMethod meth, Nemerle.Core.list`1 typars) [0x00000] in <filename
unknown>:0 
  at Nemerle.Compiler.ILEmitter.emit (Nemerle.Compiler.Typedtree.TExpr expr)
[0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.ILEmitter.emit (Nemerle.Compiler.Typedtree.TExpr expr)
[0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.ILEmitter.emit (Nemerle.Compiler.Typedtree.TExpr expr)
[0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.ILEmitter.Run () [0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.MethodBuilder+_N__N_lambda__59337__59458.apply_void ()
[0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.TypeBuilder.FinalizeType () [0x00000] in <filename
unknown>:0 
  at Nemerle.Compiler.TypeBuilder.EmitImplementation () [0x00000] in <filename
unknown>:0 
  at Nemerle.Compiler.TypesManager+_N_emit_impl__52700.apply_void
(Nemerle.Compiler.TypeBuilder _N__52699) [0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.TypesManager+_N_maybe_f__53272.apply_void
(Nemerle.Compiler.TypeBuilder _N__53271) [0x00000] in <filename unknown>:0 
  at Nemerle.Collections.NList.Iter[TypeBuilder] (Nemerle.Core.list`1 l,
Nemerle.Builtins.FunctionVoid`1 f) [0x00000] in <filename unknown>:0 
  at Nemerle.Core.list`1[Nemerle.Compiler.TypeBuilder].Iter
(Nemerle.Builtins.FunctionVoid`1 f) [0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.TypesManager.Iter (Nemerle.Core.list`1 builders,
Nemerle.Builtins.FunctionVoid`1 f) [0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.TypesManager.Iter (Nemerle.Builtins.FunctionVoid`1 f)
[0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.TypesManager.compile_all_tyinfos (Boolean aux_phase)
[0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.TypesManager+_N__N_lambda__52140__52243.apply_void ()
[0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.Solver.Enqueue (Nemerle.Builtins.FunctionVoid action)
[0x00000] in <filename unknown>:0 
  at Nemerle.Compiler.TypesManager.EmitDecls () [0x00000] in <filename
unknown>:0 
  at Nemerle.Compiler.ManagerClass.Run () [0x00000] in <filename unknown>:0 
  at Nemerle.CommandlineCompiler.MainClass.main_with_catching () [0x00000] in
<filename unknown>:0 

Command exited with non-zero status 2
3.62user 0.10system 0:03.01elapsed 123%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+29963minor)pagefaults 0swaps
make[3]: *** [out.stage1/Nemerle.stage1.dll] Error 2
make[3]: Leaving directory `/usr/src/Lang/nemerle/ncc'
make[2]: *** [aux-stage] Error 2
make[2]: Leaving directory `/usr/src/Lang/nemerle/ncc'
make[1]: *** [stage1] Error 2
make[1]: Leaving directory `/usr/src/Lang/nemerle/ncc'
make: *** [all] Error 2

-- 
Configure bugmail: http://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