Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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
GitHub or Developer Community 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.
FOR MORE INFORMATION SEE SUPPORT CASE #39927.
VERSION INFORMATION AT BOTTOM OF MESSAGE:
The solution consists of two projects:
Project A targets a Mono/.NET 3.5 MSIL library assembly.
Project B is a Xamarin.iOS application. It is noteworthy that the assemblies referenced by this project are from Xamarin.iOS 6.0.10 for compatibility with developers still using MonoDevelop and unsigned assemblies. These include monotouch.dll, System.dll, System.Core.dll, System.Xml.dll, System.Xml.Linq.dll.
When I start debugging the application I (more or less) immediately get a crash:
Starting iOS simulator 6.1
Application launched. PID = 2667
(YR:this is blank)
(YR:this is blank)
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.
If I insert a breakpoint at the first line of executable code in the entry point of the application, it is never reached.
If I instruct the debugger to break at all first-chance exceptions of type System.Exception, it never breaks.
I am using the beta branch of the software (see version info). This is due to an unrelated issue.
This issue appears to be unique to the beta branch i.e. it worked fine until I switched.
I will try to make a test case. This project is 700+ MB and I had to sign an extensive NDA to work on it.
Version 4.1.4 (build 117)
Installation UUID: af08c980-f975-4eb5-a819-06b92ee680fd
Mono 3.0.12 ((no/d6c5db8)
Package version: 300120000
Apple Developer Tools
Xcode 4.6.3 (2068)
Version: 184.108.40.206 (Business Edition)
Build date: 2013-03-06 10:32:55-0400
Version: 4.7.11 (Business Edition)
Android SDK: /Users/yvan/Library/Developer/Xamarin/android-sdk-mac_x86
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)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)
Xamarin.Mac: Not Installed
Release ID: 401040117
Git revision: e0f38912731e43ed9d3f1a410dd4fd907e7f1ba0
Build date: 2013-06-11 19:29:58+0000
Xamarin addins: 8fd84026361c1969794b85bee48efab97a5f33b3
Mac OS X 10.8.4
Darwin Yvans-Mac-mini.local 12.4.0 Darwin Kernel Version 12.4.0
Wed May 1 17:57:12 PDT 2013
By process of elimination I have found the root of the problem.
The monotouch.dll 6.0.10 is incompatible with _____ (not sure).
STEPS TO REPRODUCE:
1. Create a new Single View iPad solution.
2. Remove all referenced.
3. Reference monotouch.dll 6.0.10
4. Compile and run -- SIGSEGV crash
Created attachment 4319 [details]
xamarin.ios only works with the monotouch.dll included in it, it doesn't work with previous versions. This was never a supported scenario.
Thanks Zoltan. Is there a way to run two-version side-by-size without virtualization?