[ python-Bugs-1512695 ] cPickle.loads() seg.faults when interrupted with keyboard

SourceForge.net noreply at sourceforge.net
Mon Jun 26 16:08:45 CEST 2006


Bugs item #1512695, was opened at 2006-06-26 16:05
Message generated for change (Comment added) made by faik
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1512695&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Faik Uygur (faik)
Assigned to: Nobody/Anonymous (nobody)
Summary: cPickle.loads() seg.faults when interrupted with keyboard

Initial Comment:
cPickle.loads() gives segmentation fault when 
interrupted with keyboard (CTRL+C). Attached python 
script tested with python version 2.4.3 and 2.5b1.


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

>Comment By: Faik Uygur (faik)
Date: 2006-06-26 17:08

Message:
Logged In: YES 
user_id=1541018

I tracked the seg. fault. It seg. faults in method 
PyTuple_Pack(). When python receives the keyboard 
interrupt:
                o = va_arg(vargs, PyObject *);
                Py_INCREF(o);

va_arg returns NULL, and Py_INCREF causes the seg.fault.


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

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


More information about the Python-bugs-list mailing list