Bug 26940 - App can properly run using Xamarin.iOS Version: Edition) but crash after updating to Xamarin.iOS Version: Edition)
Summary: App can properly run using Xamarin.iOS Version: Edition) but...
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: XI 8.6.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2015-02-10 21:47 UTC by Bin
Modified: 2016-05-26 21:28 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 Bin 2015-02-10 21:47:18 UTC
Description of Problem:
Using Xamarin.iOS Version: Edition) the app can properly run in devices but crash after using Xamarin.iOS Version: Edition). Crash also happened after updating to Xamarin.iOS Version: Edition).

The following crash:
error: * Assertion at ../../../../../mono/mono/utils/mono-threads.c:159, condition `result' not met
critical: Native stacktrace:

0   xxxxxx                           0x011ff535 mono_handle_native_sigsegv + 240
1   xxxxxx                           0x012041fb sigabrt_signal_handler + 102
2   libsystem_platform.dylib            0x3a9a587b _sigtramp + 42
3   libsystem_pthread.dylib             0x3a9a9d37 pthread_kill + 62
4   libsystem_c.dylib                   0x3a8cb909 abort + 76
5   xxxxxx                           0x012829d8 log_callback + 80
6   xxxxxx                           0x0126aba7 log_adapter + 170
7   xxxxxx                           0x012714e7 monoeg_assertion_message + 78
8   xxxxxx                           0x0126bf91 mono_thread_info_detach + 0
9   xxxxxx                           0x0126bb4b inner_start_thread + 42
10  xxxxxx                           0x0127aa83 GC_start_routine + 54
11  libsystem_pthread.dylib             0x3a9a8e93 <redacted> + 138
12  libsystem_pthread.dylib             0x3a9a8e07 _pthread_start + 118
13  libsystem_pthread.dylib             0x3a9a6b90 thread_start + 8
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-02-11 07:56:57 UTC
Please attach a test project we can use the reproduce this crash.
Comment 2 Naqeeb 2015-02-11 08:12:58 UTC
I have tried to reproduce this issue but not able to reproduce. I have followed
below steps.

1. Create a Classic->Singleview iOS application in XS.
2. Run the application on device and simulator with X.iOS
 it is working fine.
3. Update X.iOS to Edition).
4. Run the application on device and simulator and observed that its working
5. Again update X.iOS to Edition)
6. Run the application on device and simulator its also working fine. 

Could you please provide us a sample project, Environment info, Ide log,iOS
device logs? So we can reproduce this issue at our end.

You can get Environment info via Xamarin Studio > About Xamarin Studio > Show
Details > Copy information, Ide log via Help > Open Log Directory > Ide log and
iOS device log via View > Pads > iOS Device log.


Environment info:
=== Xamarin Studio ===

Version 5.7.1 (build 17)
Installation UUID: d6f15b80-470e-4e50-9aba-38a45c556680
 Mono 3.12.0 ((detached/a813491)
 GTK+ 2.24.23 (Raleigh theme)

 Package version: 312000068

=== Xamarin.Android ===

Version: (Business Edition)
Android SDK: /Users/360logica/Desktop/android-sdk-macosx
 Supported Android versions:
  2.3    (API level 10)
  4.0.3  (API level 15)
  4.1    (API level 16)
  4.2    (API level 17)
  4.3    (API level 18)
  4.4    (API level 19)
  4.4.87 (API level 20)
  5.0    (API level 21)
Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

=== Apple Developer Tools ===

Xcode 6.2 (6736)
Build 6C86e

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: dfb682f
Build date: 2015-01-08 13:39:32-0500

=== Xamarin.Mac ===

Version: (Business Edition)

=== Build Information ===

Release ID: 507010017
Git revision: 0bc7d3550b6b088ac25b08dcf7bbe73bcc8658b3
Build date: 2015-02-03 19:43:29-05
Xamarin addins: f7b7d34419c9ec24501bfa7c658e80a6305613e0

=== Operating System ===

Mac OS X 10.10.0
Darwin 360Logicas-MacBook-Pro.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 3 Sebastien Pouliot 2016-05-26 21:28:15 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!