[Mono-bugs] [Bug 639654] MonoTools 2.0.7509 with Mono 2.8 p6 Win XP 32 and openSUSE (11.3 i586 and 11.2 x64-64): SDB deadlock with ASP.NET applications

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 22 19:10:07 EDT 2010



--- Comment #15 from Martin Baulig <martin at novell.com> 2010-09-22 23:10:06 UTC ---
I found the problem:

SDB correctly sends me the BREAKPOINT event, but it didn't previously send any
for the thread.

I attached to the process again, and now I'm suddently seeing 110 (!) threads
(checked /proc/<pid>/task, it's
not an mdb bug).

This is with the most simple ASP.NET application that you could think of, why
do we create so many different
threads ?

For debugging in Visual Studio, it is very important to get a THREAD_CREATE /
for any thread that's created and this operation should be considered extremely
expensive.  If you do not send
a THREAD_CREATE event for some particular thread, then you must not ever send
any breakpoint, exception
or stepping event for this thread.

Apart from (most likely) being very expensive, creating dozens of unnecessary
threads is not acceptable while
debugging, we need to limit these to the absolute minimum.

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