Re: [Pyobjc-dev] Pycotine issues on pyobjc 0.9
Brought to you by:
ronaldoussoren
From: Just v. R. <ju...@le...> - 2003-05-14 12:26:37
|
Dinu Gherman wrote: > Hi, > > after finding that the existing pyobjc testsuite could be slightly > improved (by deleting code) I've run some tests with Pycotine, my > Unittest-GUI which sort of worked as expected on pyobjc 0.8. > > Unfortunately, it does mysteriously crash on 0.9 after finishing the > tests. I just reinstalled 0.8 and there it does work, again. On 0.9 > I get this error "Pycotine has exited due to signal 11 (SIGSEGV)." > > All I had to change from 0.8 to 0.9 is to make use of PyObjCTools > like this (before NibClassBuilder was in AppKit): > > from PyObjCTools.NibClassBuilder import AutoBaseClass > from PyObjCTools import NibClassBuilder > > Any ideas? 0.9 mostly handles release/retain automatically so I would look for retains in your code. Ok, I had a look, and indeed: try to remove task.release(). It probably causes a crash when the task variable goes out of scope, when it is released _again_... Just |