[pypy-issue] [issue1089] logparser.py crashes with nesting error

Andrew McNabb tracker at bugs.pypy.org
Thu Mar 15 06:29:00 CET 2012


New submission from Andrew McNabb <amcnabb at mcnabbs.org>:

I encountered the following error after running pypy 1.8 with PYPYLOG=pypylog55:

../pypy/pypy/tool/logparser.py print-summary pypylog55 -
93% ...................................................................       
Traceback (most recent call last):
  File "../pypy/pypy/tool/logparser.py", line 437, in <module>
    log = parse_log_file(args[0])
  File "../pypy/pypy/tool/logparser.py", line 26, in parse_log_file
    return parse_log(lines, verbose=verbose)
  File "../pypy/pypy/tool/logparser.py", line 74, in parse_log
    record(match.group(2), time=int(match.group(1), 16))
  File "/aml/home/amcnabb/c/pypy/pypy/rlib/debug.py", line 42, in debug_stop
    (self[i][1], category))
AssertionError: nesting error: starts with 'gc-minor' but stops with 'gc-set-
nursery-size'

I'm trying to think of anything unusual about my situation. The program shut down 
cleanly, so that rules out pypy crashing mid-write. The only slightly unusual 
situation I can think of is that the program creates a second process with 
multiprocessing.Process. One of the processes has two or three threads, including 
a daemon thread.

----------
files: pypylog55
messages: 4099
nosy: amcnabb, pypy-issue
priority: bug
status: unread
title: logparser.py crashes with nesting error

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


More information about the pypy-issue mailing list