Bug 29277 - Creating a New Thread Causes the App to Crash
Summary: Creating a New Thread Causes the App to Crash
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-04-21 13:55 UTC by Jimmy [MSFT]
Modified: 2015-05-22 16:12 UTC (History)
4 users (show)

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


Attachments
Repro Project (178.93 KB, application/zip)
2015-04-21 13:55 UTC, Jimmy [MSFT]
Details
Debugger Output (109.17 KB, text/plain)
2015-04-21 13:57 UTC, Jimmy [MSFT]
Details

Description Jimmy [MSFT] 2015-04-21 13:55:54 UTC
Created attachment 10844 [details]
Repro Project

*** Overview ***
If an app contains a WebView and a new thread is created, the app will crash when ran on a device on Android 5.1.

I tested the repro project on a Nexus 5 running 5.1 to reproduce the crash. A customer also reports that the issue occurs on a Nexus 7(2012) on 5.1. 

However, testing on a Nexus 7(2013) running 5.0 did not reproduce the crash so the issue might only be in Android 5.1. 


*** Steps to Reproduce ***
1. Run the repro project on a Android device running 5.1
2. Click the “TEST” button


*** Actual Results ***
The new thread will run and complete, but then the app will throw an unhandled exception and crash. I’ve attached the debug output to the report.


*** Expected Results ***
The new thread completes successfully and does not cause the app to crash.


*** Environment Info ***
=== Xamarin Studio ===

Version 5.8.3 (build 1)
Installation UUID: 94ce5106-6a72-4691-b34e-cd5857b1db66
Runtime:
	Mono 3.12.1 ((detached/0849ec7)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312010003

=== Xamarin.Android ===

Version: 4.20.2.1 (Business Edition)
Android SDK: /Users/jimmygarrido/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.4   (API level 19)
		5.0   (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 6.3 (7569)
Build 6D570

=== Xamarin.iOS ===

Version: 8.9.1.3 (Business Edition)
Hash: f7736a4
Branch: 
Build date: 2015-04-09 04:22:08-0400

=== Xamarin.Mac ===

Version: 1.12.0.14 (Business Edition)

=== Build Information ===

Release ID: 508030001
Git revision: 6e8e725e0d689351901c2c70453bfa4ea25e293b
Build date: 2015-04-06 20:31:47-04
Xamarin addins: 051cd5f8c1b5dbfc87eaef80a74aec03f34c60a8

=== Operating System ===

Mac OS X 10.10.3
Darwin Jimmys-MacBook-Pro.local 14.3.0 Darwin Kernel Version 14.3.0
    Mon Mar 23 11:59:05 PDT 2015
    root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
Comment 1 Jimmy [MSFT] 2015-04-21 13:57:35 UTC
Created attachment 10845 [details]
Debugger Output

Note You need to log in before you can comment on or make changes to this bug.