[Mono-bugs] [Bug 77140][Nor] New - mono segfaults on any ironpyhon1.0-beta exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 3 04:27:06 EST 2006


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 hazmat at objectrealms.net.

http://bugzilla.ximian.com/show_bug.cgi?id=77140

--- shadow/77140	2006-01-03 04:27:06.000000000 -0500
+++ shadow/77140.tmp.12935	2006-01-03 04:27:06.000000000 -0500
@@ -0,0 +1,224 @@
+Bug#: 77140
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: hazmat at objectrealms.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono segfaults on any ironpyhon1.0-beta exception
+
+Description of Problem:
+
+mono segfaults on ironpythonconsole exception handling, likely due to the
+new ironpython exception handling which supposedly does nicer python stack
+traces.
+
+mono version info
+>mono -V
+Mono JIT compiler version 1.1.12, (C) 2002-2005 Novell, Inc and
+Contributors. www.mono-project.com
+        TLS:           __thread
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV      : normal
+
+
+
+Steps to reproduce the problem:
+1. latest mono release (1.1.12)
+2. ironpython - beta 1.0
+3. mono -v IronPythonConsole.exe
+
+skipping startup info
+
+>>> import foobar
+Method IronPython.Compiler.Tokenizer:isNameStart (int) emitted at
+0xb6b3f8b0 to 0xb6b3f8e2 [IronPythonConsole.exe]
+Method IronPython.Compiler.Tokenizer:readName (char) emitted at 0xb6b3f908
+to 0xb6b3f9f9 [IronPythonConsole.exe]
+Method IronPython.Compiler.Tokenizer:isNamePart (int) emitted at 0xb6b3fa20
+to 0xb6b3fa52 [IronPythonConsole.exe]
+Method System.Char:IsLetterOrDigit (char) emitted at 0xb6b3fa68 to
+0xb6b3faa7 [IronPythonConsole.exe]
+Method IronPython.Compiler.Tokenizer:backup () emitted at 0xb6b3faf8 to
+0xb6b3fbe3 [IronPythonConsole.exe]
+Method NameKey:Equals (object) emitted at 0xb6b3fbe8 to 0xb6b3fc9d
+[IronPythonConsole.exe]
+Method IronPython.Compiler.Parser:parseSimpleStmt () emitted at 0xb6b3fca0
+to 0xb6b3fe43 [IronPythonConsole.exe]
+Method IronPython.Compiler.Parser:parseSmallStmt () emitted at 0xb6b3fec8
+to 0xb6b40018 [IronPythonConsole.exe]
+Method IronPython.Compiler.Parser:parseImportStmt () emitted at 0xb6b40430
+to 0xb6b405f4 [IronPythonConsole.exe]
+Method IronPython.Compiler.Parser:eat (int) emitted at 0xb6b40638 to
+0xb6b4066c [IronPythonConsole.exe]
+Method IronPython.Compiler.Parser:getStart () emitted at 0xb6b40680 to
+0xb6b406bb [IronPythonConsole.exe]
+Method IronPython.Compiler.Parser:parseDottedName () emitted at 0xb6b406d0
+to 0xb6b40803 [IronPythonConsole.exe]
+Method IronPython.Compiler.Parser:readName () emitted at 0xb6b40828 to
+0xb6b40875 [IronPythonConsole.exe]
+Method IronPython.Compiler.Tokenizer:get_IsBOF () emitted at 0xb6b40878 to
+0xb6b4088a [IronPythonConsole.exe]
+Method IronPython.Compiler.NameToken:.ctor (IronPython.Compiler.Name)
+emitted at 0xb6b40890 to 0xb6b408ab [IronPythonConsole.exe]
+Method IronPython.Compiler.DottedName:.ctor (IronPython.Compiler.Name[])
+emitted at 0xb6b408b0 to 0xb6b408c7 [IronPythonConsole.exe]
+Method IronPython.Compiler.Parser:maybeParseAsName () emitted at 0xb6b408c8
+to 0xb6b40929 [IronPythonConsole.exe]
+Method IronPython.Compiler.ImportStmt:.ctor
+(IronPython.Compiler.DottedName[],IronPython.Compiler.Name[]) emitted at
+0xb6b40930 to 0xb6b40950 [IronPythonConsole.exe]Method
+<>c__DisplayClass4:.ctor () emitted at 0xb6b40958 to 0xb6b4095d
+[IronPythonConsole.exe]
+Method IronPython.Compiler.OutputGenerator:GenerateSnippet
+(IronPython.Compiler.CompilerContext,IronPython.Compiler.Stmt,string,bool)
+emitted at 0xb6b40b80 to 0xb6b40e5c [IronPythonConsole.exe]
+Method IronPython.Compiler.ImportStmt:Walk (IronPython.Compiler.IWalker)
+emitted at 0xb6b40ef0 to 0xb6b40f24 [IronPythonConsole.exe]
+Method IronPython.Compiler.Binder:Define (IronPython.Compiler.Name) emitted
+at 0xb6b40f28 to 0xb6b40f4a [IronPythonConsole.exe]
+Method IronPython.Compiler.UseDynamicMethodsWalker:Check
+(IronPython.Compiler.Stmt) emitted at 0xb6b40fa0 to 0xb6b40fd5
+[IronPythonConsole.exe]
+Method IronPython.Compiler.UseDynamicMethodsWalker:.ctor () emitted at
+0xb6b40fe8 to 0xb6b40ff4 [IronPythonConsole.exe]
+Method IronPython.Compiler.UseDynamicMethodsWalker:Walk
+(IronPython.Compiler.Stmt) emitted at 0xb6b40ff8 to 0xb6b4102b
+[IronPythonConsole.exe]
+Method IronPython.Compiler.Stmt:get_CanUseDynamicMethods () emitted at
+0xb6b41030 to 0xb6b4103a [IronPythonConsole.exe]
+Method IronPython.Compiler.UseDynamicMethodsWalker:PostWalk
+(IronPython.Compiler.Stmt) emitted at 0xb6b41040 to 0xb6b41045
+[IronPythonConsole.exe]
+Method IronPython.Compiler.AssemblyGen:DefineDynamicMethod
+(string,System.Type,System.Type[]) emitted at 0xb6b41178 to 0xb6b412e4
+[IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:.ctor
+(string,System.Type,System.Type[],System.Reflection.Module) emitted at
+0xb6b41320 to 0xb6b4133e [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:.ctor
+(string,System.Type,System.Type[],System.Reflection.Module,bool) emitted at
+0xb6b41350 to 0xb6b41375 [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:.ctor
+(string,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,bool)
+emitted at 0xb6b41388 to 0xb6b41600 [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:GetILGenerator () emitted at
+0xb6b41608 to 0xb6b4161a [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:GetILGenerator (int) emitted at
+0xb6b41670 to 0xb6b4174a [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:GetMethodImplementationFlags ()
+emitted at 0xb6b41760 to 0xb6b4176a [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:get_Module () emitted at
+0xb6b41770 to 0xb6b4177b [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethodTokenGenerator:.ctor
+(System.Reflection.Emit.DynamicMethod) emitted at 0xb6b41780 to 0xb6b4178e
+[IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:get_Attributes () emitted at
+0xb6b41790 to 0xb6b4179b [IronPythonConsole.exe]
+Method System.Collections.Generic.List`1:.cctor () emitted at 0xb6b417a0 to
+0xb6b417c2 [IronPythonConsole.exe]
+Method System.Collections.Generic.List`1:.ctor () emitted at 0xb6b417c8 to
+0xb6b417d7 [IronPythonConsole.exe]
+Method IronPython.Compiler.CodeGen:getLocalTmp (System.Type) emitted at
+0xb6b41828 to 0xb6b418ef [IronPythonConsole.exe]
+Method System.Reflection.Emit.ILGenerator:DeclareLocal (System.Type)
+emitted at 0xb6b41910 to 0xb6b41925 [IronPythonConsole.exe]
+Method System.Reflection.Emit.ILGenerator:DeclareLocal (System.Type,bool)
+emitted at 0xb6b41c28 to 0xb6b41d4c [IronPythonConsole.exe]
+Method System.Reflection.Emit.LocalBuilder:.ctor
+(System.Type,System.Reflection.Emit.ILGenerator) emitted at 0xb6b41d60 to
+0xb6b41d80 [IronPythonConsole.exe]
+Method System.Reflection.LocalVariableInfo:.ctor () emitted at 0xb6b41d98
+to 0xb6b41d9d [IronPythonConsole.exe]
+Method IronPython.Compiler.LocalSlot:.ctor
+(System.Reflection.Emit.LocalBuilder) emitted at 0xb6b41da0 to 0xb6b41db7
+[IronPythonConsole.exe]
+Method IronPython.Compiler.CodeGen:CreateFrameNamespace
+(IronPython.Compiler.Slot) emitted at 0xb6b41dd8 to 0xb6b41e58
+[IronPythonConsole.exe]
+Method IronPython.Compiler.FrameSlotFactory:.ctor
+(IronPython.Compiler.CodeGen,IronPython.Compiler.Slot) emitted at
+0xb6b41e80 to 0xb6b41ea0 [IronPythonConsole.exe]
+Method IronPython.Compiler.LocalFrameSlotFactory:.ctor
+(IronPython.Compiler.CodeGen,IronPython.Compiler.Slot) emitted at
+0xb6b41ea8 to 0xb6b41ebe [IronPythonConsole.exe]
+Method IronPython.Compiler.CodeGen:emitFieldGet (System.Type,string)
+emitted at 0xb6b41ec0 to 0xb6b41eec [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethodTokenGenerator:GetToken
+(System.Reflection.MemberInfo) emitted at 0xb6b41ef0 to 0xb6b41f09
+[IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:AddRef (object) emitted at
+0xb6b41f20 to 0xb6b41fc9 [IronPythonConsole.exe]
+Method System.Reflection.MonoField:get_DeclaringType () emitted at
+0xb6b41fd0 to 0xb6b41fe2 [IronPythonConsole.exe]
+Method (wrapper managed-to-native)
+System.Reflection.MonoField:GetParentType (bool) emitted at 0xb6b41ff8 to
+0xb6b42047 [IronPythonConsole.exe]
+Method IronPython.Compiler.LocalSlot:EmitSet (IronPython.Compiler.CodeGen)
+emitted at 0xb6b42048 to 0xb6b42080 [IronPythonConsole.exe]
+Method System.Reflection.Emit.ILGenerator:Emit
+(System.Reflection.Emit.OpCode,System.Reflection.Emit.LocalBuilder) emitted
+at 0xb6b42088 to 0xb6b4270a [IronPythonConsole.exe]
+Method IronPython.Compiler.ImportStmt:Emit (IronPython.Compiler.CodeGen)
+emitted at 0xb6b42710 to 0xb6b4288f [IronPythonConsole.exe]
+Method IronPython.Compiler.CodeGen:EmitModuleInstance () emitted at
+0xb6b428b0 to 0xb6b428c7 [IronPythonConsole.exe]
+Method IronPython.Compiler.LocalSlot:EmitGet (IronPython.Compiler.CodeGen)
+emitted at 0xb6b428c8 to 0xb6b428f9 [IronPythonConsole.exe]
+Method IronPython.Compiler.DottedName:MakeString () emitted at 0xb6b42900
+to 0xb6b429ca [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethodTokenGenerator:GetToken (string)
+emitted at 0xb6b429d0 to 0xb6b429e9 [IronPythonConsole.exe]
+Method IronPython.Compiler.LocalFrameSlotFactory:MakeSlot
+(IronPython.Compiler.Name,System.Type) emitted at 0xb6b42a40 to 0xb6b42a6b
+[IronPythonConsole.exe]
+Method IronPython.Compiler.LocalNamedFrameSlot:.ctor
+(IronPython.Compiler.Slot,IronPython.Compiler.Name) emitted at 0xb6b42a80
+to 0xb6b42aa0 [IronPythonConsole.exe]
+Method IronPython.Compiler.Slot:EmitSet (IronPython.Compiler.CodeGen)
+emitted at 0xb6b42aa8 to 0xb6b42af6 [IronPythonConsole.exe]
+Method IronPython.Compiler.LocalNamedFrameSlot:EmitSet
+(IronPython.Compiler.CodeGen,IronPython.Compiler.Slot) emitted at
+0xb6b42b08 to 0xb6b42b70 [IronPythonConsole.exe]
+Method IronPython.Compiler.CodeGen:freeLocalTmp (IronPython.Compiler.Slot)
+emitted at 0xb6b42b78 to 0xb6b42b8f [IronPythonConsole.exe]
+Method IronPython.Compiler.CodeGen:emitReturn (IronPython.Compiler.Expr)
+emitted at 0xb6b42b90 to 0xb6b42bc4 [IronPythonConsole.exe]
+Method IronPython.Compiler.CodeGen:EmitExprOrNone
+(IronPython.Compiler.Expr) emitted at 0xb6b42be8 to 0xb6b42c27
+[IronPythonConsole.exe]
+Method IronPython.Compiler.CodeGen:CreateDelegate (System.Type) emitted at
+0xb6b42c28 to 0xb6b42c49 [IronPythonConsole.exe]
+Method IronPython.Compiler.CodeGen:CreateDelegateMethodInfo () emitted at
+0xb6b42c70 to 0xb6b42d61 [IronPythonConsole.exe]
+Method IronPython.Compiler.CodeGen:CreateDelegate
+(System.Reflection.MethodInfo,System.Type) emitted at 0xb6b42d68 to
+0xb6b42dd3 [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:CreateDelegate (System.Type)
+emitted at 0xb6b42de8 to 0xb6b42e57 [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:CreateDynMethod () emitted at
+0xb6b42e68 to 0xb6b42eab [IronPythonConsole.exe]
+Method System.RuntimeMethodHandle:get_Value () emitted at 0xb6b42ed0 to
+0xb6b42eda [IronPythonConsole.exe]
+Method (wrapper managed-to-native)
+System.Reflection.Emit.DynamicMethod:create_dynamic_method
+(System.Reflection.Emit.DynamicMethod) emitted at 0xb6b42f10 to 0xb6b42f55
+[IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:get_ReturnType () emitted at
+0xb6b42f58 to 0xb6b42f63 [IronPythonConsole.exe]
+Method System.Reflection.Emit.DynamicMethod:GetParameters () emitted at
+0xb6b23000 to 0xb6b2311b [IronPythonConsole.exe]
+
+** ERROR **: file class.c: line 3319 (mono_class_get_field): assertion
+failed: (mono_metadata_token_code (field_token) == MONO_TOKEN_FIELD_DEF)
+aborting...
+Aborted


More information about the mono-bugs mailing list