
Crashing Python with random code and the output that follows
By: a guest on
May 13th, 2012 | syntax:
Python | size: 0.68 KB | hits: 37 | expires: Never
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os, marshal
>>> while True:
... try:
... marshal.loads(os.urandom(16))
... except:
... pass
...
Ellipsis
{}
False
Ellipsis
-1.1896525648145996e-284
False
<type 'exceptions.StopIteration'>
-318092258
<type 'exceptions.StopIteration'>
Ellipsis
7983894170456109192L
Ellipsis
<type 'exceptions.StopIteration'>
-2057347160
False
True
True
-253349990
False
True
Ellipsis
<type 'exceptions.StopIteration'>
<type 'exceptions.StopIteration'>
-7474105330729708238L
-8953501658422433946L