Just for your knowledge, although I haven&#39;t made a full comprehensive test, Rhino Mocks is also seemed to work with mono 1.2.5 very well.<br><br><div><span class="gmail_quote">On 8/7/07, <b class="gmail_sendername">Mads Bondo Dydensborg
</b> &lt;<a href="mailto:mbd@dbc.dk">mbd@dbc.dk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">onsdag 04 Juli 2007 skrev Mads Bondo Dydensborg:
<br>&gt; fredag 29 juni 2007 16:22 skrev Mads Bondo Dydensborg:<br>&gt; &gt; Hi there<br><br>Hi again<br><br>Just a note for the archive. This issue has been resolved (possibly sooner) in<br>revision:<br><br>$ mono --version
<br>Mono JIT compiler version 1.2.5 (/trunk/ r83560)<br>Copyright (C) 2002-2007 Novell, Inc and Contributors. <a href="http://www.mono-project.com">www.mono-project.com</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TLS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __thread<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GC:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Included Boehm (with typed GC)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SIGSEGV:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; altstack<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Architecture:&nbsp;&nbsp;x86<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disabled:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;none<br><br>Thanks to whomever fixed it, and regards.<br><br>Regards,<br><br>Mads<br><br><br>&gt;<br>&gt; Hi there - just a repost to raise this issue again.
<br>&gt;<br>&gt; Any feedback will be most appreciated.<br>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; Mads<br>&gt;<br>&gt; &gt;<br>&gt; &gt; I have observed that my nmock2 tests have started to fail with the version<br>&gt; of
<br>&gt; &gt; mono I compile from svn. Running this command:<br>&gt; &gt;<br>&gt; &gt; $ echo $MONO_PATH<br>&gt;<br>&gt; /home/madsdyd/xintegra/trunk/Components/Bin/:/home/madsdyd/xintegra/trunk/Lib/NUnit:/home/madsdyd/xintegra/trunk/Lib/NMock:/home/madsdyd/xintegra/trunk/Lib/NLog/Mono
<br>&gt; &gt; $ which mono<br>&gt; &gt; /usr/local/mono-svn/bin/mono<br>&gt; &gt;&nbsp;&nbsp;$ mono --version<br>&gt; &gt; Mono JIT compiler version 1.2.4 (/trunk/ r81006)<br>&gt; &gt; Copyright (C) 2002-2007 Novell, Inc and Contributors. 
<a href="http://www.mono-project.com">www.mono-project.com</a><br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TLS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __thread<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GC:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Included Boehm (with typed GC)<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIGSEGV:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; normal<br>
&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Architecture:&nbsp;&nbsp;x86<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Disabled:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;none<br>&gt; &gt; $<br>&gt; &gt;<br>&gt;<br>mono --debug /home/madsdyd/xintegra/trunk/Lib/NUnit/nunit-console.exe ../Bin/Debug/DBC.ORM.dll<br>&gt; &gt;
<br>&gt; &gt; fails with:<br>&gt; &gt;<br>&gt; &gt; Failures:<br>&gt; &gt; 1) SQLBuilderTest.SelectOrAndSQL : System.InvalidCastException : Cannot<br>cast<br>&gt; &gt; from source type to destination type.<br>&gt; &gt;&nbsp;&nbsp; at 
SQLBuilderTest.SetUp () [0x00035]<br>&gt; &gt;<br>&gt;<br>in /home/madsdyd/xintegra/trunk/Components/DBC.ORM/UnitTest/SQLBuilderTest.cs:90<br>&gt; &gt;&nbsp;&nbsp; at &lt;0x00000&gt; &lt;unknown method&gt;<br>&gt; &gt;&nbsp;&nbsp; at (wrapper managed-to-native)
<br>System.Reflection.MonoMethod:InternalInvoke<br>&gt; &gt; (object,object[])<br>&gt; &gt;&nbsp;&nbsp; at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags<br>&gt; &gt; invokeAttr, System.Reflection.Binder binder, 
System.Object[] parameters,<br>&gt; &gt; System.Globalization.CultureInfo culture) [0x00056]<br>&gt; &gt;<br>&gt;<br>in /home/compile/Compile/Mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:146<br>&gt; &gt;<br>&gt; &gt; The offending statement is:
<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mockProvider = mocks.NewMock&lt;IProvider&gt;();<br>&gt; &gt;<br>&gt; &gt; AFAICT the assignment does not matter, the failure is somewhere in<br>&gt; NewMock(?)<br>&gt; &gt;<br>&gt; &gt; However, running with stable mono:
<br>&gt; &gt;<br>&gt; &gt; $ mono --version<br>&gt; &gt; Mono JIT compiler version <a href="http://1.2.3.1">1.2.3.1</a>, (C) 2002-2006 Novell, Inc and<br>&gt; Contributors.<br>&gt; &gt; <a href="http://www.mono-project.com">
www.mono-project.com</a><br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TLS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __thread<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GC:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Included Boehm (with typed GC)<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIGSEGV:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; normal<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Architecture:&nbsp;&nbsp;x86<br>
&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Disabled:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;none<br>&gt; &gt;<br>&gt; &gt; The test passes as expected - with no fails (neither from NUnit or Mono).<br>In<br>&gt; &gt; both cases, the compilation of my source tree has been using the svn
<br>version<br>&gt; &gt; of mono/gmcs.<br>&gt; &gt;<br>&gt; &gt; So, two questions:<br>&gt; &gt;<br>&gt; &gt; a) Is anyone else experiencing this issue?<br>&gt; &gt; b) Any advise on resolving it?<br>&gt; &gt;<br>&gt; &gt; Thanks in advance, and regards,
<br>&gt; &gt;<br>&gt; &gt; Mads<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; Med venlig hilsen/Regards<br>&gt; &gt;<br>&gt; &gt; Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo<br>&gt; Dydensborg<br>&gt; &gt; Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86
<br>77<br>&gt; 34<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Mono-devel-list mailing list<br>&gt; &gt; <a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com
</a><br>&gt; &gt; <a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt; --<br>&gt; Med venlig hilsen/Regards
<br>&gt;<br>&gt; Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo<br>Dydensborg<br>&gt; Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77<br>34<br>&gt;<br>&gt; _______________________________________________
<br>&gt; Mono-devel-list mailing list<br>&gt; <a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>&gt; <a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">http://lists.ximian.com/mailman/listinfo/mono-devel-list
</a><br>&gt;<br>&gt;<br><br><br><br>--<br>Med venlig hilsen/Regards<br><br>Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo Dydensborg<br>Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77 34
<br>_______________________________________________<br>Mono-devel-list mailing list<br><a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br><a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">
http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br></blockquote></div><br><br clear="all"><br>-- <br>Warning: If you are reading this then this warning is for you. Every word you read of this useless fine print is another second off your life. Don&#39;t you have other things to do? Is your life so empty that you honestly can&#39;t think of a better way to spend these moments? Or are you so impressed with authority that you give respect and credence to all that claim it? Do you read everything you&#39;re supposed to read? Do you think every thing you&#39;re supposed to think? Buy what you&#39;re told to want? Get out of your apartment. Meet a member of the opposite sex. Stop the excessive shopping and 
masturbation.Quit your job. Start a fight. Prove you&#39;re alive. If you don&#39;t claim your humanity you will become a statistic. You have been warned - Onur