[Pkg-mono-svn-commits] rev 3873 - in mono/branches/1.9.1-X/debian: . patches
Mirco Bauer
meebey at alioth.debian.org
Thu Dec 4 21:30:52 UTC 2008
Author: meebey
Date: 2008-12-04 21:30:51 +0000 (Thu, 04 Dec 2008)
New Revision: 3873
Added:
mono/branches/1.9.1-X/debian/patches/fix_libgc_freeze_r109502.dpatch
mono/branches/1.9.1-X/debian/patches/fix_remoting_tcp_delay_issue_r115529_r115562.dpatch
Modified:
mono/branches/1.9.1-X/debian/changelog
mono/branches/1.9.1-X/debian/patches/00list
Log:
* debian/patches/fix_TdsConnectionPool_svn.dpatch:
+ Fixed regression of SqlClient running on CLI 1.1, caused exception in
TdsConnectionPool.GetConnection(), which made the MSSQL client unusable.
(Closes: #504836, thus urgency set to high)
+ Close free and unused connections in SqlConnection.ClearPool()
(patch taken from upstream SVN revision r118308)
* debian/patches/fix_libgc_freeze_r109502.dpatch:
+ Fixed possible freeze in garbage collector.
(patch taken from upstream SVN revision r109502)
* debian/patches/fix_remoting_tcp_delay_issue_r115529_r115562.dpatch:
+ Fixed issue with TCP packets of specific sizes being delayed by the
Linux kernel using NO_DELAY.
(patch taken from upstream SVN revisions r115529 and r115562)
Modified: mono/branches/1.9.1-X/debian/changelog
===================================================================
--- mono/branches/1.9.1-X/debian/changelog 2008-12-03 23:24:32 UTC (rev 3872)
+++ mono/branches/1.9.1-X/debian/changelog 2008-12-04 21:30:51 UTC (rev 3873)
@@ -1,9 +1,20 @@
-mono (1.9.1+dfsg-5) unstable; urgency=low
+mono (1.9.1+dfsg-5) unstable; urgency=high
* debian/patches/fix_TdsConnectionPool_svn.dpatch:
- + Fixes SqlClient regression on CLI 1.1. (Closes: #504836)
+ + Fixed regression of SqlClient running on CLI 1.1, caused exception in
+ TdsConnectionPool.GetConnection(), which made the MSSQL client unusable.
+ (Closes: #504836, thus urgency set to high)
+ + Close free and unused connections in SqlConnection.ClearPool()
+ (patch taken from upstream SVN revision r118308)
+ * debian/patches/fix_libgc_freeze_r109502.dpatch:
+ + Fixed possible freeze in garbage collector.
+ (patch taken from upstream SVN revision r109502)
+ * debian/patches/fix_remoting_tcp_delay_issue_r115529_r115562.dpatch:
+ + Fixed issue with TCP packets of specific sizes being delayed by the
+ Linux kernel using NO_DELAY.
+ (patch taken from upstream SVN revisions r115529 and r115562)
- -- Mirco Bauer <meebey at debian.org> Sun, 23 Nov 2008 16:48:11 +0100
+ -- Mirco Bauer <meebey at debian.org> Thu, 04 Dec 2008 22:26:00 +0100
mono (1.9.1+dfsg-4) unstable; urgency=high
Modified: mono/branches/1.9.1-X/debian/patches/00list
===================================================================
--- mono/branches/1.9.1-X/debian/patches/00list 2008-12-03 23:24:32 UTC (rev 3872)
+++ mono/branches/1.9.1-X/debian/patches/00list 2008-12-04 21:30:51 UTC (rev 3873)
@@ -20,4 +20,6 @@
fix_IsolatedStorage_regression_r99231_r101171_r101172
fix_mono-config_man_page_r111681
fix_Assembly.LoadFrom_deadlock
+fix_remoting_tcp_delay_issue_r115529_r115562
+fix_libgc_freeze_r109502
99_autoreconf
Added: mono/branches/1.9.1-X/debian/patches/fix_libgc_freeze_r109502.dpatch
===================================================================
--- mono/branches/1.9.1-X/debian/patches/fix_libgc_freeze_r109502.dpatch (rev 0)
+++ mono/branches/1.9.1-X/debian/patches/fix_libgc_freeze_r109502.dpatch 2008-12-04 21:30:51 UTC (rev 3873)
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_libgc_freeze_r109502.dpatch by Mirco Bauer <meebey at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: r109502:
+## DP: 2008-08-03 Zoltan Varga <vargaz at gmail.com>
+## DP: * pthread_support.c (GC_thread_exit_proc): Null out the tls key to prevent the
+## DP: dtor function from being callled, since that would read freed memory.
+
+ at DPATCH@
+diff -urNad mono-1.9.1+dfsg~/libgc/pthread_support.c mono-1.9.1+dfsg/libgc/pthread_support.c
+--- mono-1.9.1+dfsg~/libgc/pthread_support.c 2007-11-08 23:07:02.000000000 +0100
++++ mono-1.9.1+dfsg/libgc/pthread_support.c 2008-12-04 22:21:47.000000000 +0100
+@@ -1192,6 +1192,11 @@
+ me = GC_lookup_thread(pthread_self());
+ GC_destroy_thread_local(me);
+ if (me -> flags & DETACHED) {
++# ifdef THREAD_LOCAL_ALLOC
++ /* NULL out the tls key to prevent the dtor function from being called */
++ if (0 != GC_setspecific(GC_thread_key, NULL))
++ ABORT("Failed to set thread specific allocation pointers");
++#endif
+ GC_delete_thread(pthread_self());
+ } else {
+ me -> flags |= FINISHED;
Property changes on: mono/branches/1.9.1-X/debian/patches/fix_libgc_freeze_r109502.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: mono/branches/1.9.1-X/debian/patches/fix_remoting_tcp_delay_issue_r115529_r115562.dpatch
===================================================================
--- mono/branches/1.9.1-X/debian/patches/fix_remoting_tcp_delay_issue_r115529_r115562.dpatch (rev 0)
+++ mono/branches/1.9.1-X/debian/patches/fix_remoting_tcp_delay_issue_r115529_r115562.dpatch 2008-12-04 21:30:51 UTC (rev 3873)
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix_remoting_tcp_delay_issue_r115529_r115562.dpatch by Mirco Bauer <meebey at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad mono-1.9.1+dfsg~/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs mono-1.9.1+dfsg/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs
+--- mono-1.9.1+dfsg~/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs 2007-11-08 23:34:28.000000000 +0100
++++ mono-1.9.1+dfsg/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpConnectionPool.cs 2008-12-04 22:16:03.000000000 +0100
+@@ -124,6 +124,13 @@
+ {
+ public ReusableTcpClient (string host, int port): base (host, port)
+ {
++ // Avoid excessive waiting for data by the tcp stack in linux
++#if NET_2_0
++ Client.NoDelay = true;
++#else
++ Client.SetSocketOption (SocketOptionLevel.Tcp,
++ SocketOptionName.NoDelay, 1);
++#endif
+ }
+
+ public bool IsAlive
Property changes on: mono/branches/1.9.1-X/debian/patches/fix_remoting_tcp_delay_issue_r115529_r115562.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-mono-svn-commits
mailing list