This question is locked. New answers and comments are not allowed.
A problem found on using RadListView (on iOS) which cause the app crash as follows:
- Create a page with RadListView with hardcoded items
- When click on an item, will navigate to a details page
- When click back on top action bar, the following error shown on console and app crashed
1 0x110353a6b NativeScript::FFICallback<
NativeScript::ObjCMethodCallback
>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
2 0x110ad390e ffi_closure_unix64_inner
3 0x110ad42c2 ffi_closure_unix64
4 0x11186207f -[UIViewController __viewWillAppear:]
5 0x11188d1d3 -[UINavigationController _startCustomTransition:]
6 0x11189de48 -[UINavigationController _startDeferredTransitionIfNeeded:]
7 0x11189efdb -[UINavigationController __viewWillLayoutSubviews]
8 0x111a95dd7 -[UILayoutContainerView layoutSubviews]
9 0x11177eab8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
10 0x1169a6bf8 -[CALayer layoutSublayers]
11 0x11699a440 CA::Layer::layout_if_needed(CA::Transaction*)
12 0x11699a2be CA::Layer::layout_and_display_if_needed(CA::Transaction*)
13 0x116928318 CA::Context::commit_transaction(CA::Transaction*)
14 0x1169553ff CA::Transaction::commit()
15 0x116955d6f CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*)
16 0x11426b267 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
17 0x11426b1d7 __CFRunLoopDoObservers
18 0x11424ff8e __CFRunLoopRun
19 0x11424f884 CFRunLoopRunSpecific
20 0x1161b3a6f GSEventRunModal
21 0x1116b9c68 UIApplicationMain
22 0x110ad411d ffi_call_unix64
23 0x1306b98e0
file:///app/tns_modules/ui/core/view-common.js:748:22: JS ERROR TypeError: undefined is not an object (evaluating 'child.onLoaded')
Dec 20 14:01:25 ClarencedeiMac com.apple.CoreSimulator.SimDevice.A901FB04-C006-47F4-8876-118EB24771B0.launchd_sim[7813] (UIKitApplication:org.nativescript.nstest4[0xa673][23275]): Service exited due to Segmentation fault: 11
Environment:
- Nativescript: 2.4.2
- nativescript-angular: 1.2.0
- nativescript-telerik-ui-pro: 1.5.1_184
If required, I can send you my project for investigation.
Thanks
Clarence