Re: [Pyobjc-dev] Segmentation fault with CGImageCreateWithImageInRect
Brought to you by:
ronaldoussoren
From: Orestis M. <or...@or...> - 2009-12-01 21:01:28
|
On 1 Dec 2009, at 13:30, Ronald Oussoren wrote: > > On 1 Dec, 2009, at 10:05, Orestis Markou wrote: > >> >> On 1 Dec 2009, at 10:53, Ronald Oussoren wrote: >> >>>> >>>> Some background: We are trying to get our applications compatible with PyObjC 2.2 and Python 2.6, in preparation of our upgrade to SL on the target machines. While the applications themselves mostly run fine, the tests are having weird troubles like this, which makes the transition a non-starter. Is there anything we can do to help you help us? >>> >>> I'll spent some time in the debugger. This should work, but obviously doesn't. >> >> Thanks. Is there anything I can do to help? > > I've tried to reproduce the bug, but failed so far. I've pasted your code in a script, running that works just fine on my machine and that makes debugging rather hard ;-) > > Can you create a script that reproduces the problem for you? > > BTW. I'm using pyobjc 2.2 + python 2.6.4 (python.org installer) on SL (10.6.2) Attaching a zip that contains the script plus a small .png file. A couple of data points: PyObjC 2.2 + Python 2.6.1 (system) on SL (10.6.2), inside a virtualenv: Segfault PyObjC 2.2b3 (system) + Python 2.6.1 (system) on SL (10.6.2), no virtualenv: Works fine. I can try installing Python 2.6.4 from python.org to see if that makes any difference. I can safely remove it after that, right? |