[Mono-bugs] [Bug 341244] New: [Regression] Crashes in threading code after update to svn r89306
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Nov 13 04:44:52 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=341244#c337383
Summary: [Regression] Crashes in threading code after update to
svn r89306
Product: Mono: Runtime
Version: SVN
Platform: i686
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at ximian.com
ReportedBy: juraj at hotfeet.ch
QAContact: mono-bugs at ximian.com
Found By: ---
This commit seems to have causes a regression:
================
r89306 | mprobst | 2007-11-09 10:37:12 +0100 (Fri, 09 Nov 2007) | 14 lines
2007-11-09 Mark Probst <mark.probst at gmail.com>
* gc.c, gc-internal.h: Don't finalize threadpool threads with
other objects, because the threadpool is still around. Put them
in a list instead and after finalizing all other objects in the
root domain shut down the thread pool and then finalize the
threads. Fixes bug #337383.
* threads.c, thread-types.h: New mono_thread_create_internal()
function for marking a thread with the threadpool flag before it
started. Set synch_cs to NULL after freeing it.
* threadpool.c: Mark threadpool threads before they start.
================
After updating to r89306, Mono crashes after several hours of usage (Apache
running several ASP.NET sites with medium traffic). I have no idea how to
reproduce the crashes any faster. Reverting this commit "solves" the problem
for us.
This is written to Apache's log:
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
CreateThread: error creating thread handle
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_handle_ref: Attempting to ref unused handle 0x584
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_handle_ref: Attempting to ref unused handle 0x40a
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_handle_ref: Attempting to ref unused handle 0x584
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_handle_ref: Attempting to ref unused handle 0x40a
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_handle_unref: Attempting to unref unused handle 0x584
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_handle_unref: Attempting to unref unused handle 0x40a
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_handle_unref: Attempting to unref unused handle 0x584
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_handle_unref: Attempting to unref unused handle 0x40a
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_thread_abandon_mutexes: error looking up thread handle 0x1b08
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_thread_set_termination_details: error looking up thread handle 0x1b08
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_handle_ref: Attempting to ref unused handle 0xef1
** (/usr/local_net2/lib/mono/2.0/mod-mono-server2.exe:590): WARNING **:
_wapi_handle_unref: Attempting to unref unused handle 0xef1
[Mon Nov 12 10:46:02 2007] [error] (104)Connection reset by peer: read_data
failed
[Mon Nov 12 10:46:02 2007] [error] (104)Connection reset by peer: read_data
failed
[Mon Nov 12 10:46:02 2007] [error] Command stream corrupted, last command was
-1
[Mon Nov 12 10:46:02 2007] [error] Command stream corrupted, last command was
-1
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list