Author pitrou
Recipients amaury.forgeotdarc, giampaolo.rodola, gpolo, pitrou
Date 2008-07-05.18:39:18
SpamBayes Score 0.000112644
Marked as misclassified No
Message-id <1215283159.58.0.225552053347.issue3139@psf.upfronthosting.co.za>
In-reply-to
Content
By the way, here's a more reliable way to make it crash (on my Linux
machine):


import bz2, threading

bz2c = bz2.BZ2Compressor()
# Span at least a whole arena (256KB long)
junk_len = 512 * 1024
junk = b"a" * junk_len
buf = bytearray()

for x in range(50):
    buf[:] = junk
    t = threading.Thread(target=bz2c.compress, args=[buf])
    t.start()
    buf[:] = b""
    t.join()
History
Date User Action Args
2008-07-05 18:39:19pitrousetspambayes_score: 0.000112644 -> 0.000112644
recipients: + pitrou, amaury.forgeotdarc, giampaolo.rodola, gpolo
2008-07-05 18:39:19pitrousetspambayes_score: 0.000112644 -> 0.000112644
messageid: <1215283159.58.0.225552053347.issue3139@psf.upfronthosting.co.za>
2008-07-05 18:39:18pitroulinkissue3139 messages
2008-07-05 18:39:18pitroucreate