RE: [Pnet-developers] Threads and System.Windows.Forms problems

"Thong (Tum) Nguyen" <tum-x2aT3/[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
Hi Klaus,

The fix has been committed to CVS.  Thanks for the heads up and sorry for
any inconvenience.

Regards,

^Tum

> -----Original Message-----
> From: ktreichel-S0/[email protected] [mailto:ktreichel-S0/[email protected]]
> Sent: Wednesday, 12 May 2004 5:36 p.m.
> To: Thong (Tum) Nguyen
> Subject: RE: [Pnet-developers] Threads and System.Windows.Forms problems
> 
> Hi Tum,
> 
> i have made make distclean && ./auto_gen.sh ... all the way through in
> pnet and pnetlib. The problem persists with the current CVS snapshot
> (05/12/2004 07:30 am CEST)
> 
> Cheers,
> 
> Klaus.
> 
> Am Mi, den 12.05.2004 schrieb Thong (Tum) Nguyen um 4:14:
> > Hi Klaus,
> >
> > I've fixed the test_thread problems.
> >
> > The pnetlib test results are expected at the moment -- there's a bug in
> the
> > exception catching code which is being worked on.  We should probably
> > disable those abort tests until the bug is resolved.
> >
> > I'll be able to investigate the FormsHello problem once I find a linux
> box.
> > Did you make sure you did a make distclean and auto_gen?  Some engine
> data
> > structures changed and that often will cause a segfault if you don't
> rebuild
> > from scratch.
> >
> > Regards,
> >
> > ^Tum
> >
> > > -----Original Message-----
> > > From: ktreichel-S0/[email protected] [mailto:ktreichel-S0/[email protected]]
> > > Sent: Wednesday, 12 May 2004 4:49 a.m.
> > > To: Pnet Developers
> > > Subject: [Pnet-developers] Threads and System.Windows.Forms problems
> > >
> > > 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 mailing list
> > > [email protected]
> > > http://dotgnu.org/mailman/listinfo/pnet-developers
> >
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.