[Monodevelop-devel] Unittests in latest SVN

Grzegorz Sobanski silk at boktor.net
Fri Feb 20 07:05:57 EST 2009


I am using a latest trunk. Few days ago Lluis you commited
changes that allow to running unit tests in different modes - 
eg. debugging. I think this is (or would be ;) ) a great feature - 
I was missing it a lot.

Unfortunatley it killed for me an ability to launch unittests.
And some other side effects appeard at the same time, although they 
may not be related. I am curious if I'm the only one experiencing it ;)

First - the side effects, not clearly reproducible, happening randomly:
- make run - hangs sometimes, (sth like one in three runs)
	cd main && make run
	make[1]: Entering directory `/home/silk/devel/monodevelop/main'
	MOZILLA_FIVE_HOME= LD_LIBRARY_PATH=`echo "/opt/mono-2.2/lib::" | sed
	's/^://g'`d exec -a "monodevelop" /opt/mono-2.2/bin/mono --debug

	** (./build/bin/MonoDevelop.exe:2908): WARNING **: Symbol file
	has incorrect version (expected 50.0, got 39)

	** (./build/bin/MonoDevelop.exe:2908): WARNING **: Symbol file
	has incorrect version (expected 50.0, got 39)
(it stops here, no gui is shown - few minutes waiting)
	make[1]: *** [runmd] Interrupt
	make: *** [run] Interrupt

- action of openning solution, building sometimes "do not finish" -
  statusbar shows "Opening solution xxx ...", options in menus are
  grayed out, etc. Switching tabs in editor makes the action finish.
  For example: I "Run" project. It compiles fines, but MD thinks the
  compilation process is still running. Switch tabs in editor, and MD
  accepts the compilation finished, and runs the exe.
  This one was happening very often on 18.02, now it is very very rare, 
  but I see it sometimes.

And the problem with unit test - reproduced with all configs deleted and
clean build. 
Running or debugging unit tests does not work. I push "run test" on
test, and get in console:

# DebuggerServer started
Module mdhost, Version=, Culture=neutral, PublicKeyToken=null
>> OnInitialized
<< OnInitialized
Module System.Runtime.Remoting, Version=, Culture=neutral,
PublicKeyToken=b77a5c561934e089 loaded.
Module MonoDevelop.Core, Version=, Culture=neutral,
PublicKeyToken=null loaded.
Module Mono.Posix, Version=, Culture=neutral,
PublicKeyToken=0738eb9f132ed756 loaded.

System.Runtime.Serialization.SerializationException: serializationStream
supports seeking, but its length is 0
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00094] in /home/silk/devel/mono-2.2/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:181
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in /home/silk/devel/mono-2.2/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:134
  at MonoDevelopProcessHost.Main (System.String[] args) [0x000ca] in /home/silk/devel/monodevelop/main/src/tools/mdhost/src/mdhost.cs:74

And in test result pad:
(unfortunatle there is no possibility to copy the text, hence 
the screenshot).

Mono 2.2
MD tracking trunk
Ubuntu, 32b

Anyone is experiencing something similar?
I can try to debug this more, but don't really know where to start.


More information about the Monodevelop-devel-list mailing list