[pypy-issue] [issue803] Crash when with os.popen pipe

Chris Lambacher tracker at bugs.pypy.org
Thu Jul 21 16:33:51 CEST 2011


New submission from Chris Lambacher <chris at kateandchris.net>:

Version: 45778:fba910e841e1 from trunk.

C:\work\cioc\pybuild\pyodbc>c:\work\pypy\pypy\pypy\translator\goal\pypy-c.exe
Python 2.7.1 (3f7ee4a5a25a, Jul 21 2011, 01:18:16)
[PyPy 1.6.0-dev1 with MSC v.1500 32 bit] on win32
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``topics are for the feeble
minded''
>>>> import os, platform
>>>> def getoutput(cmd):
....     pipe = os.popen(cmd, 'r')
....     text   = pipe.read().rstrip('\n')
....     status = pipe.close() or 0
....     return status, text
....
>>>> getoutput('git describe --tags --match 2.*')
missing liveness[116] in W_TypeObject.lookup_where_with_method_cache
RPython traceback:
  File "jit_metainterp_pyjitpl_1.c", line 18460, in MIFrame_capture_resumedata
  File "jit_metainterp_resume.c", line 3187, in capture_resumedata
  File "jit_metainterp_resume.c", line 3634, in _ensure_parent_resumedata
  File "jit_metainterp_pyjitpl_1.c", line 61156, in 
MIFrame_get_list_of_active_boxes
  File "jit_codewriter_jitcode.c", line 308, in JitCode__missing_liveness
Fatal RPython error: AssertionError

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

----------
messages: 2838
nosy: lambacck, pypy-issue
priority: bug
status: unread
title: Crash when with os.popen pipe

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


More information about the pypy-issue mailing list