This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arfrever
Recipients Arfrever
Date 2009-08-13.20:07:30
SpamBayes Score 1.3468557e-05
Marked as misclassified No
Message-id <1250194052.29.0.344352855764.issue6697@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.1 segfaults when invalid UTF-8 characters are passed from
command line.

In BASH shell you can run:
$ python3.1 -c $'print("\x80")'
Segmentation fault

In other POSIX-compatible shells you can save the attached test.py
files in current directory and run:
$ python3.1 -c "$(<test.py)"
Segmentation fault
History
Date User Action Args
2009-08-13 20:07:32Arfreversetrecipients: + Arfrever
2009-08-13 20:07:32Arfreversetmessageid: <1250194052.29.0.344352855764.issue6697@psf.upfronthosting.co.za>
2009-08-13 20:07:31Arfreverlinkissue6697 messages
2009-08-13 20:07:30Arfrevercreate