jitviewer issueshttps://foss.heptapod.net/pypy/jitviewer/-/issues2020-02-13T22:21:34Zhttps://foss.heptapod.net/pypy/jitviewer/-/issues/1jitviewer crashes with AssertionError: nesting error: starts with 'jit-backen...2020-02-13T22:21:34ZBitbucket Importerjitviewer 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)](https://bitbucket.org/%7Bb388b8ff-c230-4bb3-a9bd-1387f1c624d5%7D/)*
Repro steps
1. Get a jitviewer environment
2. Ungzip attached log.pypylog (~ 30MB disk space required...*Created originally on Bitbucket by [eskuat (Kuat Eshengazin)](https://bitbucket.org/%7Bb388b8ff-c230-4bb3-a9bd-1387f1c624d5%7D/)*
Repro steps
1. Get a jitviewer environment
2. Ungzip attached log.pypylog (~ 30MB disk space required)
3. 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 <module>
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]