[Mono-bugs] [Bug 336999] New: IronPython crash
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Oct 26 04:08:19 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=336999#c334493
Summary: IronPython crash
Product: Mono: Runtime
Version: unspecified
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: ---
Continuing from #334493. IronPython 2.0 Alpha 5. SVN r88240.
# test.py
class X(object):
__slots__ = ['x']
class Y(X):
pass
$ mono ipy.exe test.py
** ERROR **: get custom attrs not yet supported for MonoGenericClass
aborting...
Stacktrace:
at (wrapper managed-to-native)
System.MonoCustomAttrs.GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00004>
at (wrapper managed-to-native)
System.MonoCustomAttrs.GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0xffffffff>
at System.MonoCustomAttrs.GetCustomAttributesBase
(System.Reflection.ICustomAttributeProvider,System.Type) <0x0001e>
at System.MonoCustomAttrs.GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x0001d>
at System.MonoType.GetCustomAttributes (System.Type,bool) <0x00019>
at Microsoft.Scripting.Types.ReflectedTypeBuilder.DoBuild (System.Type)
<0x0001d>
at Microsoft.Scripting.Types.ReflectedTypeBuilder.Build (System.Type)
<0x0010a>
at Microsoft.Scripting.DynamicHelpers.GetDynamicTypeFromType (System.Type)
<0x00031>
at IronPython.Compiler.Generation.NewTypeMaker.OverrideBaseMethod
(System.Reflection.MethodInfo,System.Collections.Generic.Dictionary`2)
<0x000a5>
at IronPython.Compiler.Generation.NewTypeMaker.OverrideVirtualMethods
(System.Type,System.Collections.Generic.Dictionary`2) <0x00338>
at IronPython.Compiler.Generation.NewTypeMaker.CreateNewType () <0x000ec>
at <>c__CompilerGenerated30.<GetNewType>c__31 () <0x00024>
at Microsoft.Scripting.Utils.Publisher`2.GetOrCreateValue
(IronPython.Compiler.Generation.NewTypeInfo,Microsoft.Scripting.Utils.Publisher`2/CreateValue)
<0x00161>
at IronPython.Compiler.Generation.NewTypeMaker.GetNewType
(string,IronPython.Runtime.PythonTuple,Microsoft.Scripting.IAttributesCollection)
<0x00165>
at IronPython.Runtime.Types.UserTypeBuilder.Build
(Microsoft.Scripting.CodeContext,string,IronPython.Runtime.PythonTuple,Microsoft.Scripting.IAttributesCollection)
<0x00041>
at IronPython.Runtime.Operations.PythonOps.MakeClass
(Microsoft.Scripting.CodeContext,string,object[],string,System.Delegate)
<0x00305>
at __main__$mod_7.Initialize (Microsoft.Scripting.CodeContext) <0x0011c>
at Microsoft.Scripting.ScriptCode.Run (Microsoft.Scripting.CodeContext,bool)
<0x001f9>
at Microsoft.Scripting.ScriptCode.Run
(Microsoft.Scripting.Scope,Microsoft.Scripting.ModuleContext,bool) <0x0005c>
at Microsoft.Scripting.ScriptCode.Run
(Microsoft.Scripting.Scope,Microsoft.Scripting.ModuleContext) <0x00012>
at Microsoft.Scripting.ScriptModule.Execute () <0x00088>
at IronPython.Hosting.PythonCommandLine.RunFileWorker (string) <0x001d7>
at IronPython.Hosting.PythonCommandLine.RunFile (string) <0x00079>
at Microsoft.Scripting.Shell.CommandLine.Run () <0x0007d>
at IronPython.Hosting.PythonCommandLine.Run () <0x000d2>
at Microsoft.Scripting.Shell.CommandLine.Run
(Microsoft.Scripting.Hosting.IScriptEngine,Microsoft.Scripting.Shell.IConsole,Microsoft.Scripting.Shell.ConsoleOptions)
<0x00071>
at Microsoft.Scripting.Hosting.ConsoleHost.RunCommandLine
(Microsoft.Scripting.OptionsParser) <0x001bf>
at Microsoft.Scripting.Hosting.ConsoleHost.ExecuteInternal () <0x00268>
at Microsoft.Scripting.Hosting.ConsoleHost.Execute () <0x0009b>
at Microsoft.Scripting.Hosting.ConsoleHost.Run (string[]) <0x00143>
at PythonConsoleHost.Main (string[]) <0x00025>
at (wrapper runtime-invoke) PythonConsoleHost.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>
--
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