Bug 18548 - Getting exception 'SIGSEGV' while running android application on Device having ART runtime.
Summary: Getting exception 'SIGSEGV' while running android application on Device havin...
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.12.0
Hardware: All All
: High blocker
Target Milestone: 4.12.3
Assignee: Jonathan Pryor
: 18528 ()
Depends on:
Reported: 2014-03-24 05:01 UTC by Nischal
Modified: 2014-03-25 04:09 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 Nischal 2014-03-24 05:01:54 UTC
Steps to reproduce:
1. Open XS
2. Debug and run android application on Device having ART runtime.

Actual Result:
Application gets crashed and gives exception 'SIGSEGV' when run on device having ART runtime. It is working fine
with Dalvik runtime.

Expected Result:
Application should deploy and run successfully on device with ART runtime.

Device Used: LG nexus 4 (4.4 with ART runtime)

Supplement Info:
Applicatiuon Output: https://gist.github.com/saurabh360/867e20d93f45fef94b0a
Android Tool Log: https://gist.github.com/saurabh360/9a2b4894beabf11d5637
IDE Log:  https://gist.github.com/saurabh360/3faf2ac02d2257e8afbf
ADB Log: https://gist.github.com/saurabh360/83234fd3b2bca68b0686

Regression status: REGRESSION It is working fine with Xam.Android 4.12.3

Environment Info:
All MAC and Win
Xamarin Studio
Version 4.2.4 (build 32)
Build Information
Git revision: a160c35dac9ab9fd32eeadaa171216316d5a5133
Xamarin addins: a779416ceabd54981ce812771a4061c942e8b872
Xam.Android 4.12.3-02
Comment 1 Prashant manu 2014-03-24 08:01:15 UTC
Regression status: REGRESSION It is working fine with Xam.Android
Comment 2 Peter Collins 2014-03-24 11:10:16 UTC
*** Bug 18528 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Pryor 2014-03-24 22:57:41 UTC
It's a double free(3) bug.

Fixed in master/2f332871 and monodroid-4.12-series/7f0e3d3c.
Comment 4 narayanp 2014-03-25 04:09:14 UTC
I have checked this issue with following builds:

X.S 4.2.4(build 32)
Mono 3.2.6
Xamarin.Android 4.12.3-3

Now android application gets deployed and launched successfully on Physical device having ART enabled.