[Pyobjc-dev] [ pyobjc-Bugs-738252 ] Crash on override of NSCell.drawInteriorWithFrame_inView_
Brought to you by:
ronaldoussoren
From: SourceForge.net <no...@so...> - 2003-05-15 14:25:02
|
Bugs item #738252, was opened at 2003-05-15 08:25 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=738252&group_id=14534 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mitch Chapman (mitchchapman) Assigned to: Nobody/Anonymous (nobody) Summary: Crash on override of NSCell.drawInteriorWithFrame_inView_ Initial Comment: Using Python 2.3b1 with PyObjC 0.9, if I define a subclass of NSCell, override drawInteriorWithFrame_inView_, and assign an instance of that cell as the dataCell (via setDataCell_) of an NSTableColumn, a SEGV occurs on the next attempt to render a data cell in that column. The attached, gzipped tarball contains a Cocoa-Python application which demonstrates the problem. If you comment out the definition of drawInteriorWithFrame_inView_ in the CrashCell class in MyAppDelegate.py, build and run, and click the Crash button, the app should run successfully. If you uncomment the definition, the app should crash when you click the Crash button. (Note: bin-python-main.m has been modified to use /usr/local/bin/python rather than /usr/bin/python.) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=738252&group_id=14534 |