[ python-Bugs-1189248 ] Seg Fault when compiling small program

SourceForge.net noreply at sourceforge.net
Mon Apr 25 09:56:17 CEST 2005


Bugs item #1189248, was opened at 2005-04-25 06:00
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1189248&group_id=5470

Category: Python Interpreter Core
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Reginald B. Charney (rcharney)
Assigned to: Nobody/Anonymous (nobody)
Summary: Seg Fault when compiling small program

Initial Comment:
I am using SuSE 9.2. When trying to compile/interpret
the attached file, the python interpreter seg faults
with no other information.

Please note: the attached test file does not end in a
new line.

----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2005-04-25 08:56

Message:
Logged In: YES 
user_id=6656

I think this is fixed in Python 2.4.1... what version are you using?

----------------------------------------------------------------------

Comment By: Reginald B. Charney (rcharney)
Date: 2005-04-25 07:42

Message:
Logged In: YES 
user_id=411372

It turns out that the seg fault was caused by the first line
of the program:

# coding: evil

It seems that specifying an invalid character encoding
causes a seg fault.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1189248&group_id=5470


More information about the Python-bugs-list mailing list