Bug 42849 - Intermittent random SIGSEGV cashes occurring when navigating throughout application.
Summary: Intermittent random SIGSEGV cashes occurring when navigating throughout appli...
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 6.1.0 (C7)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2016-07-27 19:59 UTC by Ammar Mheir
Modified: 2016-09-19 20:25 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Ammar Mheir 2016-07-27 19:59:56 UTC
## Overview

Intermittent random SIGSEGV cashes occurring when navigating throughout application. Fatal signal 11 (SIGSEGV), code 1 appears in different stages throughout debugging. Sometimes at startup and most of the time while navigating between pages and interacting with views.

## Steps to reproduce

1. Open .sln file. Clean and Build Solution
2. Deploy application to an Android Tablet (preferably 10.1” Marshmallow emulator) 
3. Click on cloud icon (upper-right) to download test login data
4. Fill out login forum with anything (password can be anything as well, you can click on each field then click on OK to populate them)
5. Begin navigating through the various screens and perform actions to prompt the random SIGSEGV crash.

## Expected Results

Application continues to run smoothly without being interrupted by random SIGSEGV crashes.  

## Actual Results

Application will randomly crash at any point with a SIGSEGV error, sometimes at startup while other times it crashes while navigating through the applications activities. Crash errors are always SIGSEGV crashes, with no confirmed indication of where this is originating from. 

## Version information

Microsoft Visual Studio Premium 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.6.01055

SQL Server Data Tools 12.0.30919.1

Xamarin (2e39740)
Xamarin.Android (4e27558)

## Additional Information

It seems that the application will run into Null object reference errors when trying to deploy to anything except tablets. Most of the debugging was done on either a 7” 5.1.1 Lollipop emulator or the 10.1” Marshmellow emulator. This may be due to the theme having a screen size limitation.
Comment 2 Ammar Mheir 2016-09-19 20:25:22 UTC
Those particular crashes mentioned in this bug has been resolved Adding SQLiteOpenFlags.FullMutex in the SQLite connection constructor. This allows SQLite to utilize full async features available to the device.
App now throws new error messages that don't seem to have anything todo with this bug report, and crashes have been reduced.