Application crash on iphone work on simulator
Hi my application is working fine when i test it on simulator but when i test it on my iphone its working until i click the middle tab bar with tableView ( i have 3 tabs) i click the middle my app crash . Ok i found that the problem is in my custom table when i test it with standard table view my app work fine ,i have the same custom table in my another tab and it work well. Any help
Here is the crash log from my iphone
Nov 23 15:29:39 unknown Smetachka[31290] <Error>: *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 17.5]'
*** Call stack at first throw:
(
0 CoreFoundation 0x30c8164f __exceptionPreprocess + 114
1 libobjc.A.dylib 0x3479cc5d objc_exception_throw + 24
2 CoreFoundation 0x30c81491 +[NSException raise:format:arguments:] + 68
3 CoreFoundation 0x30c814cb +[NSException raise:format:] + 34
4 QuartzCore 0x346a161d _ZL18CALayerSetPositionP7CALayerRKN2CA4Vec2IdEEb + 140
5 QuartzCore 0x346a158b -[CALayer setPosition:] + 38
6 QuartzCore 0x346a14d7 -[CALayer setFrame:] + 390
7 UIKit 0x30ce8455 -[UIView(Geometry) setFrame:] + 188
8 UIKit 0x30ce90fb -[UILabel setFrame:] + 210
9 UIKit 0x30d08743 UIViewCommonInitWithFrame + 594
10 UIKit 0x30d084a1 -[UIView initWithFrame:] + 84
11 UIKit 0x30d2060f -[UILabel initWithFrame:] + 54
12 Smetachka 0x000152a9 -[ShowViewController tableView:cellForRowAtIndexPath:] + 1076
13 UIKit 0x30d449ed -[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:withIndexPath:] + 516
14 UIKit 0x30d4476b -[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:] + 34
15 UIKit 0x30d3d0cd -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 936
16 UIKit 0x30d3c27d -[UITableView layoutSubviews] + 140
17 UIKit 0x30ce85fb -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 26
18 CoreFoundation 0x30beef03 -[NSObject(NSObject) performSelector:withObject:] + 22
19 QuartzCore 0x346a2bb5 -[CALayer layoutSublayers] + 120
20 QuartzCore 0x346a296d CALayerLayoutIfNeeded + 184
21 QuartzCore 0x346a81c5 _ZN2CA7Context18commit_transactionEPNS_11Transacti onE + 212
22 QuartzCore 0x346a7fd7 _ZN2CA11Transaction6commitEv + 190
23 QuartzCore 0x346a1055 _ZN2CA11Transaction17observer_callbackEP19__CFRunL oopObservermPv + 56
24 CoreFoundation 0x30c58a35 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK _FUNCTION__ + 16
25 CoreFoundation 0x30c5a465 __CFRunLoopDoObservers + 412
26 CoreFoundation 0x30c5b75b __CFRunLoopRun + 854
27 CoreFoundation 0x30bebec3 CFRunLoopRunSpecific + 230
28 CoreFoundation 0x30bebdcb CFRunLoopRunInMode + 58
29 GraphicsServices 0x3056a41f GSEventRunModal + 114
30 GraphicsServices 0x3056a4cb GSEventRun + 62
31 UIKit 0x30d11d69 -[UIApplication _run] + 404
32 UIKit 0x30d0f807 UIApplicationMain + 670
33 Smetachka 0x000125af main + 82
34 Smetachka 0x00012558 start + 40
)
Nov 23 15:29:39 unknown UIKitApplication:-n1p3r.Smetachka[0x676][31290] <Notice>: terminate called after throwing an instance of '
Nov 23 15:29:39 unknown UIKitApplication:-n1p3r.Smetachka[0x676][31290] <Notice>: NSException
Nov 23 15:29:39 unknown UIKitApplication:-n1p3r.Smetachka[0x676][31290] <Notice>: '
Nov 23 15:29:39 unknown ReportCrash[31291] <Notice>: Formulating crash report for process Smetachka[31290]
Nov 23 15:29:39 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:-n1p3r.Smetachka[0x676]) Job appears to have crashed: Abort trap: 6
Nov 23 15:29:39 unknown SpringBoard[34] <Warning>: Application 'Smetachka' exited abnormally with signal 6: Abort trap: 6
Nov 23 15:29:39 unknown DTPower[2031] <Warning>: Task info failed for task -n1p3r.Smetachka
Nov 23 15:29:39 unknown ReportCrash[31291] <Error>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/Smetachka_2011-11-23-152939_sniper-s-iPhone.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Nov 23 15:30:09 unknown com.ikey.bbot[31289] <Notice>: No matching processes were found
Nov 23 15:30:09 unknown ReportCrash[31295] <Notice>: Formulating crash report for process poc-bbot[31289]
Nov 23 15:30:09 unknown com.apple.launchd[1] <Warning>: (com.ikey.bbot) Job appears to have crashed: Bus error: 10
Last edited by alextattoo; 11-23-2011 at 08:46 AM.
|