[Mono-bugs] [Bug 341244] [Regression] Leakage of thread handles ( leading to crash eventually)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 6 17:51:16 EST 2007


User juraj at hotfeet.ch added comment

--- Comment #5 from Juraj Skripsky <juraj at hotfeet.ch>  2007-12-06 15:51:16 MST ---
The culprit seems to be commit r87565 (or a consequence thereof):

Tue Oct 16 12:14:43 CEST 2007 Paolo Molaro <lupus at ximian.com>

        * Timer.cs: rewrote to use threadpool threads to invoke the callbacks,
        avoid Thread.Abort and Thread.Interrupt and use a single scheduler
        thread, partially from the patch of Rafael Ferreira in bug #315999.
        Fixes bug #315999, #332206.

This, in combination with a timer created in

timer = new Timer (new TimerCallback (CheckTimeouts), null, 0, 15000);

..is responsible for one leaked thread handle every 15 seconds.

The leak is gone after reverting r87565.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list