[pypy-issue] [issue1349] input+thread+readline = signal crash

Irmen de Jong tracker at bugs.pypy.org
Mon Dec 17 22:47:19 CET 2012


Irmen de Jong <irmen at razorvine.net> added the comment:

Ok, I've managed to produce a minimal test program that reproduces the error:


import threading, time
import readline   # without readline, no problems

class AsyncInput(threading.Thread):
    def run(self):
        raw_input("(from thread) Type something else: ")

# this input statement triggers the signal bug in pypy at the input in the thread
# removing it makes the problem go away...
raw_input("(from main) Type something: ")

async = AsyncInput()
async.daemon = True
async.start()
time.sleep(100)

----------
release: 1.9 -> 2.0

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


More information about the pypy-issue mailing list