2012-03-14 8 views
0

DebianでMonoアプリケーションのユニットテストにnunit-consoleを使用しています。すべてのテストを実行し、失敗したテストを報告した後にクラッシュします。 TestResult.xmlは生成されません。 を-outまたは-errの引数で使用すると、テストを実行してから結果を報告する前にクラッシュします。テストを実行した後にnunit-consoleがクラッシュする

別の変わったことは、テストの数を(約800から100まで)減らすと、クラッシュしないことがあるということです。さらに多くのテストケースを投げ捨てると、クラッシュの可能性が減るようです。

プラットフォーム:Debianの6、モノラル2.6.7、NUnitの2.4.7

エラーの詳細:

ERROR:../../mono/io-layer/handles-private.h:362:_wapi_handle_share_release: assertion failed: (info->handle_refs > 0) 
Stacktrace: 

at (wrapper managed-to-native) System.IO.MonoIO.Close (intptr,System.IO.MonoIOError&) <0x00050> 
at (wrapper managed-to-native) System.IO.MonoIO.Close (intptr,System.IO.MonoIOError&) <0x00050> 
at System.IO.FileStream.Dispose (bool) <0x000b7> 
at System.IO.Stream.Close() <0x0001b> 
at System.IO.StreamWriter.Dispose (bool) <0x000c8> 
at System.IO.StreamWriter.Close() <0x0001b> 
at NUnit.ConsoleRunner.ConsoleUi.Execute (NUnit.ConsoleRunner.ConsoleOptions) <0x007ed> 
at NUnit.ConsoleRunner.Runner.Main (string[]) <0x00487> 
at NUnit.ConsoleRunner.Class1.Main (string[]) <0x0000f> 
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0x00054> 

Native stacktrace: 

/usr/bin/cli() [0x487ad6] 
/lib/libpthread.so.0(+0xeff0) [0x7fdd0379aff0] 
/lib/libc.so.6(gsignal+0x35) [0x7fdd031da1b5] 
/lib/libc.so.6(abort+0x180) [0x7fdd031dcfc0] 
/lib/libglib-2.0.so.0(g_assertion_message+0x131) [0x7fdd03e175d1] 
/lib/libglib-2.0.so.0(g_test_timer_start+0) [0x7fdd03e17b50] 
/usr/bin/cli() [0x59d649] 
/usr/bin/cli() [0x597658] 
/usr/bin/cli() [0x597774] 
/usr/bin/cli() [0x5095fc] 
[0x4135b410] 

Debug info from gdb: 

================================================================= 
Got a SIGABRT while executing native code. This usually indicates 
a fatal error in the mono runtime or one of the native libraries 
used by your application. 
================================================================= 


** (/usr/lib/nunit/nunit-console.exe:7436): WARNING **: process_set_termination_details: error looking up process handle 0x403 
+1

いつものように、私はあなたのモノをアップデートすることから始めます。 2.6.7はほぼ2歳です。 – skolima

答えて

0

/noshadowとNUnitのを実行してみてください、私は、これは長い時間前に、助けるために使用思い出します。

+0

残念ながら、これは役に立ちません。 –

+0

そして新しいモノバージョン? – skolima

関連する問題