[pypy-issue] [issue1453] segfault with simple script on 2.0b2+

Brian Kearns tracker at bugs.pypy.org
Mon Apr 15 01:58:24 CEST 2013


Brian Kearns <bdkearns at gmail.com> added the comment:

or, alternatively, if you prefer (happens to give nonsense rather than a 
segfault):

import os
import thread
import time

def f():
    while 1:
        os.getlogin()

thread.start_new_thread(f, ())
thread.start_new_thread(f, ())

while 1:
    time.sleep(1)

----------
status: unread -> chatting

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


More information about the pypy-issue mailing list