Skip to content

Instantly share code, notes, and snippets.

@etrepum
Created March 15, 2011 17:57
Show Gist options
  • Save etrepum/871147 to your computer and use it in GitHub Desktop.
Save etrepum/871147 to your computer and use it in GitHub Desktop.
[Timer] Timings:
[Timer] annotate --- 1007.2 s
[Timer] rtype_lltype --- 530.8 s
[Timer] pyjitpl_lltype --- 607.4 s
[Timer] backendopt_lltype --- 203.2 s
[Timer] stackcheckinsertion_lltype --- 66.0 s
[Timer] database_c --- 9.3 s
[Timer] ===========================================
[Timer] Total: --- 2424.0 s
[translation:ERROR] Error:
[translation:ERROR] Traceback (most recent call last):
[translation:ERROR] File "translate.py", line 290, in main
[translation:ERROR] drv.proceed(goals)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/translator/driver.py", line 812, in proceed
[translation:ERROR] return self._execute(goals, task_skip = self._maybe_skip())
[translation:ERROR] File "/Users/bob/src/pypy/pypy/translator/tool/taskengine.py", line 116, in _execute
[translation:ERROR] res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/translator/driver.py", line 288, in _do
[translation:ERROR] res = func()
[translation:ERROR] File "/Users/bob/src/pypy/pypy/translator/driver.py", line 508, in task_database_c
[translation:ERROR] database = cbuilder.build_database()
[translation:ERROR] File "/Users/bob/src/pypy/pypy/translator/c/genc.py", line 157, in build_database
[translation:ERROR] sandbox=self.config.translation.sandbox)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/translator/c/database.py", line 65, in __init__
[translation:ERROR] self.gctransformer = self.gcpolicy.transformerclass(translator)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/rpython/memory/gctransform/framework.py", line 494, in __init__
[translation:ERROR] annhelper.finish() # at this point, annotate all mix-level helpers
[translation:ERROR] File "/Users/bob/src/pypy/pypy/rpython/annlowlevel.py", line 240, in finish
[translation:ERROR] self.finish_annotate()
[translation:ERROR] File "/Users/bob/src/pypy/pypy/rpython/annlowlevel.py", line 259, in finish_annotate
[translation:ERROR] ann.complete_helpers(self.policy)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/annrpython.py", line 176, in complete_helpers
[translation:ERROR] self.complete()
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/annrpython.py", line 250, in complete
[translation:ERROR] self.processblock(graph, block)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/annrpython.py", line 448, in processblock
[translation:ERROR] self.flowin(graph, block)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/annrpython.py", line 508, in flowin
[translation:ERROR] self.consider_op(block.operations[i])
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/annrpython.py", line 710, in consider_op
[translation:ERROR] raise_nicer_exception(op, str(graph))
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/annrpython.py", line 707, in consider_op
[translation:ERROR] resultcell = consider_meth(*argcells)
[translation:ERROR] File "<4195-codegen /Users/bob/src/pypy/pypy/annotation/annrpython.py:745>", line 3, in consider_op_simple_call
[translation:ERROR] return arg.simple_call(*args)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/unaryop.py", line 175, in simple_call
[translation:ERROR] return obj.call(getbookkeeper().build_args("simple_call", args_s))
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/unaryop.py", line 691, in call
[translation:ERROR] return bookkeeper.pbc_call(pbc, args)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/bookkeeper.py", line 662, in pbc_call
[translation:ERROR] results.append(desc.pycall(schedule, args, s_previous_result))
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/description.py", line 781, in pycall
[translation:ERROR] return self.funcdesc.pycall(schedule, args, s_previous_result)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/description.py", line 284, in pycall
[translation:ERROR] result = schedule(graph, inputcells)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/bookkeeper.py", line 658, in schedule
[translation:ERROR] return self.annotator.recursivecall(graph, whence, inputcells)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/annrpython.py", line 391, in recursivecall
[translation:ERROR] position_key)
[translation:ERROR] File "/Users/bob/src/pypy/pypy/annotation/annrpython.py", line 231, in addpendingblock
[translation:ERROR] assert s_oldarg.contains(s_newarg)
[translation:ERROR] AssertionError':
[translation:ERROR] .. v106 = simple_call(v104, v105, v105, (None))
[translation:ERROR] .. '(pypy.rpython.memory.gc.env:195)get_darwin_cache_size'
[translation:ERROR] Processing block:
[translation:ERROR] block@333 is a <class 'pypy.objspace.flow.flowcontext.SpamBlock'>
[translation:ERROR] in (pypy.rpython.memory.gc.env:195)get_darwin_cache_size
[translation:ERROR] containing the following operations:
[translation:ERROR] v106 = simple_call(v104, v105, v105, (None))
[translation:ERROR] --end--
[translation] start debugger...
> /Users/bob/src/pypy/pypy/annotation/annrpython.py(231)addpendingblock()
-> assert s_oldarg.contains(s_newarg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment