[pypy-issue] [issue1450] MemoryError (from JIT?) when built with GCC 4.8

Geoffrey Sneddon tracker at bugs.pypy.org
Fri Apr 12 16:02:08 CEST 2013


Geoffrey Sneddon <geoffers at gmail.com> added the comment:

So trying to self-host with JIT off gave:

[translation:ERROR] Error:
[translation:ERROR]  Traceback (most recent call last):
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/translator/goal/translate.py", line 317, in main
[translation:ERROR]     drv.proceed(goals)
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/translator/driver.py", line 733, in proceed
[translation:ERROR]     return self._execute(goals, task_skip = self._maybe_skip
())
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/translator/tool/taskengine.py", line 114, in _execute
[translation:ERROR]     res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/translator/driver.py", line 284, in _do
[translation:ERROR]     res = func()
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/translator/driver.py", line 351, in task_rtype_lltype
[translation:ERROR]     rtyper.specialize(dont_simplify_again=True)
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 207, in specialize
[translation:ERROR]     self.specialize_more_blocks()
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 250, in specialize_more_blocks
[translation:ERROR]     self.specialize_block(block)
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 404, in specialize_block
[translation:ERROR]     self.gottypererror(e, block, hop.spaceop, newops)
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 402, in specialize_block
[translation:ERROR]     self.translate_hl_to_ll(hop, varmapping)
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 531, in translate_hl_to_ll
[translation:ERROR]     resultvar = hop.dispatch()
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/rtyper/rtyper.py", line 759, in dispatch
[translation:ERROR]     return translate_meth(self)
[translation:ERROR]    File "<58720-codegen /home/gsnedders/Downloads/AUR/pypy/
src/pypy-pypy-4b60269153b5/rpython/rtyper/rtyper.py:601>", line 4, in 
translate_op_getattr
[translation:ERROR]     return r_arg1.rtype_getattr(hop)
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/rtyper/rpbc.py", line 391, in rtype_getattr
[translation:ERROR]     return hop.inputconst(hop.r_result, hop.s_result.const)
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/rtyper/rmodel.py", line 393, in inputconst
[translation:ERROR]     value = reqtype.convert_const(value)
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/rtyper/lltypesystem/rdict.py", line 245, in 
convert_const
[translation:ERROR]     llkey = r_key.convert_const(dictkey)
[translation:ERROR]    File "/home/gsnedders/Downloads/AUR/pypy/src/pypy-
pypy-4b60269153b5/rpython/rtyper/lltypesystem/rstr.py", line 100, in 
convert_const
[translation:ERROR]     raise TyperError("not a str: %r" % (value,))
[translation:ERROR]  TyperError: not a str: u'KEY_END'
[translation:ERROR] .. (pypy.interpreter.baseobjspace:710)new_interned_w_str
[translation:ERROR] .. block at 3 with 2 exits(last_exception)
[translation:ERROR] .. v2753 = getattr(self_104, ('interned_strings'))

So that doesn't appear to work either…

----------
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1450>
________________________________________


More information about the pypy-issue mailing list