If you try rotating the device while you have a touch on the screen, the application will terminate with EXC_BAD_ACCESS. Tested on a iPod Touch 4G (Retina).
Log:
2010-10-19 17:24:48.703 MyApp[2679:307] new window angle: 0.000000 (old 0.000000)
2010-10-19 17:24:48.711 MyApp[2679:307] new window size: 480, 320
2010-10-19 17:24:48.715 MyApp[2679:307] new EAGLView (0.000000,0.000000 320.000000x480.000000)
2010-10-19 17:24:48.717 MyApp[2679:307] Scale: 1.000000
2010-10-19 17:24:48.748 MyApp[2679:307] Resize frame buffer: 640 x 960
nglWindow::SetSize(480, 320)
Program received signal: “EXC_BAD_ACCESS”.
Backtrace:
(gdb) bt
#0 0x303ae7d8 in objc_msgSend ()
#1 0x34990984 in CFRelease ()
#2 0x3498fe9a in _CFAutoreleasePoolPop ()
#3 0x3107e3c0 in NSPopAutoreleasePool ()
#4 0x33811a68 in CAPopAutoreleasePool ()
#5 0x338767c0 in CA::Display::DisplayLink::dispatch ()
#6 0x33876826 in CA::Display::IOMFBDisplayLink::callback ()
#7 0x3392fbfa in IOMobileFramebufferVsyncNotifyFunc ()
#8 0x30c60046 in ?? ()
#9 0x349c3312 in __CFMachPortPerform ()
#10 0x349bace2 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#11 0x349baca6 in __CFRunLoopDoSource1 ()
#12 0x349ad56c in __CFRunLoopRun ()
#13 0x349ad276 in CFRunLoopRunSpecific ()
#14 0x349ad17e in CFRunLoopRunInMode ()
#15 0x311dc5f2 in GSEventRunModal ()
#16 0x311dc69e in GSEventRun ()
#17 0x315b0122 in -[UIApplication _run] ()
#18 0x315ae12e in UIApplicationMain ()
#19 0x00880ed0 in nglApplication::Main (this=0x1d3d700, argc=1, argv=0x2ffff56c) at /Users/b0nk/code/myapp/nui3/src/Application/UIKit/nglApplication_UIKit.mm:211
#20 0x001bb9cc in main (argc=1, argv=0x2ffff56c) at /Users/b0nk/code/myapp/proj/../src/ui/MyApp.cpp:28
Hello,
If you try rotating the device while you have a touch on the screen, the application will terminate with EXC_BAD_ACCESS. Tested on a iPod Touch 4G (Retina).
Log:
Backtrace: