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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=81628 --- shadow/81628 2007-05-15 01:46:23.000000000 -0400 +++ shadow/81628.tmp.24190 2007-05-15 01:46:23.000000000 -0400 @@ -0,0 +1,217 @@ +Bug#: 81628 +Product: Mono: Class Libraries +Version: 1.2 +OS: other +OS Details: SLES 10 on Itanium +Status: NEW +Resolution: +Severity: +Priority: Major +Component: System +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: IronPython and my code crash on Itanium + +Please fill in this template when reporting a bug, unless you know what you are doing. +Description of Problem: + +I am building a c# application which uses IronPython to execute python code. This works just +fine on my MacOSX system. However, it crashes on my SLES10 Itanium based system. + +I have build IronPython with + +./configure --with-libgdiplus=/opt/libgdiplus/1.2.3 --prefix=/opt/mono/1.2.3.1 + +and it builds and installs just fine. + + + +Steps to reproduce the problem: +1. try to run IronPython on Itanium + + +Actual Results: + +When I run IronPython + +cognac:~/metaq/IronPython > mono --debug ipy.exe + +** (ipy.exe:14215): WARNING **: exception inside UnhandledException handler: Argument cannot +be null. + + + +When I run my code + +cognac:~/metaq > mono test.exe + +Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type +initializer for Microsoft.Win32.Registry ---> System.NotImplementedException: Registry hive +'ClassesRoot' is not implemented. + at Microsoft.Win32.RegistryKey.GetHiveName (RegistryHive hive) [0x00000] + at Microsoft.Win32.RegistryKey..ctor (RegistryHive hiveId, IntPtr keyHandle, Boolean +remoteRoot) [0x00000] + at Microsoft.Win32.RegistryKey..ctor (RegistryHive hiveId) [0x00000] + at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:.ctor +(Microsoft.Win32.RegistryHive) + at Microsoft.Win32.Registry..cctor () [0x00000] --- End of inner exception stack trace --- + + at System.Environment.SetEnvironmentVariable (System.String variable, System.String value) +[0x00000] + at IronPython.Runtime.EnvironmentDictionary.set_Item (System.Object key, System.Object +value) [0x00000] + at IronPython.Runtime.DictOps.Update (IDictionary`2 self, System.Object b) [0x00000] + at IronPython.Runtime.Dict.Update (System.Object b) [0x00000] + at IronPython.Runtime.Dict..ctor (System.Object o) [0x00000] + at IronPython.Runtime.EnvironmentDictionary..ctor () [0x00000] + at IronPython.Modules.PythonNT.get_Environment () [0x00000] + at (wrapper delegate-invoke) System.MulticastDelegate:invoke_object () + at IronPython.Runtime.Calls.FastCallable0.Call (ICallerContext context) [0x00000] + at IronPython.Runtime.Calls.FastCallable0.Call (ICallerContext context, System.Object[] args) +[0x00000] + at IronPython.Runtime.Calls.FastCallable.Call (System.Object[] args) [0x00000] + at IronPython.Runtime.Types.ReflectedGetterSetter.CallGetter (System.Object instance, +System.Object[] args) [0x00000] + at IronPython.Runtime.Types.ReflectedProperty.GetAttribute (System.Object instance, +System.Object context) [0x00000] + at IronPython.Runtime.Operations.Ops.GetDescriptor (System.Object o, System.Object instance, +System.Object context) [0x00000] + at IronPython.Runtime.Types.DynamicType.UncheckedGetDescriptor (System.Object o, +System.Object instance, System.Object context) [0x00000] + at IronPython.Runtime.Types.DynamicType.TryBaseGetAttr (ICallerContext context, +System.Object self, SymbolId name, System.Object& ret) [0x00000] + at IronPython.Runtime.Types.ReflectedType.TryGetAttr (ICallerContext context, System.Object +self, SymbolId name, System.Object& ret) [0x00000] + at IronPython.Runtime.Types.DynamicType.GetAttr (ICallerContext context, System.Object self, +SymbolId name) [0x00000] + at IronPython.Runtime.Importer.MakePythonModule (IronPython.Runtime.SystemState state, +System.String name, IronPython.Runtime.Types.ReflectedType type) [0x00000] + at IronPython.Runtime.Importer.ImportBuiltin (IronPython.Runtime.PythonModule mod, +System.String name) [0x00000] + at IronPython.Runtime.Importer.ImportTopAbsolute (IronPython.Runtime.PythonModule mod, +System.String name) [0x00000] + at IronPython.Runtime.Importer.ImportModule (ICallerContext context, System.String +modName, Boolean bottom) [0x00000] + at IronPython.Modules.Builtin.__import__ (ICallerContext context, System.String name, +System.Object globals, System.Object locals, System.Object fromList) [0x00000] + at (wrapper dynamic-method) System.Object:__import__##4 +(IronPython.Runtime.Calls.ICallerContext,object,object,object,object) + at (wrapper delegate-invoke) +System.MulticastDelegate:invoke_object_ICallerContext_object_object_object_object +(IronPython.Runtime.Calls.ICallerContext,object,object,object,object) + at IronPython.Runtime.Calls.FastCallableWithContextAny.Call (ICallerContext context, +System.Object arg0, System.Object arg1, System.Object arg2, System.Object arg3) [0x00000] + at IronPython.Runtime.Calls.BuiltinFunction.Call (ICallerContext context, System.Object arg0, +System.Object arg1, System.Object arg2, System.Object arg3) [0x00000] + at IronPython.Runtime.Operations.Ops.CallWithContext (ICallerContext context, System.Object +func, System.Object arg0, System.Object arg1, System.Object arg2, System.Object arg3) +[0x00000] + at IronPython.Runtime.Importer.Import (IronPython.Runtime.PythonModule mod, System.String +fullName, IronPython.Runtime.List from) [0x00000] + at IronPython.Runtime.Operations.Ops.ImportStar (ICallerContext context, System.String +fullName) [0x00000] + at os.Initialize () [0x00000] + at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () + at IronPython.Runtime.PythonModule.Initialize () [0x00000] + at IronPython.Runtime.Importer.InitializeModule (System.String fullName, +IronPython.Runtime.PythonModule pmod) [0x00000] + at IronPython.Runtime.Importer.TryLoadModule (IronPython.Runtime.SystemState state, +System.String fullName, System.String pathName, IronPython.Runtime.PythonModule& ret) +[0x00000] + at IronPython.Runtime.Importer.ImportFromPath (IronPython.Runtime.SystemState state, +System.String name, System.String fullName, IronPython.Runtime.List path) [0x00000] + at IronPython.Runtime.Importer.ImportTopAbsolute (IronPython.Runtime.PythonModule mod, +System.String name) [0x00000] + at IronPython.Runtime.Importer.ImportModule (ICallerContext context, System.String +modName, Boolean bottom) [0x00000] + at IronPython.Modules.Builtin.__import__ (ICallerContext context, System.String name, +System.Object globals, System.Object locals, System.Object fromList) [0x00000] + at (wrapper dynamic-method) System.Object:__import__##4 +(IronPython.Runtime.Calls.ICallerContext,object,object,object,object) + at (wrapper delegate-invoke) +System.MulticastDelegate:invoke_object_ICallerContext_object_object_object_object +(IronPython.Runtime.Calls.ICallerContext,object,object,object,object) + at IronPython.Runtime.Calls.FastCallableWithContextAny.Call (ICallerContext context, +System.Object arg0, System.Object arg1, System.Object arg2, System.Object arg3) [0x00000] + at IronPython.Runtime.Calls.BuiltinFunction.Call (ICallerContext context, System.Object arg0, +System.Object arg1, System.Object arg2, System.Object arg3) [0x00000] + at IronPython.Runtime.Operations.Ops.CallWithContext (ICallerContext context, System.Object +func, System.Object arg0, System.Object arg1, System.Object arg2, System.Object arg3) +[0x00000] + at IronPython.Runtime.Importer.Import (IronPython.Runtime.PythonModule mod, System.String +fullName, IronPython.Runtime.List from) [0x00000] + at IronPython.Runtime.Operations.Ops.Import (IronPython.Runtime.PythonModule mod, +System.String fullName) [0x00000] + at q.Initialize () [0x00000] + at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () + at IronPython.Runtime.PythonModule.Initialize () [0x00000] + at IronPython.Runtime.Importer.InitializeModule (System.String fullName, +IronPython.Runtime.PythonModule pmod) [0x00000] + at IronPython.Runtime.Importer.TryLoadModule (IronPython.Runtime.SystemState state, +System.String fullName, System.String pathName, IronPython.Runtime.PythonModule& ret) +[0x00000] + at IronPython.Runtime.Importer.ImportFromPath (IronPython.Runtime.SystemState state, +System.String name, System.String fullName, IronPython.Runtime.List path) [0x00000] + at IronPython.Runtime.Importer.ImportTopAbsolute (IronPython.Runtime.PythonModule mod, +System.String name) [0x00000] + at IronPython.Runtime.Importer.ImportModule (ICallerContext context, System.String +modName, Boolean bottom) [0x00000] + at IronPython.Modules.Builtin.__import__ (ICallerContext context, System.String name, +System.Object globals, System.Object locals, System.Object fromList) [0x00000] + at (wrapper dynamic-method) System.Object:__import__##4 +(IronPython.Runtime.Calls.ICallerContext,object,object,object,object) + at (wrapper delegate-invoke) +System.MulticastDelegate:invoke_object_ICallerContext_object_object_object_object +(IronPython.Runtime.Calls.ICallerContext,object,object,object,object) + at IronPython.Runtime.Calls.FastCallableWithContextAny.Call (ICallerContext context, +System.Object arg0, System.Object arg1, System.Object arg2, System.Object arg3) [0x00000] + at IronPython.Runtime.Calls.BuiltinFunction.Call (ICallerContext context, System.Object arg0, +System.Object arg1, System.Object arg2, System.Object arg3) [0x00000] + at IronPython.Runtime.Operations.Ops.CallWithContext (ICallerContext context, System.Object +func, System.Object arg0, System.Object arg1, System.Object arg2, System.Object arg3) +[0x00000] + at IronPython.Runtime.Importer.Import (IronPython.Runtime.PythonModule mod, System.String +fullName, IronPython.Runtime.List from) [0x00000] + at IronPython.Runtime.Operations.Ops.Import (IronPython.Runtime.PythonModule mod, +System.String fullName) [0x00000] + at metaq.Initialize () [0x00000] + at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () + at IronPython.Runtime.PythonModule.Initialize () [0x00000] + at IronPython.Runtime.Importer.InitializeModule (System.String fullName, +IronPython.Runtime.PythonModule pmod) [0x00000] + at IronPython.Runtime.Importer.TryLoadModule (IronPython.Runtime.SystemState state, +System.String fullName, System.String pathName, IronPython.Runtime.PythonModule& ret) +[0x00000] + at IronPython.Runtime.Importer.ImportFromPath (IronPython.Runtime.SystemState state, +System.String name, System.String fullName, IronPython.Runtime.List path) [0x00000] + at IronPython.Runtime.Importer.ImportTopAbsolute (IronPython.Runtime.PythonModule mod, +System.String name) [0x00000] + at IronPython.Runtime.Importer.ImportModule (ICallerContext context, System.String +modName, Boolean bottom) [0x00000] + at IronPython.Hosting.EngineModule.Import (System.String moduleName) [0x00000] + at IronPython.Hosting.PythonEngine.Import (System.String moduleName) [0x00000] + at MetaQ.MQ..ctor () [0x00000] + at test.testing.Main (System.String[] args) [0x00000] + + + + +Expected Results: + +When I run my code + +StuMac-2:~/Documents/CVS/metaq > mono ./test.exe +OK +jobset.654GnX/job.0zNGd5 + + +How often does this happen? + +Everytime + + +Additional Information: _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
