AeroEng43 / shedskin

Automatically exported from code.google.com/p/shedskin
0 stars 0 forks source link

SS segfault on non-existence index in list #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
By the way after GHOP...

When i try to access to non-existence index in list:

Python return:  IndexError: list index out of range
SS return: make: *** [run] Segmentation fault

Test program is attached.

Original issue reported on code.google.com by pavel.vi...@gtempaccount.com on 17 Feb 2008 at 6:32

Attachments:

GoogleCodeExporter commented 8 years ago
hi pavel,

thanks for the reports! this one is not a real bug though, but more of a 
feature.. :)
because index errors are typically really bad, shedskin assumes you have tested 
the
program already with CPython, and does not check for them. you can turn on 
bounds
checking with the -b option, so e.g. 'shedskin -b squarespiral_segfault'.

Original comment by mark.duf...@gmail.com on 17 Feb 2008 at 9:51

GoogleCodeExporter commented 8 years ago

Original comment by mark.duf...@gmail.com on 17 Feb 2008 at 9:51