Bug 14540 - Crash when running MonoGame tests from within Xamarin Studio but works on command line
Summary: Crash when running MonoGame tests from within Xamarin Studio but works on com...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: NUnit ()
Version: 4.0.12
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-09-08 17:49 UTC by Brandon Bremen
Modified: 2013-09-09 03:09 UTC (History)
1 user (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Brandon Bremen 2013-09-08 17:49:22 UTC
I am triggering an error with the MonoGame Tests MacOS project when running tests from within the Xamarin Studio interface by clicking on the "Run Test" dropdown in the editor or when running all tests.

We are getting a low level remoting exception when running tests under xamarin studio. This does not happen when running the tests from the command line.


$ /Applications/Xamarin\ Studio.app/Contents/MacOS/XamarinStudio --no-redirect
Starting Xamarin Studio
   Loading Workbench
      Initializing Main Window
WARNING [2013-09-08 13:35:49Z]: First run content index not found.
Error: did not find one of the files in sources//Library/Frameworks/Mono.framework/External/monodoc/MonoAndroid-man
WARNING [2013-09-08 13:35:54Z]: TypeSystemService: Can't load assembly context for:Moq
Stacktrace:
 
NUnit.Core.RemoteTestRunner doesn't implement interface NUnit.Core.TestRunner

Complete log available at http://pastebin.com/Szf3g87h


When running from the command line, I am using the following version of mono from an official release build for Mac.
As you can see, a test runs successfully.

$ which mono
/usr/bin/mono
$ mono --version
Mono JIT compiler version 3.2.2 ((no/a0fc6ba Thu Aug 15 15:32:12 EDT 2013)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  x86
	Disabled:      none
	Misc:          softdebug 
	LLVM:          yes(3.3svn-mono)
	GC:            sgen


$ mono --debug MonoGame.Tests.MacOS.exe -i=OpenALAudioTest.rapidPauseResumeDoesntSkip --stdout=foo --no-launch-results
Run Started: MonoGame.Tests.MacOS
.

It looks like other people have had a similar problem on linux. See the log at https://gist.github.com/mkrueger/5236693.
Comment 1 Mike Krüger 2013-09-09 03:09:27 UTC
Should be fixed with our next release.