[ python-Bugs-1400115 ] segfault in curses.panel with userptr()

SourceForge.net noreply at sourceforge.net
Mon Jan 9 07:29:32 CET 2006


Bugs item #1400115, was opened at 2006-01-08 21:37
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1400115&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: Python Library
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Tom Quetchenbach (virtualphtn)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: segfault in curses.panel with userptr()

Initial Comment:
If a curses.panel object is created with
curses.panel.new_panel() and then its userptr() method
is called before set_userptr(), the Python interpreter
segfaults. Raising an exception or returning None would
probably be better.

Tested with Python 2.4.2 on Linux 2.6.14 (Debian, Intel
Celeron). (Also crashes Python 2.3.5 on the same machine.)

Simple testcase is attached.

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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-01-08 22:29

Message:
Logged In: YES 
user_id=33168

Thanks for the report!

Committed revision 41982.
Committed revision 41983. (2.4)


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

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


More information about the Python-bugs-list mailing list