Bug 373 - Can not debug unit tests (NUnit) in MonoDevelop (OS X Lion)
Summary: Can not debug unit tests (NUnit) in MonoDevelop (OS X Lion)
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: 2.6 Beta 2
Hardware: Macintosh Mac OS
: --- critical
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-08-23 21:14 UTC by deepfusion
Modified: 2011-09-01 11:30 UTC (History)
3 users (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 NOT_REPRODUCIBLE

Description deepfusion 2011-08-23 21:14:05 UTC
Everytime I debug a unit test using Mono Soft Dubbuger the IDE crashes after a few seconds of starting into the debugging.  It does work for a few seconds at least.
Comment 1 Miguel de Icaza [MSFT] 2011-08-24 00:41:47 UTC
Could you please provide a series of steps to reproduce the problem?

A solution that exhibits the problem/

The versions of Mono and MonoDevelop that you are using?
Comment 2 deepfusion 2011-08-27 11:53:09 UTC
I installed the 8/24 mono framework sdk release and then reinstalled monodevelop and it appears to have fixed the problem.
Comment 3 deepfusion 2011-08-28 15:37:47 UTC
Spoke too soon, after upgrading and then coming back and running the full project I now can't use Sqlite, I get random SIGSEGV errors:

  at (wrapper managed-to-native) Mono.Data.Sqlite.UnsafeNativeMethods.sqlite3_prepare (intptr,intptr,int,intptr&,intptr&) <IL 0x0002a, 0xffffffff>
  at Mono.Data.Sqlite.SQLite3.Prepare (Mono.Data.Sqlite.SqliteConnection,string,Mono.Data.Sqlite.SqliteStatement,uint,string&) [0x00044] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLite3.cs:258
  at Mono.Data.Sqlite.SqliteCommand.BuildNextCommand () [0x00019] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteCommand.cs:230
  at Mono.Data.Sqlite.SqliteCommand.GetStatement (int) [0x00033] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteCommand.cs:269
  at (wrapper remoting-invoke-with-check) Mono.Data.Sqlite.SqliteCommand.GetStatement (int) <IL 0x00039, 0xffffffff>
  at Mono.Data.Sqlite.SqliteDataReader.NextResult () [0x000cc] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteDataReader.cs:891
  at Mono.Data.Sqlite.SqliteDataReader..ctor (Mono.Data.Sqlite.SqliteCommand,System.Data.CommandBehavior) [0x00051] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteDataReader.cs:89
  at (wrapper remoting-invoke-with-check) Mono.Data.Sqlite.SqliteDataReader..ctor (Mono.Data.Sqlite.SqliteCommand,System.Data.CommandBehavior) <IL 0x00021, 0xffffffff>
  at Mono.Data.Sqlite.SqliteCommand.ExecuteReader (System.Data.CommandBehavior) [0x00006] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteCommand.cs:539
  at Mono.Data.Sqlite.SqliteCommand.ExecuteNonQuery () [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.5/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteCommand.cs:568


Native stacktrace:

	0   mono                                0x000b98e6 mono_handle_native_sigsegv + 422
	1   mono                                0x000048fe mono_sigsegv_signal_handler + 334
	2   libsystem_c.dylib                   0x976af59b _sigtramp + 43
	3   ???                                 0xffffffff 0x0 + 4294967295
	4   libsqlite3.dylib                    0x9a5f9319 yy_reduce + 20793
	5   libsqlite3.dylib                    0x9a5f3e06 sqlite3Parser + 230
	6   libsqlite3.dylib                    0x9a5f2a53 sqlite3RunParser + 323
	7   libsqlite3.dylib                    0x9a5f2276 sqlite3Prepare + 870
	8   libsqlite3.dylib                    0x9a5f1df4 sqlite3LockAndPrepare + 452
	9   ???                                 0x02c63f2f 0x0 + 46546735
	10  ???                                 0x02c62fe8 0x0 + 46542824
	11  ???                                 0x02c62b21 0x0 + 46541601
	12  ???                                 0x02c628dc 0x0 + 46541020
	13  ???                                 0x02c627d4 0x0 + 46540756
	14  ???                                 0x02c621b0 0x0 + 46539184
	15  ???                                 0x02c61cfe 0x0 + 46537982
	16  ???                                 0x02c61b98 0x0 + 46537624
	17  ???                                 0x02c60f94 0x0 + 46534548
	18  ???                                 0x02c60e30 0x0 + 46534192
	19  ???                                 0x02cedd33 0x0 + 47111475
	20  ???                                 0x02ce4798 0x0 + 47073176
	21  ???                                 0x004af434 0x0 + 4912180
	22  ???                                 0x02cf7a64 0x0 + 47151716
	23  ???                                 0x004af008 0x0 + 4911112
	24  ???                                 0x004af196 0x0 + 4911510
	25  mono                                0x00010624 mono_jit_runtime_invoke + 164
	26  mono                                0x001c1032 mono_runtime_invoke + 137
	27  mono                                0x001c3940 mono_runtime_exec_main + 669
	28  mono                                0x001c2c7a mono_runtime_run_main + 843
	29  mono                                0x0008943d mono_main + 7773
	30  mono                                0x00002db5 start + 53
Comment 4 deepfusion 2011-08-28 17:04:00 UTC
I would like to just install an older version of the framework that I know works, however I only see the download for the runtime on this page, no link for the SDK:

http://download.mono-project.com/archive/2.10.3/download/
Comment 5 deepfusion 2011-08-28 19:54:52 UTC
Weird, I reinstalled the framework again and now I don't get the error. If I reproduce it again I will let you know, but I hope not. :-) Thanks for your time.
Comment 6 Jeffrey Stedfast 2011-09-01 11:30:45 UTC
Closing as WORKSFORME for now, if you experience the problem again just reopen with a testcase and we'll look into it.

I've poked the build maintainer to fix the download pages to link to the MDK's also.