From: Joshua M. <xm...@me...> - 2010-03-25 19:12:38
|
If the last retain is failing it indicates that there is an issue related to the releasing /retaining/nulling of size_org_xmlvm_iphone_CGSize. I have run Xokoban, Afireworks, and another CCed program and not encountered any problems. It is possible that you have found a case which we do not handle correctly that doesn't show up in those programs. Later tonight I can attempt to reproduce this error using one of our demo apps -- Could you confirm that the Xokoban and Afireworks demo apps are working for you? Thanks, -- Joshua Melcon 2010/3/25 Panayotis Katsaloulis <pan...@pa...> > > On 25 Μαρ 2010, at 8:02 μ.μ., Joshua Melcon wrote: > > > _r2.o = [((org_xmlvm_iphone_UIView*) _r0.o) getFrame__]; // R2 comes > back ref count += 1 because its a get function > > _rtmp.o = _r2.o; // We are overwriting R2 on the next line, so we > need to free our +1 afterwords > > _r2.o = ((org_xmlvm_iphone_CGRect*) _r2.o)->size_org_xmlvm_iphone_ > > CGSize; // R2 has a new value, the old r2 (in tmp) is not needed > > [_rtmp.o release]; _rtmp.o = [NSNull null]; // release the += from the > first line > > [_r2.o retain]; // retaining the value from _r2, presumably because we > will be returning soon (can't tell without the rest of the code). > > > > But, based on this code sequence, everything looks correct? How does > _r2.o retain break things? > > > It says that it tries to retain am already fee'd object. > > Try it for yourself and see ;) > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |