Xinmeng Xia

Results 64 issues of Xinmeng Xia

The incorrect usage of ctype causes core dumped. See the following example. The crash report indicates that the memory seems to leak. Environmental: ``` IronPython 3.4.0a1 (3.4.0.0001) [.NETFramework,Version=v4.6 on Mono...

confirmed
module-ctypes

See the following example, we transform the map l into list, and then IronPython crashes. test.py ``` import operator N = 500000 l = [0] for i in range(N): l...

confirmed

Calling function compile() in "single" mode to compile large size expression can cause a crash IronPython. See the following example. The example trigger crash when n > 10000, e.g. n...

confirmed

See the following two examples. The only difference lie in except branch. test1.py can work well on IronPython. However,test2.py crashes IronPython. test1.py ``` def foo(): try: print(new) for i in...

confirmed

When repr() takes a deep nested dictionary as argument, IronPython crashes. test.py ``` x = {} for i in range(100000): x = {1: x} repr(x) ``` Crash report > ..........

confirmed

IronPython interpreter crashes when rebinding \_\_repr\_\_ as \_\_str\_\_. test.py ``` class Foo(object): pass Foo.__repr__ = Foo.__str__ foo = Foo() str(foo) ``` Crash report: > .... > at IronPython.Hosting.PythonCommandLine.RunFile (string) [0x0000f]...

confirmed

The following example causes stackoverflow of IronPython import sys ``` class Foo(): def __getattr__(self, name): if name=='bar': if not hasattr(self, 'bar'): self.bar = 42 return self.bar raise AttributeError(name) print(Foo().bar) ```...

confirmed

Please see the following example. In the index of dict d, class test is instanced and then IronPython crashes. test.py ``` d = {} class test: def __hash__(self): d[self] =...

confirmed

This piece of code leads to a stack overflow. The execution of the program stops at stacktrace. See the following reporting information. I think the problem may be related to...

confirmed

See the following code. \_\_class\_\_ is in class declaration which lead to an Unhandled Exception- InvalidCastException. ``` class A: global __class__ def a(self): super() A() ``` Environmental: > IronPython 3.4.0a1...

core
confirmed