Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

App crash with Xamarin Forms 3.1 #3176

Closed
explorer566 opened this issue Jun 28, 2018 · 3 comments
Closed

App crash with Xamarin Forms 3.1 #3176

explorer566 opened this issue Jun 28, 2018 · 3 comments

Comments

@explorer566
Copy link

Description

In our project we use the PRISM framework for navigation. Migrating to Prism 7.1 and Xamarin Forms 3.0.0.561731 showed no problems at all but after upgrading to Xamarin Forms 3.1.0.583944 (and also its pre-versions) our App crashes while doing an absolute navigation like:

await _navigationService.NavigateAsync($"/NavigationPage/MainPage/ReportPage", param, false);

Steps to Reproduce

I'm working on this. So far I was not able to create a simple example to reproduce the crash.

Expected Behavior

Navigation should work as expected.

Actual Behavior

App crashes with the following stacktrace:

2018-06-28 10:57:59.628 LBS_Rapid.iOS[7882:150567] critical: Stacktrace:

2018-06-28 10:57:59.628 LBS_Rapid.iOS[7882:150567] critical: at <0xffffffff>
2018-06-28 10:57:59.629 LBS_Rapid.iOS[7882:150567] critical: at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) [0x0005c] in <0b60c1467e7449608ac42f9c7bbfdd05>:0
2018-06-28 10:57:59.629 LBS_Rapid.iOS[7882:150567] critical: at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.12.0.4/src/Xamarin.iOS/UIKit/UIApplication.cs:79
2018-06-28 10:57:59.629 LBS_Rapid.iOS[7882:150567] critical: at UIKit.UIApplication.Main (string[],string,string) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.12.0.4/src/Xamarin.iOS/UIKit/UIApplication.cs:63
2018-06-28 10:57:59.629 LBS_Rapid.iOS[7882:150567] critical: at LBS_Rapid.iOS.Application.Main (string[]) [0x00001] in /Users/fritsche/Projects/LBS_Rapid3.git/LBS_Rapid/LBS_Rapid.iOS/Main.cs:17
2018-06-28 10:57:59.629 LBS_Rapid.iOS[7882:150567] critical: at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) [0x00051] in <0311d6fc2c284cdd93a39ffc41d72eea>:0
2018-06-28 10:57:59.629 LBS_Rapid.iOS[7882:150567] critical:
Native stacktrace:

