Advertisement
Guest User

Untitled

a guest
Sep 24th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.21 KB | None | 0 0
  1. $ ~/bin/pypy/bin/pypy ../../rpython/bin/rpython -a --opt=jit
  2. [translation:info] 2.7.13 (8cdda8b8cdb8, Apr 14 2019, 14:06:44)
  3. [PyPy 7.1.1 with GCC 6.2.0 20160901]
  4. [platform:msg] Set platform with 'host' cc=None, using cc='gcc', version='Unknown'
  5. [translation:info] Translating target as defined by targetpypystandalone
  6. [translation] PyPy config object:
  7. [translation] [objspace]
  8. [std]
  9. intshortcut = True
  10. optimized_list_getitem = True
  11. withspecialisedtuple = True
  12. [usemodules]
  13. __pypy__ = True
  14. _ast = True
  15. _cffi_backend = True
  16. _codecs = True
  17. _collections = True
  18. _continuation = True
  19. _cppyy = True
  20. _csv = True
  21. _jitlog = True
  22. _lsprof = True
  23. _md5 = True
  24. _minimal_curses = True
  25. _multibytecodec = True
  26. _multiprocessing = True
  27. _pickle_support = True
  28. _posixsubprocess = True
  29. _pypyjson = True
  30. _random = True
  31. _rawffi = True
  32. _socket = True
  33. _sre = True
  34. _string = True
  35. _testing = True
  36. _vmprof = True
  37. _weakref = True
  38. array = True
  39. atexit = True
  40. binascii = True
  41. bz2 = True
  42. cmath = True
  43. cpyext = True
  44. errno = True
  45. faulthandler = True
  46. fcntl = True
  47. gc = True
  48. imp = True
  49. marshal = True
  50. math = True
  51. mmap = True
  52. parser = True
  53. pwd = True
  54. pyexpat = True
  55. pypyjit = True
  56. select = True
  57. signal = True
  58. struct = True
  59. symbol = True
  60. termios = True
  61. thread = True
  62. time = True
  63. token = True
  64. unicodedata = True
  65. zipimport = True
  66. zlib = True
  67. [translation] translate.py configuration:
  68. [translation] [translate]
  69. [goal_options]
  70. annotate = True
  71. opt = jit
  72. [translation] translation configuration:
  73. [translation] [translation]
  74. check_str_without_nul = True
  75. continuation = True
  76. gc = incminimark
  77. gcrootfinder = shadowstack
  78. gctransformer = framework
  79. icon = pypy.ico
  80. jit = True
  81. list_comprehension_operations = True
  82. secondaryentrypoints = cpyext,main
  83. shared = True
  84. thread = True
  85. type_system = lltype
  86. withsmallfuncsets = 5
  87. [translation:info] Annotating&simplifying...
  88. [6ba] {translation-task
  89. starting annotate
  90. [translation:info] with policy: pypy.tool.ann_override.PyPyAnnotatorPolicy
  91. ...[61d3] translation-task}
  92.  
  93. [Timer] Timings:
  94. [Timer] annotate --- 235.0 s
  95. [Timer] ==========================================
  96. [Timer] Total: --- 235.0 s
  97. [translation:info] Error:
  98. File "/home/yannick/pypy/rpython/translator/goal/translate.py", line 318, in main
  99. drv.proceed(goals)
  100. File "/home/yannick/pypy/rpython/translator/driver.py", line 554, in proceed
  101. result = self._execute(goals, task_skip = self._maybe_skip())
  102. File "/home/yannick/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute
  103. res = self._do(goal, taskcallable, *args, **kwds)
  104. File "/home/yannick/pypy/rpython/translator/driver.py", line 278, in _do
  105. res = func()
  106. File "/home/yannick/pypy/rpython/translator/driver.py", line 315, in task_annotate
  107. s = annotator.build_types(self.entry_point, self.inputtypes)
  108. File "/home/yannick/pypy/rpython/annotator/annrpython.py", line 92, in build_types
  109. return self.build_graph_types(flowgraph, inputs_s, complete_now=complete_now)
  110. File "/home/yannick/pypy/rpython/annotator/annrpython.py", line 140, in build_graph_types
  111. self.complete()
  112. File "/home/yannick/pypy/rpython/annotator/annrpython.py", line 229, in complete
  113. self.complete_pending_blocks()
  114. File "/home/yannick/pypy/rpython/annotator/annrpython.py", line 224, in complete_pending_blocks
  115. self.processblock(graph, block)
  116. File "/home/yannick/pypy/rpython/annotator/annrpython.py", line 398, in processblock
  117. self.flowin(graph, block)
  118. File "/home/yannick/pypy/rpython/annotator/annrpython.py", line 501, in flowin
  119. self.consider_op(op)
  120. File "/home/yannick/pypy/rpython/annotator/annrpython.py", line 653, in consider_op
  121. resultcell = op.consider(self)
  122. File "/home/yannick/pypy/rpython/flowspace/operation.py", line 104, in consider
  123. return spec(annotator, *self.args)
  124. File "/home/yannick/pypy/rpython/annotator/unaryop.py", line 118, in simple_call_SomeObject
  125. return s_func.call(argspec)
  126. File "/home/yannick/pypy/rpython/annotator/unaryop.py", line 978, in call
  127. return bookkeeper.pbc_call(self, args)
  128. File "/home/yannick/pypy/rpython/annotator/bookkeeper.py", line 535, in pbc_call
  129. results.append(desc.pycall(whence, args, s_previous_result, op))
  130. File "/home/yannick/pypy/rpython/annotator/description.py", line 293, in pycall
  131. result = annotator.recursivecall(graph, whence, inputcells)
  132. File "/home/yannick/pypy/rpython/annotator/annrpython.py", line 327, in recursivecall
  133. self.addpendingblock(graph, graph.startblock, inputcells)
  134. File "/home/yannick/pypy/rpython/annotator/annrpython.py", line 189, in addpendingblock
  135. self.mergeinputargs(graph, block, cells)
  136. File "/home/yannick/pypy/rpython/annotator/annrpython.py", line 435, in mergeinputargs
  137. unions = [annmodel.unionof(c1,c2) for c1, c2 in zip(oldcells,inputcells)]
  138. File "/home/yannick/pypy/rpython/annotator/model.py", line 775, in unionof
  139. s1 = pair(s1, s2).union()
  140. File "/home/yannick/pypy/rpython/annotator/binaryop.py", line 471, in union
  141. return SomeList(lst1.listdef.union(lst2.listdef))
  142. File "/home/yannick/pypy/rpython/annotator/listdef.py", line 140, in union
  143. self.listitem.merge(other.listitem)
  144. File "/home/yannick/pypy/rpython/annotator/listdef.py", line 81, in merge
  145. self.resize()
  146. File "/home/yannick/pypy/rpython/annotator/listdef.py", line 49, in resize
  147. raise ListChangeUnallowed("resizing list")
  148. [translation:ERROR] ListChangeUnallowed:
  149.  
  150. resizing list
  151.  
  152.  
  153. Occurred processing the following simple_call:
  154. function _calculate_metaclass </home/yannick/pypy/pypy/objspace/std/typeobject.py, line 863> returning
  155.  
  156. w_meta_0 = simple_call((function _calculate_metaclass), space_88, v1039, bases_w_0)
  157.  
  158. In <FunctionGraph of (pypy.module.__builtin__.compiling:117)build_class at 0x2f0cca30>:
  159. Happened at file /home/yannick/pypy/pypy/module/__builtin__/compiling.py line 138
  160.  
  161. ==> w_meta = _calculate_metaclass(space, w_meta, bases_w)
  162.  
  163. Known variable annotations:
  164. space_88 = SomePBC(can_be_None=False, const=StdObjSpace, subset_of=None)
  165. v1039 = SomeInstance(can_be_None=True, classdef=pypy.objspace.std.typeobject.W_TypeObject)
  166. bases_w_0 = SomeList(listdef=<[SomeInstance(can_be_None=True, classdef=pypy.interpreter.baseobjspace.W_Root)]mr>)
  167.  
  168. Processing block:
  169. block@253[isclass_0...] is a <class 'rpython.flowspace.flowcontext.SpamBlock'>
  170. in (pypy.module.__builtin__.compiling:117)build_class
  171. containing the following operations:
  172. w_meta_0 = simple_call((function _calculate_metaclass), space_88, v1039, bases_w_0)
  173. --end--
  174. [translation] start debugger...
  175. > /home/yannick/pypy/rpython/annotator/listdef.py(49)resize()
  176. -> raise ListChangeUnallowed("resizing list")
  177. (Pdb+)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement