Forum Xamarin.iOS

DZNEmptyDataSet Delegate SIGSEV Crash

JohnCruzJohnCruz USMember
edited January 2017 in Xamarin.iOS

Hello There,

I was wondering if someone can help me as i am new to Xamarin and I can't figure out how to troubleshoot this issue. I have a feeling its something with delegates.

2017-01-28 09:08:37.037 BallniOS[79503:1768226] critical: Stacktrace:
2017-01-28 09:08:37.038 BallniOS[79503:1768226] critical:   at <unknown> <0xffffffff>
2017-01-28 09:08:37.038 BallniOS[79503:1768226] critical:   at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <IL 0x0005c, 0x0034b>
2017-01-28 09:08:37.038 BallniOS[79503:1768226] critical:   at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/UIKit/UIApplication.cs:79
2017-01-28 09:08:37.038 BallniOS[79503:1768226] critical:   at UIKit.UIApplication.Main (string[],string,string) [0x00038] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/UIKit/UIApplication.cs:63
2017-01-28 09:08:37.039 BallniOS[79503:1768226] critical:   at Balln.iOS.Application.Main (string[]) [0x00001] in C:\Users\johnmcruz\Source\Repos\Balln\Balln.iOS\Main.cs:12
2017-01-28 09:08:37.039 BallniOS[79503:1768226] critical:   at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,int
ptr) <IL 0x00051, 0x0030a>
2017-01-28 09:08:37.039 BallniOS[79503:1768226] critical: 
Native stacktrace:


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
public async override void ViewWillAppear(bool animated)
        {
            base.ViewWillAppear(animated);
            await RefreshUsers();

            TableView.SetEmptyDataSetSource(new EmptyUserDataSource());
            TableView.TableFooterView = new UIView();

            SetupSearch();
        }

 public override void ViewWillDisappear(bool animated)
        {
            TableView.SetEmptyDataSetSource(null);
            TableView.SetEmptyDataSetDelegate(null);
            TableView.Source = null;
            base.ViewWillDisappear(animated);
        }
Sign In or Register to comment.