Hi
I am getting a similar OPenGL warning followed by error. I am using Sparrow1.1.
This started happening in the following use case
1. UIViewController1 adds UIViewController2 to UINavigationController stack.
2. UIViewController2 adds a SPView and SPStage and plays a game all in sparrow.
3. When game is done, UIViewController1 pops UIViewController2 from the nav stack and releases its own reference to it.
4. UIViewController1 now initializes a new instance of UIViewController2 and adds to nav stack.
5. When UIViewController2 creates the stage object, the error occurs.
Attaching the debug trace to the end of this post. Any ideas why this is happening? and how to avert it?
2011-04-28 16:20:55.813 ThinkOcean[24614:207] failed to create framebuffer: 8cd6
2011-04-28 16:20:55.824 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:55.827 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:55.855 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:55.879 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:55.914 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:55.947 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:55.974 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:56.013 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:56.041 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:56.080 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:56.113 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:56.146 ThinkOcean[24614:207] Warning: There was an OpenGL error: #1282
2011-04-28 16:20:56.178 ThinkOcean[24614:207] -[SPImage view]: unrecognized selector sent to instance 0x92340c0
2011-04-28 16:20:56.184 ThinkOcean[24614:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SPImage view]: unrecognized selector sent to instance 0x92340c0'
*** Call stack at first throw:
(
0 CoreFoundation 0x013445a9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x01498313 objc_exception_throw + 44
2 CoreFoundation 0x013460bb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187
3 CoreFoundation 0x012b5966 ___forwarding___ + 966
4 CoreFoundation 0x012b5522 _CF_forwarding_prep_0 + 50
5 UIKit 0x0064f8cd -[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 190
6 UIKit 0x007e0a27 -[UINavigationTransitionView _notifyDelegateTransitionDidStopWithContext:] + 345
7 UIKit 0x007e1bd6 -[UINavigationTransitionView _cleanupTransition] + 712
8 UIKit 0x005c6fb9 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 294
9 UIKit 0x005c6e4b -[UIViewAnimationState animationDidStop:finished:] + 77
10 QuartzCore 0x004d699b _ZL23run_animation_callbacksdPv + 278
11 QuartzCore 0x0047b651 _ZN2CAL14timer_callbackEP16__CFRunLoopTimerPv + 157
12 CoreFoundation 0x013258c3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 19
13 CoreFoundation 0x01326e74 __CFRunLoopDoTimer + 1220
14 CoreFoundation 0x012832c9 __CFRunLoopRun + 1817
15 CoreFoundation 0x01282840 CFRunLoopRunSpecific + 208
16 CoreFoundation 0x01282761 CFRunLoopRunInMode + 97
17 GraphicsServices 0x02d951c4 GSEventRunModal + 217
18 GraphicsServices 0x02d95289 GSEventRun + 115
19 UIKit 0x005a4c93 UIApplicationMain + 1160
20 ThinkOcean 0x00002cc9 main + 121
21 ThinkOcean 0x00002c45 start + 53
)
terminate called after throwing an instance of 'NSException'
[Switching to process 24614 thread 0x207]
(gdb)