[Mono-osx] Mono-2.4 RC3 fails tests on Mac OS X with macports' libgdiplus

Alex Shulgin alexander.shulgin at yessoftware.com
Thu Mar 19 13:30:05 EDT 2009


Hi,

I'm trying to run tests on Mac for mono-2.4 RC3, but have problems.

I've used the following configure command:

$ CFLAGS=/opt/local/include LDFLAGS=/opt/local/lib ./configure

Where /opt/local is macports' prefix, libgdiplus installed there.

After compiling, I chdir-ed to mcs/class/Managed.Windows.Forms and 
issued "make check" like this:

~/tmp/mono-2.4/mcs/class/Managed.Windows.Forms$ 
LD_LIBRARY_PATH=/opt/local/lib make check

ok=:; make run-test-recursive || ok=false; make run-test-local || 
ok=false; $ok
ok=:; \
	MONO_REGISTRY_PATH="/Users/user/.mono/registry" 
MONO_PATH="./../../class/lib/net_2_0::$MONO_PATH" 
/Users/user/tmp/mono-2.4/runtime/mono-wrapper --debug 
./../../class/lib/net_2_0/nunit-console.exe 
System.Windows.Forms_test_net_2_0.dll -noshadow 
-exclude=Interactive,NotWorking,ValueAdd,CAS,InetAccess 
-output=TestResult-net_2_0.log -xml=TestResult-net_2_0.xml  || ok=false; \
	(echo ''; cat TestResult-net_2_0.log) | sed '1,/^Tests run: /d'; 
xsltproc ./../../build/nunit-summary.xsl TestResult-net_2_0.xml >> 
TestResult-net_2_0.log ; $ok
NUnit version 2.4.8
Copyright (C) 2002-2007 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. 
Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.

Runtime Environment -
    OS Version: Unix 9.6.0.0
   CLR Version: 2.0.50727.1433 ( Mono 2.4 )

Excluded categories: Interactive,NotWorking,ValueAdd,CAS,InetAccess
......................................................................................N....N..N........N..............................F.....F..F..N.N...F....................................F.N.....F......................F.......................F..............F..............N.N.........N...................................F..F..........F.................N...N..F.N..............F...F......F.............F............................................................................................................F..N.......F....................N.N............N.....................N.N.N............N........N.....................................................................................................................F..F..F...F..F..F.................................F...F...............................................................................................................................................................................F...2009-03-19 
19:11:04.733 mono[96941:3503] *** Exception handlers were not properly 
removed. Some code has jumped or returned out of an 
NS_DURING...NS_HANDLER region without using the NS_VOIDRETURN or 
NS_VALUERETURN macros.
............................................N..............................................................N......................................................................................................................................................................F.F.F..N..........F..F..F.F......N.N.F.F.F./bin/sh: 
line 1: 96941 Illegal instruction

Some of the tests fail and eventually everything dies on 'Illegal 
instruction'.

What am I missing?  Any help & suggestions appreciated.

--
Alex


More information about the Mono-osx mailing list