[Mono-devel-list] Thread and Timer problems

Jörg Rosenkranz joergr at voelcker.com
Tue Apr 13 04:44:33 EDT 2004


Hello Gonzalo,

> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com 
> [mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of 
> Gonzalo Paniagua Javier
> Sent: Saturday, April 10, 2004 7:44 AM
>
> > 2) Timer.Dispose throws an exception.
> > 	We are getting following exception when disposing a 
> Timer object:	
> > 
> > 	[System.NullReferenceException] Object reference not 
> set to an instance of an object
> > 		in (unmanaged) 
> /lib/libpthread.so.0(pthread_cond_broadcast+0x34) [0x40bda194]
> > 		in (unmanaged) /usr/local/lib/libmono.so.0 [0x400e993e]
> > 		in (unmanaged) /usr/local/lib/libmono.so.0 [0x400e97c0]
> > 		in (unmanaged) /usr/local/lib/libmono.so.0 [0x400ba26e]
> > 		in <0x00027> System.Threading.ManualResetEvent:Set ()
> > 		in <0x0005d> (wrapper 
> remoting-invoke-with-check) System.Threading.ManualResetEvent:Set ()
> > 		in <0x00039> Runner:Abort ()
> > 		in <0x0004f> (wrapper 
> remoting-invoke-with-check) Runner:Abort ()
> > 		in <0x00048> System.Threading.Timer:Dispose ()
> > 		in <0x0004f> (wrapper 
> remoting-invoke-with-check) System.Threading.Timer:Dispose ()
> > 	
> > 	Also not reproducible in a simple test case.
> 
> I hit this yesterday and fixed it in CVS.
> 

I've tested Mono from current CVS and the problem still persists.

Joerg.



More information about the Mono-devel-list mailing list