Open GoogleCodeExporter opened 8 years ago
I have tracked this down to the SQLitePersistentObject method:
+ (BOOL)resolveClassMethod:(SEL)theMethod
It seems to call itself when it calls this line:
if(class_getClassMethod([self class], newMethodSelector) != NULL) {
Although I cannot see any change in this method between the 2 versions
directly, so I
guess its a problem in an unrelated bit of code... will have to look into this
deeper
Original comment by kimptoc
on 21 Dec 2008 at 10:46
Attached is a tweak to the console test demonstrating the problem, using this
method
call:
posts = [Post findByTitle:@"Test post 1"];
Original comment by kimptoc
on 23 Dec 2008 at 8:03
Attachments:
Further to my comment above, it seems the resolveClassMethod call to [self
class]
results in a call to resolveClassMethod, and thus the infinite loop... this was
added in revision 30. It seems to relate to the cocotron changes, but its in
deeper
than my objective-c understands...
Original comment by kimptoc
on 9 Jan 2009 at 9:52
Original issue reported on code.google.com by
kimptoc
on 19 Dec 2008 at 1:16