openphoto/mobile-ios — Issue #73: Crash via TestFlight: CALayer
Author: patricksan
Created: 2011-11-23 22:48:38+00:00
State: open

```

Exception reason CALayer position contains NaN: [nan 230]

Stacktrace (8)
0 OpenPhoto 0x000a7105 +[TFCrashHandler backtrace] + 429
1 OpenPhoto 0x000a7343 TFHandleExceptions + 35
2 CoreFoundation 0x36c7b7d3 __handleUncaughtException + 238
3 libobjc.A.dylib 0x33ed606b _objc_terminate + 102
4 libstdc++.6.dylib 0x33a14e3d _ZN10__cxxabiv111__terminateEPFvvE + 52
5 libstdc++.6.dylib 0x33a14e91 _ZSt9terminatev + 16
6 libstdc++.6.dylib 0x33a14f61 __cxa_throw + 84
7 libobjc.A.dylib 0x33ed4c8b objc_exception_throw + 70
8 CoreFoundation 0x36c7b491 +[NSException raise:format:arguments:] + 68
9 CoreFoundation 0x36c7b4cb +[NSException raise:format:] + 34
10 QuartzCore 0x310a761d _ZL18CALayerSetPositionP7CALayerRKN2CA4Vec2IdEEb + 140
11 QuartzCore 0x310a758b -[CALayer setPosition:] + 38
12 QuartzCore 0x310a74d7 -[CALayer setFrame:] + 390
13 UIKit 0x35a66455 -[UIView(Geometry) setFrame:] + 188
14 OpenPhoto 0x00063091 -[TTScrollView layoutAdjacentPages] (TTScrollView.m:629)
15 OpenPhoto 0x000662ff -[TTScrollView layoutSubviews] (TTScrollView.m:1606)
16 UIKit 0x35a665fb -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 26
17 CoreFoundation 0x36be8f03 -[NSObject(NSObject) performSelector:withObject:] + 22
18 QuartzCore 0x310a8bb5 -[CALayer layoutSublayers] + 120
19 QuartzCore 0x310a896d CALayerLayoutIfNeeded + 184
20 QuartzCore 0x310ae1c5 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 212
21 QuartzCore 0x310adfd7 _ZN2CA11Transaction6commitEv + 190
22 QuartzCore 0x310a7055 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 56
23 CoreFoundation 0x36c52a35 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16
24 CoreFoundation 0x36c54465 __CFRunLoopDoObservers + 412
25 CoreFoundation 0x36c5575b __CFRunLoopRun + 854
26 CoreFoundation 0x36be5ec3 CFRunLoopRunSpecific + 230
27 CoreFoundation 0x36be5dcb CFRunLoopRunInMode + 58
28 GraphicsServices 0x3639f41f GSEventRunModal + 114
29 GraphicsServices 0x3639f4cb GSEventRun + 62
30 UIKit 0x35a8fd69 -[UIApplication _run] + 404
31 UIKit 0x35a8d807 UIApplicationMain + 670
32 OpenPhoto 0x00002bef main (main.m:14)
33 OpenPhoto 0x00002ba8 start + 40

Session Events 2011-11-9 07:59:58 VIEW SESSION LOG

00:00:00Start
00:00:00Passed checkpoint: Started OAuth Procedure view checkpoint
00:00:03Passed checkpoint: Home pictures view checkpoint
00:00:03Passed checkpoint: OAuthentication finished view checkpoint
00:00:18Passed checkpoint: Gallery Loaded view checkpoint
00:00:19Passed checkpoint: Home pictures view checkpoint
00:00:27Passed checkpoint: Gallery Loaded view checkpoint
00:00:29Crashed (Exception) view crash00:00:29End

```