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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 27 16:05:03 EST 2009


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

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


--- Comment #8 from Basile Starynkevitch <basile at starynkevitch.net> 2009-11-27 21:05:00 UTC ---
Thanks for the correction. 
with

Mono JIT compiler version 2.7 (/trunk/mono r147046 Fri Nov 27 20:53:26 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 rev 8446. % 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
____________________________________________________________
------------- STATS ---------------
  AllTypeBuilders:     376
  FirstClassFunctions: 79
  FunctionClosures:    76
  RealRunningTime:     60927ms
------------- END STATS ---------------
85.88user 0.92system 1:02.64elapsed 138%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+504outputs (0major+32712minor)pagefaults 0swaps
COMPILE [stage1] Nemerle.Compiler.dll
______......................................................
error: internal compiler error: got ArgumentException (type is not TypeBuilder
but System.MonoType
Parameter name: type)
  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.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__N_lambda__53298__53316.apply_void
(Nemerle.Compiler.TypeBuilder _N__53315) [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.IterConditionally
(Nemerle.Builtins.FunctionVoid`1 f, Nemerle.Builtins.Function`2 cond) [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
53.41user 1.23system 0:43.87elapsed 124%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+248outputs (0major+45928minor)pagefaults 0swaps
make[3]: *** [out.stage1/Nemerle.Compiler.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


So it is not the same bug as before, and I don't know now if it is a nemerle
bug or a mono one.

Regards.

-- 
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