shshankjain / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

wembinspector: long files may cause a 'maximum recursion depth exceeded' RunTimeError #226

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With default sys.setrecursionlimit (Python 2.6.5) attempting to dump a ~20 
minute 24fps file results in:

  ...
  File "webm.py", line 547, in SearchLevelOneElements
    element_id, pos = ProcessIdSize(file_, start_pos, size)
  File "webm.py", line 113, in ProcessIdSize
    id_size, pos = ReadClassId(file_, pos, size, '>%dB' % size)
  File "webm.py", line 108, in ReadClassId
    classid = eval(length)
RuntimeError: maximum recursion depth exceeded

Increasing the recursionlimit works around the problem for this particular 
file, but very long files I assume might result in quite large stack usage.

Original issue reported on code.google.com by jz...@google.com on 11 Nov 2010 at 1:58

GoogleCodeExporter commented 9 years ago
0.9.4 already pushed and it handled it gracefully.

Original comment by hwasoo...@google.com on 12 Nov 2010 at 2:08

GoogleCodeExporter commented 9 years ago
Pushed where? There's an old download of 0.9.2 on the download page [1] that 
should be replaced/removed.

[1]: http://code.google.com/p/webm/downloads/list

Original comment by jz...@google.com on 12 Nov 2010 at 6:40

GoogleCodeExporter commented 9 years ago
git clone git://review.webmproject.org/webminspector.git

Original comment by hwasoo...@google.com on 12 Nov 2010 at 6:45