[pypy-issue] [issue1405] InteriotPtrRepr misses convert_from_to

Fijal tracker at bugs.pypy.org
Wed Feb 20 15:41:19 CET 2013


New submission from Fijal <fijall at gmail.com>:

Every now and then translation crashes with:

[translation:ERROR] Error:
[translation:ERROR]  Traceback (most recent call last):
[translation:ERROR]    File 
"/home/fijal/pypy/rpython/translator/goal/translate.py", line 317, in main
[translation:ERROR]     drv.proceed(goals)
[translation:ERROR]    File "/home/fijal/pypy/rpython/translator/driver.py", 
line 733, in proceed
[translation:ERROR]     return self._execute(goals, task_skip = 
self._maybe_skip())
[translation:ERROR]    File 
"/home/fijal/pypy/rpython/translator/tool/taskengine.py", line 116, in _execute
[translation:ERROR]     res = self._do(goal, taskcallable, *args, **kwds)
[translation:ERROR]    File "/home/fijal/pypy/rpython/translator/driver.py", 
line 284, in _do
[translation:ERROR]     res = func()
[translation:ERROR]    File "/home/fijal/pypy/rpython/translator/driver.py", 
line 351, in task_rtype_lltype
[translation:ERROR]     rtyper.specialize(dont_simplify_again=True)
[translation:ERROR]    File "/home/fijal/pypy/rpython/rtyper/rtyper.py", line 
210, in specialize
[translation:ERROR]     self.specialize_more_blocks()
[translation:ERROR]    File "/home/fijal/pypy/rpython/rtyper/rtyper.py", line 
253, in specialize_more_blocks
[translation:ERROR]     self.specialize_block(block)
[translation:ERROR]    File "/home/fijal/pypy/rpython/rtyper/rtyper.py", line 
441, in specialize_block
[translation:ERROR]     self.insert_link_conversions(block)
[translation:ERROR]    File "/home/fijal/pypy/rpython/rtyper/rtyper.py", line 
500, in insert_link_conversions
[translation:ERROR]     self.gottypererror(e, block, link, newops)
[translation:ERROR]    File "/home/fijal/pypy/rpython/rtyper/rtyper.py", line 
498, in insert_link_conversions
[translation:ERROR]     new_a1 = newops.convertvar(a1, r_a1, r_a2)
[translation:ERROR]    File "/home/fijal/pypy/rpython/rtyper/rtyper.py", line 
927, in convertvar
[translation:ERROR]     (r_from, r_to))
[translation:ERROR]  TyperError: don't know how to convert from <InteriorPtrRepr 
* GcStruct Interior { ptr, index }> to <InteriorPtrRepr * GcStruct Interior { 
ptr, index }>
[translation:ERROR] .. 
(rpython.rtyper.lltypesystem.rdict:462)_ll_dict_setitem_lookup_done__v3703___sim
ple_call__function_
[translation:ERROR] .. block at -1 with 1 exits
[translation:ERROR] .. link from block at -1 to block at 199
[translation] start debugger...

we should fix it one day

----------
messages: 5367
nosy: fijal, pypy-issue
priority: bug
release: 2.0
status: unread
title: InteriotPtrRepr misses convert_from_to

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


More information about the pypy-issue mailing list