2018-06-28 10:57:59.671 LBS_Rapid.iOS[7882:150567] critical: 0 LBS_Rapid.iOS 0x00000001009ce7b4 mono_handle_native_crash + 244
2018-06-28 10:57:59.672 LBS_Rapid.iOS[7882:150567] critical: 1 LBS_Rapid.iOS 0x00000001009ddbe0 mono_sigsegv_signal_handler + 288
2018-06-28 10:57:59.672 LBS_Rapid.iOS[7882:150567] critical: 2 libsystem_platform.dylib 0x00000001120d2f5a _sigtramp + 26
2018-06-28 10:57:59.672 LBS_Rapid.iOS[7882:150567] critical: 3 ??? 0x0000000000000000 0x0 + 0
2018-06-28 10:57:59.672 LBS_Rapid.iOS[7882:150567] critical: 4 LBS_Rapid.iOS 0x000000010089d358 -[UIKit_UIGestureRecognizer__UIGestureRecognizerDelegate gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:] + 72
2018-06-28 10:57:59.672 LBS_Rapid.iOS[7882:150567] critical: 5 UIKit 0x000000010d0d00b7 -[UIGestureRecognizer _delegateCanBePreventedByGestureRecognizer:] + 153
2018-06-28 10:57:59.672 LBS_Rapid.iOS[7882:150567] critical: 6 UIKit 0x000000010d0d0336 -[UIGestureRecognizer _isExcludedByExcludable:] + 316
2018-06-28 10:57:59.672 LBS_Rapid.iOS[7882:150567] critical: 7 UIKit 0x000000010d0ff8fd _UIExclusionMatrixPerformExclusion + 407
2018-06-28 10:57:59.672 LBS_Rapid.iOS[7882:150567] critical: 8 UIKit 0x000000010d0b2a7d _UIGestureEnvironmentUpdate + 394
2018-06-28 10:57:59.672 LBS_Rapid.iOS[7882:150567] critical: 9 UIKit 0x000000010d0b28a7 -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:] + 484
2018-06-28 10:57:59.673 LBS_Rapid.iOS[7882:150567] critical: 10 UIKit 0x000000010d0b19a9 -[UIGestureEnvironment _updateGesturesForEvent:window:] + 281
2018-06-28 10:57:59.673 LBS_Rapid.iOS[7882:150567] critical: 11 UIKit 0x000000010cb477ab -[UIWindow sendEvent:] + 4064
2018-06-28 10:57:59.673 LBS_Rapid.iOS[7882:150567] critical: 12 UIKit 0x000000010caeb310 -[UIApplication sendEvent:] + 352
2018-06-28 10:57:59.673 LBS_Rapid.iOS[7882:150567] critical: 13 UIKit 0x000000010d42c6af __dispatchPreprocessedEventFromEventQueue + 2796
2018-06-28 10:57:59.673 LBS_Rapid.iOS[7882:150567] critical: 14 UIKit 0x000000010d42f2c4 __handleEventQueueInternal + 5949
2018-06-28 10:57:59.673 LBS_Rapid.iOS[7882:150567] critical: 15 CoreFoundation 0x000000010fc69bb1 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
2018-06-28 10:57:59.674 LBS_Rapid.iOS[7882:150567] critical: 16 CoreFoundation 0x000000010fc4e4af __CFRunLoopDoSources0 + 271
2018-06-28 10:57:59.674 LBS_Rapid.iOS[7882:150567] critical: 17 CoreFoundation 0x000000010fc4da6f __CFRunLoopRun + 1263
2018-06-28 10:57:59.674 LBS_Rapid.iOS[7882:150567] critical: 18 CoreFoundation 0x000000010fc4d30b CFRunLoopRunSpecific + 635
2018-06-28 10:57:59.674 LBS_Rapid.iOS[7882:150567] critical: 19 GraphicsServices 0x0000000114a37a73 GSEventRunModal + 62
2018-06-28 10:57:59.674 LBS_Rapid.iOS[7882:150567] critical: 20 UIKit 0x000000010cad0057 UIApplicationMain + 159
2018-06-28 10:57:59.675 LBS_Rapid.iOS[7882:150567] critical: 21 ??? 0x0000000130bfb9f7 0x0 + 5112838647
2018-06-28 10:57:59.675 LBS_Rapid.iOS[7882:150567] critical: 22 ??? 0x0000000130bfb753 0x0 + 5112837971
2018-06-28 10:57:59.675 LBS_Rapid.iOS[7882:150567] critical:

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.

Basic Information

  • Version with issue: Xamarin Forms 3.1.0.583944 (and also pre-versions)
  • Last known good version: Xamarin Forms 3.0.0.561731
  • IDE: Visual Studio Professional 2017 for Mac 7.5.3
  • Platform Target Framework: iOS 11.4
  • Affected Devices: iPhone Simulator with iPad Pro 11.4
@explorer566
Copy link
Author

explorer566 commented Jun 28, 2018

Seems like a bug in a Syncfusion control we are using
(SfListView). The navigation is done by invoking a command assigned to a gesture recognizer of an Image. This image is part of a list view item.

@Muthukumaran-G
Copy link

Hi @explorer566 ,

Can you please explain how this is related to SfListView control?
After referring to these links 3399, 3257 , I suspect that this issue is related to iOS version of your device.

If possible could you please attach the reproducible sample?

Thanks,
Muthu.

@explorer566
Copy link
Author

With a normal Xamarin list view the crash doesn't happen, only with the Syncfusion list view, so I expect this control to be the cause for it.

I already opened an incident at Syncfusion and attached a reproducible sample (which my employer's firewall doesn't allow me to attach here). They already provided a fix for it but it actually didn't fix the problem so far. Seems like Syncfusion controls are currently not prepared for Xamarin 3.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants