[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] Threads and System.Windows.Forms problems
From: |
Klaus Treichel |
Subject: |
[Pnet-developers] Threads and System.Windows.Forms problems |
Date: |
Tue, 11 May 2004 18:48:51 +0200 |
Hi,
with todays CVS snapshot of pnet i get the following errors (Suse 9.0
Kernel 2.6.5 (no NPTL):
1. in pnet make check:
Suite: Thread Sleep
-------------------
thread_sleep ... ok
thread_sleep_interrupt ... sleep returned 1 when it should have returned
0
thread_sleep_suspend ... ok
thread_sleep_suspend_ignore ... ok
Suite: Misc Thread Tests
------------------------
thread_other_object ... ok
thread_counts ... foreground thread count has not returned to 1
2. in pnetlib
TestMonitorAbortAfterWait ... failed: CSUnit.TestAssertFailed: Test
failed: Monitor.Wait threw an exception we couldn't catch!
at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148
at CSUnit.TestCase.Assert(String, Boolean) in ./TestCase.cs:168
at TestMonitor.TestMonitorAbortAfterWait() in
./System/Threading/TestMonitor.cs:1039
at System.Reflection.ClrMethod.Invoke(Object, BindingFlags,
Binder, Object[], CultureInfo)
at System.Reflection.MethodBase.Invoke(Object, Object[]) in
./System/Reflection/MethodBase.cs:58
at CSUnit.TestCase.RunTest() in ./TestCase.cs:104
at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47
at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
at CSUnit.TestMain.Main(String[]) in ./TestMain.cs:247
TestMonitorAbortDuringWait ... failed: CSUnit.TestAssertFailed: Test
failed: Monitor.Wait threw an exception we couldn't catch!
at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148
at CSUnit.TestCase.Assert(String, Boolean) in ./TestCase.cs:168
at TestMonitor.TestMonitorAbortDuringWait() in
./System/Threading/TestMonitor.cs:864
at System.Reflection.ClrMethod.Invoke(Object, BindingFlags,
Binder, Object[], CultureInfo)
at System.Reflection.MethodBase.Invoke(Object, Object[]) in
./System/Reflection/MethodBase.cs:58
at CSUnit.TestCase.RunTest() in ./TestCase.cs:104
at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47
at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
at CSUnit.TestMain.Main(String[]) in ./TestMain.cs:247
TestMonitorAbortEnter ... failed: CSUnit.TestAssertFailed: Test failed:
Monitor.Enter threw an exception we couldn't catch!
at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148
at CSUnit.TestCase.Assert(String, Boolean) in ./TestCase.cs:168
at TestMonitor.TestMonitorAbortEnter() in
./System/Threading/TestMonitor.cs:680
at System.Reflection.ClrMethod.Invoke(Object, BindingFlags,
Binder, Object[], CultureInfo)
at System.Reflection.MethodBase.Invoke(Object, Object[]) in
./System/Reflection/MethodBase.cs:58
at CSUnit.TestCase.RunTest() in ./TestCase.cs:104
at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47
at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
at CSUnit.TestMain.Main(String[]) in ./TestMain.cs:247
The bigger problems occure with the samples in pnetlib/samples/forms.
1. running FormsHello: Window appears. When i click the button the
process gets killed (same if window looses focus and gets focus again).
FormsMdi and FormsTest get killed at once.
Is anyone experiencing the same problems ?
Cheers,
Klaus.
- [Pnet-developers] Threads and System.Windows.Forms problems,
Klaus Treichel <=