jitviewer crashes with AssertionError: nesting error: starts with 'jit-backend-dump' but stops with 'jit-log-opt-loop'
Created originally on Bitbucket by eskuat (Kuat Eshengazin)
Repro steps
- Get a jitviewer environment
- Ungzip attached log.pypylog (~ 30MB disk space required)
- run 'jitviewer path/to/ungzipped/log.pypylog'
jitviewer crashes with message like this:
(ve) ~/dh/ve $ jitviewer.py ../log.pypylog 90% ................................................................. Traceback (most recent call last): File "app_main.py", line 51, in run_toplevel File "/home/jail/dh/ve/bin/jitviewer.py", line 4, in main(sys.argv) File "/home/jail/dh/ve/_jitviewer/app.py", line 216, in main log, loops = import_log(filename, ParserWithHtmlRepr) File "/home/jail/dh/ve/pypy/pypy/tool/jitlogparser/parser.py", line 359, in import_log log = parse_log_file(logname) File "/home/jail/dh/ve/pypy/pypy/tool/logparser.py", line 26, in parse_log_file return parse_log(lines, verbose=verbose) File "/home/jail/dh/ve/pypy/pypy/tool/logparser.py", line 74, in parse_log record(match.group(2), time=int(match.group(1), 16)) File "/home/jail/dh/ve/pypy/pypy/rlib/debug.py", line 63, in debug_stop (self[i][1], category)) AssertionError: nesting error: starts with 'jit-backend-dump' but stops with 'jit-log-opt-loop'
(ve) ~/dh $ pypy -V Python 2.7.2 (341e1e3821ff, Jun 07 2012, 15:38:48) [PyPy 1.9.0 with GCC 4.4.3]