Re: [Mono-dev] TCP Async

2012-08-16 Thread Gonzalo Paniagua Javier
On Thu, Aug 9, 2012 at 11:57 AM, Greg Young gregoryyou...@gmail.com wrote: This would be a good one to get into trunk https://github.com/ysw/mono-socket-problem/blob/master/Patches/cb_fix.patch Rodrigo, I did the patch above and it seems to make things better for Greg. I can't push it right

Re: [Mono-dev] ConcurrentStack with value type in 2.10

2012-07-22 Thread Gonzalo Paniagua Javier
I have added bug #6229 with this information: https://bugzilla.xamarin.com/show_bug.cgi?id=6229 -Gonzalo On Sun, Jul 22, 2012 at 4:10 AM, Yuriy Solodkyy yu...@couldbedone.com wrote: Hi, It looks like the ConcurrentStack does not work with big enough structures anymore. 12 bytes struct is

Re: [Mono-dev] TCP Async

2012-07-21 Thread Gonzalo Paniagua Javier
On Tue, Jul 17, 2012 at 7:49 AM, Greg Young gregoryyou...@gmail.com wrote: Hey all. As this is a big issue for us and I feel a huge problem for mono in general at this point as it means sockets basically dont work which is a strong point of unix environments, I would like to propose something

Re: [Mono-dev] TCP Async

2012-06-28 Thread Gonzalo Paniagua Javier
On Wed, Jun 27, 2012 at 9:23 AM, Greg Young gregoryyou...@gmail.com wrote: Trying to get it into a testcase has been very difficult unfortunately we only really see it at saturation levels and not commonly. Seems like some kind of internal race condtion. Are the begin/end calls more stable

Re: [Mono-dev] Potential security problem on EndPointManager.cs

2012-03-24 Thread Gonzalo Paniagua Javier
On Sat, Mar 24, 2012 at 9:38 AM, 정연운(Jung, Yeonwoon) flo...@gmail.com wrote: [...] As you might know, this could be a potential vulnerability in term of network security. If someone opens port on their machine with multiple network interfaces combined with public/private IPs, even the person

Re: [Mono-dev] Performance counters are not working under linux mono platform

2012-02-10 Thread Gonzalo Paniagua Javier
On Fri, Feb 10, 2012 at 2:55 AM, Gonzalo Paniagua Javier gonzalo.m...@gmail.com wrote: On Fri, Feb 10, 2012 at 12:43 AM, balaji bala...@amiindia.co.in wrote: Hi, Does anyone know why Performance counters return zero value in the code below when executing under linux mono platform

Re: [Mono-dev] Performance counters are not working under linux mono platform

2012-02-10 Thread Gonzalo Paniagua Javier
On Fri, Feb 10, 2012 at 5:55 AM, balaji bala...@amiindia.co.in wrote: HI Gonzalo ,   Thanks for the info.. Can you clarify the following Is there any possibility to get performance counter values for non-mono specific processes of a linux machine through C# program.  i have tried to

[Mono-dev] Test

2012-01-13 Thread Gonzalo Paniagua Javier
This is a test. -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

[Mono-dev] Test

2012-01-13 Thread Gonzalo Paniagua Javier
Ignore. -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] StackOverflow on System.Delegate.Equals

2011-04-04 Thread Gonzalo Paniagua Javier
On Mon, 2011-04-04 at 20:48 +0100, Alan wrote: Aren't event handler methods emitted with a [synchronized] attribute by default which would prevent this issue? You can check by disassembling the IL and seeing if its there. They are synchronized as long as you don't replace the default

Re: [Mono-dev] [PATCH] System.Windows.Forms.Mime: Use freedesktop.org only on Unix platforms.

2011-03-29 Thread Gonzalo Paniagua Javier
On Tue, 2011-03-29 at 14:02 -0500, Vincent Povirk wrote: This shouldn't be used in an environment like Wine, where the FDO mime files of a real Windows system can be accessed. Applied to mono-2-10 and master. Thanks! -Gonzalo ___ Mono-devel-list

Re: [Mono-dev] threadpool win32 breakage, getting worse

2011-03-18 Thread Gonzalo Paniagua Javier
On Tue, 2011-03-15 at 19:15 +0900, Atsushi Eno wrote: Gonzalo, Can you please fix Windows threadpool issue first before it becomes worse than the previous state that we could only revert it to 32b3b31? Now we cannot even revert it to that revision: threadpool.c:2025: error: too few

Re: [Mono-dev] [PATCH] Replace ENABLE_COREE with a runtime switch.

2011-03-17 Thread Gonzalo Paniagua Javier
On Mon, 2011-03-07 at 14:11 -0600, Vincent Povirk wrote: This patch mostly reverts 666d37829304e85f72969c44e92bc11ca167a272, which put Mono's mixed-mode support in #ifdef ENABLE_COREE, disabling it by default on Windows. It was disabled because it broke the verifier, and it still does.

Re: [Mono-dev] [PATCHES] Improve process exit/wait handling

2011-03-16 Thread Gonzalo Paniagua Javier
Awesome patches. Comments below. On Thu, 2011-03-17 at 00:26 +0100, Rolf Bjarne Kvinge wrote: [...] 4) Improve waiting on processes a lot Here are all the juicy bits: I changed process waiting to use a SIGCHLD handler and automatically wait on all processes. This fixes #668867. I

Re: [Mono-dev] FileSystemWatcher on Windows (compared to .NET4)

2011-02-09 Thread Gonzalo Paniagua Javier
On Mon, 2011-02-07 at 14:28 -0800, kpfaulkner wrote: Hi I've noticed that the results for renamed and delete events on mono (2.8.2) and native .NET 4 are different. If I rename a directory for example I get: - mono I get a bunch of delete and create's... which is fairly useful. -

Re: [Mono-dev] Finalizers in CriticalHandle

2011-01-21 Thread Gonzalo Paniagua Javier
On Thu, 2011-01-20 at 16:15 +, Dick Porter wrote: On 17 Jan 2011, at 6:00PM, Rodrigo Kumpera wrote: I'm not sure what the defined behavior is on this case, MSDN is not always accurate and we need to be as compatible with MS as possible. Could you please write a test case, and if

Re: [Mono-dev] Bug in System.Web.Caching.Get() / Timer.Change() ?

2010-11-23 Thread Gonzalo Paniagua Javier
On Mon, 2010-11-22 at 15:05 +0100, jriepsh...@ujam.com wrote: Dear all, on running Stress Test on our program, we encountered following exception: System.ArgumentException: Key 'System.Threading.Timer' already exists in list. at System.Collections.SortedList.PutImpl (System.Object key,

Re: [Mono-dev] Problem building mono-2.8.1

2010-11-23 Thread Gonzalo Paniagua Javier
On Tue, 2010-11-23 at 13:31 +, Paul F. Johnson wrote: Hi, Just working through the latest tarballs and have found I can't build due to the following /home/paul/rpmbuild/BUILD/mono-2.8.1/mcs/class/lib/moonlight_raw/System.dll (Location of the symbol related to previous warning)

Re: [Mono-dev] [PATCH] XSP: FastCGI Backend should handle unmanaged socket error 10038 on close

2010-11-04 Thread Gonzalo Paniagua Javier
On Sat, 2010-02-20 at 15:30 -0600, Tiaan Geldenhuys wrote: [Reposting -- should have done it earlier. The mailing-list servers were weird over new-year's weekend, since it told me I was sending emails from the future; now actually being in the future, I hope that resending emails from the past

Re: [Mono-dev] High Traffic Site (for Harry Potter 7) is crashing!

2010-10-26 Thread Gonzalo Paniagua Javier
On Tue, 2010-10-26 at 13:59 -0700, Matthew Urbano wrote: I've created a site for the new Harry Potter movie which is expected to get a high volume of traffic, and on launch day we are now crashing. We are getting the following errors on the webservers due to traffic: Maximum number of

Re: [Mono-dev] High Traffic Site (for Harry Potter 7) is crashing!

2010-10-26 Thread Gonzalo Paniagua Javier
Oh, forgot another small detail. What does 'ulimit -n' report in that server? -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] [Patch] Fix bug where HttpWebRequest.BeginResponse never completes

2010-10-04 Thread Gonzalo Paniagua Javier
On Thu, 2010-09-30 at 20:16 -0400, Bassam Tabbara wrote: We are seeing a case where HttpWebRequest.BeginResponse never completes even through there is a response outstanding on the connection. We see this with mono 2.6.7. I’ve traces this down to the HttpWebRequest.SetResponseData method.

Re: [Mono-dev] HttpListener https bug?

2010-09-09 Thread Gonzalo Paniagua Javier
On Wed, 2010-09-08 at 18:10 -0700, salar2k wrote: Guess it doesn't needed because the issue occurs even with your peace of program. And yes i'm working on kind of proxy software. (is that important?) Yes. The way the browser tries to set up a https connection through the proxy is by using

Re: [Mono-dev] HttpListener https bug?

2010-09-08 Thread Gonzalo Paniagua Javier
On Tue, 2010-09-07 at 22:56 -0700, salar2k wrote: Thanks for the reply. I've done the way you did and it works. But that was not my issue. Try to set browser's proxy to localhost:9667 and browse https://mail.google.com/mail/ . You will see it doesn't work and connection resets. This

Re: [Mono-dev] HttpListener https bug?

2010-09-07 Thread Gonzalo Paniagua Javier
I've followed the steps in http://www.mono-project.com/UsingClientCertificatesWithXSP to create a root certificate and a client certificate (instead of generating a .p12, I created a .pvk and a .cer) and then used the client certificate as my server's. Then I created a small program (attached

Re: [Mono-dev] Cannot get UrlRewriter.net to work with Mono 2.6.7

2010-08-25 Thread Gonzalo Paniagua Javier
On Mon, 2010-08-23 at 19:02 -0700, Matthew Urbano wrote: I'm trying to rewrite some URLs using Intelligencia.UrlRewriter.dll from UrlRewriter.net. I have added the reference to the dll, placed the dll in the site's bin folder, and added the following lines to my web.config [...] Am I

Re: [Mono-dev] [patch] exception while loading configuration

2010-08-05 Thread Gonzalo Paniagua Javier
On Thu, 2010-08-05 at 16:50 +0200, Jb Evain wrote: Hey, While investigating an issue and running with MONO_ENV_OPTIONS=--trace=E:all I noticed that when we're loading the current configuration, we throw and immediately swallow an exception when there's no .config file for the current

[Mono-dev] Migration to GitHub completed!

2010-07-22 Thread Gonzalo Paniagua Javier
Hello, Our migration to GitHub is now completed. See http://mono-project.com/GitFAQ for more details. svn+ssh://mono-cvs.ximian.com/source will be kept alive in read-only mode. Happy hacking! -Gonzalo ___ Mono-devel-list mailing list

[Mono-dev] [IMPORTANT] Save the date: Migration to git on Thursday July 22nd

2010-07-19 Thread Gonzalo Paniagua Javier
We are moving our source code repository to GitHub. On July 22nd ~9am EDT (1300 GMT) the subversion repository at svn +ssh://mono-cvs.ximian.com/source will be set to read-only mode and kept that way forever. We estimate that the process of migrating all the projects and moving them to GitHub

[Mono-dev] Migration to git: testing

2010-07-16 Thread Gonzalo Paniagua Javier
Hello, We are testing the svn to git migration of all (or most of) the projects in Mono's subversion repository. GitHub is kindly providing their servers to host the new git repositories. By now, there are three projects uploaded that can be cloned from the following URLs:

Re: [Mono-dev] [PATCH] Implement System.Net.WebClient.set_CachePolicy.

2010-07-16 Thread Gonzalo Paniagua Javier
On Tue, 2010-07-06 at 14:50 -0500, Vincent Povirk wrote: The value is currently ignored, but that is a problem for WebRequest. This is now in svn. Thanks! -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] Test Suite Failures, Revision 2

2010-04-05 Thread Gonzalo Paniagua Javier
On Mon, 2010-04-05 at 14:28 +0900, Atsushi Eno wrote: -- test-System_ServiceModel -- 6 sporadic timeouts started in r154243 (Gonzalo) http://build.mono-project.com/GetFile.aspx?id=2257888 Gonzalo, tell me if you got some fixes. I'll stick to r154237 so far (after updating my repo it

Re: [Mono-dev] UdpClient.Receive returns invalid IPv6 address.

2010-04-02 Thread Gonzalo Paniagua Javier
On Fri, 2010-04-02 at 17:13 +0400, lost wrote: Hello. I'm using Debian 5 with Mono 2.4.2.3 from backports.org I have simple reply application written in F#: Can you enter this information in bugzila.novell.com (see mono-project.com/Bugs)? -Gonzalo

Re: [Mono-dev] [PATCH] Improve System.Net.WebClient's CreateUri(Uri address) query string handling

2010-03-21 Thread Gonzalo Paniagua Javier
with a string or Uri. Is it safe to assume that the patch won't get committed until this issue is resolved? Jon --- On Sat, 3/20/10, Gonzalo Paniagua Javier gonzalo.m...@gmail.com wrote: From: Gonzalo Paniagua Javier gonzalo.m...@gmail.com Subject: Re: [Mono-dev] [PATCH] Improve

Re: [Mono-dev] [Mono-patches] r153961 - trunk/mono/mono/metadata

2010-03-21 Thread Gonzalo Paniagua Javier
Andreas, I would just #ifdef out the entire case statement so if that protocol is used by any program and is not supported, the program will get the appropriate exception. -Gonzalo On Sun, 2010-03-21 at 14:55 -0400, Andreas Färber (andreas.faer...@web.de) wrote: Author: afaerber Date:

Re: [Mono-dev] [Mono-patches] r153961 - trunk/mono/mono/metadata

2010-03-21 Thread Gonzalo Paniagua Javier
On Sun, 2010-03-21 at 23:54 +0100, Andreas Färber wrote: Hi Gonzalo, Am 21.03.2010 um 23:30 schrieb Gonzalo Paniagua Javier: I would just #ifdef out the entire case statement so if that protocol is used by any program and is not supported, the program will get the appropriate

Re: [Mono-dev] [PATCH] Improve System.Net.WebClient's CreateUri(Uri address) query string handling

2010-03-21 Thread Gonzalo Paniagua Javier
On Sun, 2010-03-21 at 21:34 -0700, Jon Herron wrote: Thanks for the commit, there still seems to be an issue when WebClient's QueryString property is set - it appears to be ignoring it if the address has a query string as well, instead of appending it to address' query string. I've included a

Re: [Mono-dev] [PATCH] Improve System.Net.WebClient's CreateUri(Uri address) query string handling

2010-03-19 Thread Gonzalo Paniagua Javier
On Fri, 2010-03-19 at 21:08 -0700, Jon Herron wrote: This patch fixes an issue I ran into when passing a Uri to WebClient's DownloadString method that contains a query string - CreateUri would re-append the query string to the end of the uri. This makes CreateUri work similar to MakeUri. I

[Mono-dev] Heads up: building System in trunka and mono-2-6

2010-03-10 Thread Gonzalo Paniagua Javier
If you see any error when compiling System in trunk or 2-6 related to a type mismatch or similar (System.Net), it means that you need to either 'make clean' or 'make make install' in Mono.Security before building System. -Gonzalo ___ Mono-devel-list

Re: [Mono-dev] Here's a patch for /dev/shm/mono.pid's piling up on Linux

2010-03-03 Thread Gonzalo Paniagua Javier
On Wed, 2010-03-03 at 05:54 -0800, cpMon wrote: Here's a patch you should consider for mono-2.6.1. Specifically, I noticed that /dev/shm/mono.pid files were piling up and not being cleaned up as they should have been. mono-mmap.c tries to get rid of stale ones with a kill but they don't check

Re: [Mono-dev] Removing Obsolete Code from Mono 2.8

2010-03-01 Thread Gonzalo Paniagua Javier
On Mon, 2010-03-01 at 10:13 -0800, Daniel Morgan wrote: Obsolete Types in .NET 4.0 http://msdn.microsoft.com/en-us/library/ee461503%28VS.100%29.aspx Here's my 2 cents. Remove Mono.Data.dll which has been superceded by the provider factory added to System.Data.dll in .NET 2.0. The

Re: [Mono-dev] Making MONO_DISABLE_SHM the default for 2.8 ?

2010-02-25 Thread Gonzalo Paniagua Javier
On Fri, 2010-02-26 at 01:45 +0100, Zoltan Varga wrote: Mono currently implements a shared handle mechanism to support .net applications which share handles between processes, a windows feature. This requires sharing state between mono processes, which is very problematic, so I would

[Mono-dev] Mono servers maintenance: 11am-noon EST Saturday Feb. 20th

2010-02-19 Thread Gonzalo Paniagua Javier
We have just been informed that tomorrow, Saturday 20th, some of the Mono servers will be shutdown and restarted at some point between 11am and noon. This will affect the following servers: * go-mono.com * mono-cvs.ximian.com * mono.ximian.com * the download and

Re: [Mono-dev] [PATCH] Fix HashSetT when used with nulls and non-default comparer

2010-02-13 Thread Gonzalo Paniagua Javier
On Sat, 2010-02-13 at 17:39 +0100, Jb Evain wrote: Hey Tiaan, On Fri, Feb 12, 2010 at 3:39 AM, Tiaan Geldenhuys tag...@gmail.com wrote: Please review carefully before committing. (I hope those long expressions are right -- they seem to be though.) Could you please file a bug and attach

Re: [Mono-dev] mono 2.6+ : Garbage added to BinaryWriter/GZipStream output?

2010-01-31 Thread Gonzalo Paniagua Javier
On Sun, 2010-01-31 at 13:29 -0500, Miguel de Icaza wrote: Hello Hin-Tak, There was a bug in Mono 2.6 that got fixed in a service release (2.6.1). Could you confirm which Mono version you are running? Use: mono --version on the command line. I applied the patch that Hin-Tak sent

Re: [Mono-dev] poor compression with mono 2.6 (Re: mono 2.6+ : Garbage added to BinaryWriter/GZipStream output?)

2010-01-27 Thread Gonzalo Paniagua Javier
On Thu, 2010-01-28 at 03:19 +, Hin-Tak Leung wrote: sorry, attached the wrong patch in the previous e-mail. (ReadStream probably should use NO_FLUSH For performance as well?). File the issue as Bug 574597 , since mono 2.4 behaves much better (and better than MS .Net), mono 2.6's

Re: [Mono-dev] Why not build official site on ASP.NET? Mono should enhance server performance and stability!

2009-12-07 Thread Gonzalo Paniagua Javier
On Mon, 2009-12-07 at 07:57 +0800, Laser Lu wrote: I was just wondering, why the mono official site was not built on ASP.NET/C#? That would be a good demonstration. Currently, I’m developing a Web IM program, and it works fine on Windows/.NET. However, the same code had a poor performance

Re: [Mono-dev] Why not build official site on ASP.NET? Mono should enhance server performance and stability!

2009-12-07 Thread Gonzalo Paniagua Javier
On Mon, 2009-12-07 at 07:57 +0800, Laser Lu wrote: [...] So I doubt whether Mono is suitable for developing server programs which should be able to handle a huge amount of concurrent requests. quote [1]I doubt you know what you're talking about/quote [1] because Mono XSP and a fairly large part

Re: [Mono-dev] Why not build official site on ASP.NET? Mono should enhance server performance and stability!

2009-12-07 Thread Gonzalo Paniagua Javier
On Mon, 2009-12-07 at 15:12 -0200, Rafael Teixeira wrote: You could look at the source of MonoTorrent, and also of XSP that does use a separate ThreadPool AFAIR. XSP does not use and has never had a separate threadpool. -Gonzalo ___ Mono-devel-list

Re: [Mono-dev] Patch

2009-11-16 Thread Gonzalo Paniagua Javier
On Fri, 2009-11-13 at 12:06 -0500, James P Michels III wrote: I would like to submit this patch to correct a minor mistake in the DefaultWatcher.cs source. The change corrects an instance of unsynchronized access to shared state and is probably the intent of the original code. The patch

Re: [Mono-dev] HttpOnly and Expires not handled by CookieContainer.SetCookies(Uri, string)

2009-10-25 Thread Gonzalo Paniagua Javier
On Sat, 2009-10-24 at 22:20 -0700, Tom Philpot wrote: While troubleshooting a web service authentication problem our app is having, I noticed that CookieContainer.SetCookies(Uri, string) has a few problems. 1) It assumes that the Set-Cookie header only has one cookie in it, since it does

Re: [Mono-dev] [Mono-patches] r144627 - in trunk/mcs/class/corlib: System.Threading Test/System.Threading

2009-10-23 Thread Gonzalo Paniagua Javier
On Thu, 2009-10-22 at 09:53 -0400, Sebastien Pouliot wrote: On Thu, 2009-10-22 at 11:38 -0200, Rodrigo Kumpera wrote: Hey Sebastien, If a given test doesn't work under MS, please don't mark it as NotWorking since this is used to flag problems on mono's side and not on the test itself.

Re: [Mono-dev] 2.6 preview 1

2009-10-23 Thread Gonzalo Paniagua Javier
On Thu, 2009-10-22 at 15:06 -0700, Anthony Bowker wrote: I haven't seen much chatter (on mono-devel-list) recently about the 2.6 release. I wondered, is it would be possible to get a fix for https://bugzilla.novell.com/show_bug.cgi?id=495957, a regression from 2.2, into the 2.6 release? I

Re: [Mono-dev] License compiler for mono (the actual tool)

2009-10-21 Thread Gonzalo Paniagua Javier
On Wed, 2009-10-21 at 09:18 +0200, Carlo Kok wrote: On 10/17/2009 12:35 AM, Gonzalo Paniagua Javier wrote: I'm afraid I have no idea how to do that. I've never created a MAN file. Use one from mono/man as a template and don't be afraid :-) heh, attached is an lc.1 file

Re: [Mono-dev] License compiler for mono (the actual tool)

2009-10-16 Thread Gonzalo Paniagua Javier
On Fri, 2009-10-16 at 10:15 +0200, Carlo Kok wrote: On 10/16/2009 5:20 AM, Gonzalo Paniagua Javier wrote: On Tue, 2009-10-13 at 15:43 +0200, Carlo Kok wrote: attached to this mail is a (working) license compiler for mono (converts a licx file to a .licenses file that can be embedded

Re: [Mono-dev] [patch] implements RuntimeLicenseContext (Deserialization) design time serialization

2009-10-15 Thread Gonzalo Paniagua Javier
On Tue, 2009-10-13 at 13:49 +0200, Carlo Kok wrote: The attached patch implements the loading into the runtime license context to allow pre-compiled websites applications with licenses to properly run. It also implements the DesignTimeLicenseContext serialization support so once an LC

Re: [Mono-dev] License compiler for mono (the actual tool)

2009-10-15 Thread Gonzalo Paniagua Javier
On Tue, 2009-10-13 at 15:43 +0200, Carlo Kok wrote: attached to this mail is a (working) license compiler for mono (converts a licx file to a .licenses file that can be embedded as a resource). Works with the patch I sent earlier but also without (has a temporary workaround for that). It

Re: [Mono-dev] asp.net application accessible via http and https

2009-10-13 Thread Gonzalo Paniagua Javier
On Tue, 2009-10-13 at 10:18 +0200, Cyrille Colin wrote: hi all, i would like to run an asp.net application accessible via http and https simultaneously on linux and use Request.IsSecureConnection to know protocol that have been used. Is there a way to configure mod-mono or apache to have this

Re: [Mono-dev] [PATCH] Network Performance Counters - V2

2009-10-11 Thread Gonzalo Paniagua Javier
On Sat, 2009-10-10 at 17:17 -0400, Joel Reed wrote: This is version 2 of my network performance counters patch. I rebased it onto the 20091009 daily tarball. Per Gonzalo's comments seen here: http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg22135.html, I've: 1) Modified

Re: [Mono-dev] [PATCH] Network Performance Counters - V2

2009-10-11 Thread Gonzalo Paniagua Javier
On Sun, 2009-10-11 at 20:36 -0400, Joel Reed wrote: I can do paper work if u like. I hereby state this patch to be released under the MIT/X11 license. The patch is in svn trunk and mono-2-6 now. I made a small change in network_cleanup because narg-name was not being freed. Thanks! -Gonzalo

Re: [Mono-dev] Ping throwing exception

2009-09-29 Thread Gonzalo Paniagua Javier
On Mon, 2009-09-28 at 12:22 -0400, Gladish, Jacob wrote: I'm getting an exception from an application that is repeatedly running pings. The Ping class looks like it'll switch between invoking /bin/ping and sending an ICMP directly depending on the user. I'm running as a non-privileged user,

Re: [Mono-dev] [PATCH] Network Performance Counters

2009-09-29 Thread Gonzalo Paniagua Javier
On Mon, 2009-09-28 at 22:11 -0400, Joel Reed wrote: The attached patch implements 3 Network Interface performance category counters. The counters are Bytes Received/sec, Bytes Sent/sec, and Bytes Total/sec. A sample program using these counters and sample output is attached as well. This

Re: [Mono-dev] HttpContext.cs, The type or namespace name `Assembly' could not be found.

2009-09-29 Thread Gonzalo Paniagua Javier
On Tue, 2009-09-29 at 18:09 +0900, KISHIMOTO, Makoto wrote: Hello, Mono SVN trunk build broken, in my FreeBSD RELENG_8. ...(snip) gmake[8]: Entering directory `/export/home/ksmakoto/Mono/mcs/class/System.Web' MCS [net_1_1] System.Web.dll System.Web/HttpContext.cs(59,24): error

Re: [Mono-dev] Patch for HttpRuntime and HttpServerUtility to bring API in sync with .NET 2.0 SP2

2009-09-29 Thread Gonzalo Paniagua Javier
On Tue, 2009-09-29 at 17:07 -0400, Nick Berardi wrote: Hi guys, I looked in to this more and there are a couple issues that popped up when trying to implement the following method: public void TransferRequest(string path, bool preserveForm, string method, NameValueCollection headers)

Re: [Mono-dev] Assembly loader load several times the same dll

2009-09-21 Thread Gonzalo Paniagua Javier
On Mon, 2009-09-21 at 14:06 +0200, APS wrote: No hints? Each assembly is loaded once per application domain and each asp.net application runs in its own domain... -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] web.config Assembly binding not working

2009-09-21 Thread Gonzalo Paniagua Javier
On Mon, 2009-09-21 at 14:06 +0200, APS wrote: No hints? We should probably copy that sectin when making a shadow copy of the assembly. Do you mind entering a bug report? (see http://mono-project.com/Bugs) -Gonzalo ___ Mono-devel-list mailing list

Re: [Mono-dev] [Mono-patches] r142362 - in trunk/gtk-sharp: . glib

2009-09-21 Thread Gonzalo Paniagua Javier
Brad, When explicitly calling Dispose(), Remove() and Source.Remove () are called. Both will acquire a lock to access the same table and attempt to remove the same ID... -Gonzalo On Mon, 2009-09-21 at 22:19 -0400, Brad Taylor (b...@getcoded.net) wrote: Author: btaylor Date: 2009-09-21

Re: [Mono-dev] BinaryReader does not reset decoder

2009-09-19 Thread Gonzalo Paniagua Javier
On Wed, 2009-09-09 at 16:31 +0200, Martin Dvořák wrote: Hi, While looking at the source code of System.IO.BinaryReader [1] I noticed it reuses char decoder and I'm just wondering whether it is ok that the BinaryReader does not reset its internal state before the loop in ReadString method.

Re: [Mono-dev] Windows Eglib Build Broken

2009-09-03 Thread Gonzalo Paniagua Javier
On Wed, 2009-09-02 at 14:56 -0500, Jonathan Pobst wrote: Hey guys, The Windows Eglib (MSVC) build is broken. The error is this: C:\mono-workspace\mono\msvc\mono.sln (default target) (1) - (Libraries\monoposixhelper target) - c:\Program Files\Microsoft Visual Studio

Re: [Mono-dev] [PATCH] Re: Patch to fix comparison of DateTime objects in Mono.Data.SqlExpressions

2009-08-31 Thread Gonzalo Paniagua Javier
On Sat, 2009-08-15 at 00:41 -0700, Adam Wendt wrote: It would be nice to get this patch in SVN so that it can make its way into one of the next few releases. Is there something holding this up? This has been applied in trunk. Thanks! -Gonzalo ___

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-15 Thread Gonzalo Paniagua Javier
On Wed, 2009-07-15 at 13:29 +0200, pablosantosl...@terra.es wrote: [...] Your guess is wrong. Those asynchronous calls from Socket are treated as if they were a WorkItem for a ThreadPool, only that when they are made, the socket is added to an epoll fd (if you're on linux with support for

Re: [Mono-dev] status of System.Messaging in Mono

2009-07-15 Thread Gonzalo Paniagua Javier
On Wed, 2009-07-15 at 22:47 +0100, Michael Barker wrote: Is this info anywhere in the wiki? It would be nice if the System.Messaging page was updated... (and no, I'm not volunteering ;-). Some updates made, I'll endeavour to keep it up to date as my work progresses.

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-14 Thread Gonzalo Paniagua Javier
On Tue, 2009-07-14 at 11:12 +0200, pablosantosl...@terra.es wrote: Hi Gonzalo, Testing PlasticSCM under really heavy load (hundreds of clients against a single server delivering hundreds of Gb over the network). So no profiling... Comparing the same code, the same

Re: [Mono-dev] sending smtp email under SSL

2009-07-14 Thread Gonzalo Paniagua Javier
Try setting the certificate validation callback. If you're running mono from HEAD (if you don't know what this is, you are not): --- // This will trust *any* certificate ServicePointManager.ServerCertificateValidationCallback += delegate(object sender,

Re: [Mono-dev] Performance of TextWriter.ReadToEnd()

2009-07-14 Thread Gonzalo Paniagua Javier
On Tue, 2009-07-14 at 18:06 -0500, Jimmy Tang wrote: I'm playing around with some of the language shootout game benchmarks at http://shootout.alioth.debian.org, and I noticed a striking performance issue; I'm testing on mono 2.4 build 6 / vista64 vs .NET 3.5 sp1. Test code: static void

Re: [Mono-dev] [PATCH] 2 Small fixes in the System.Web Namespace

2009-07-14 Thread Gonzalo Paniagua Javier
This is now in mono-2-4 and HEAD. Thanks. -Gonzalo On Wed, 2009-07-08 at 16:17 +, Daniel Gagne wrote: This patch contains 2 small midfications in the System.Web namespace: ParserErrorCollection - Added Setter enum ApplicationShutdownReason - Added new 3.5 type danny

Re: [Mono-dev] TcpServerChannel loosing connections under heavy load

2009-07-13 Thread Gonzalo Paniagua Javier
On Mon, 2009-07-13 at 19:36 +0200, pablosantosl...@terra.es wrote: [...] That should be modified to make use of the .NET ThreadPool and use asynchronous operations for accept, read and write (this last one is not mandatory). There's code in xsp that illustrates the way it should be done.

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-13 Thread Gonzalo Paniagua Javier
On Mon, 2009-07-13 at 19:39 +0200, pablosantosl...@terra.es wrote: Hi all, On BinaryServerFormatterSink.cs, a new MemoryStream is being created to attend every remoting call. Under high load conditions it will make the GC work harder than required, both decreasing performance and

Re: [Mono-dev] TcpServerChannel loosing connections under heavy load

2009-07-13 Thread Gonzalo Paniagua Javier
On Sun, 2009-07-12 at 00:11 +0200, pablosantosl...@terra.es wrote: Hi, I'm having issues with Mono remoting under high performance networking scenarios. Some clients are rejected since the server is not able to handle connections. Look at the following code inside TcpServerChannel

Re: [Mono-dev] Memory usage on Mono remoting

2009-07-13 Thread Gonzalo Paniagua Javier
On Mon, 2009-07-13 at 19:59 +0200, pablosantosl...@terra.es wrote: [...] Are you volunteering? Have you profiled the application or is this just a guess? Testing PlasticSCM under really heavy load (hundreds of clients against a single server delivering hundreds of Gb over the

Re: [Mono-dev] [PATCH] ShellExecuteEx

2009-07-10 Thread Gonzalo Paniagua Javier
On Fri, 2009-07-10 at 17:04 -0400, Bill Holmes wrote: Hi, The attached patch fixes Mono on Windows not respecting the WindowStyle property of the start info when calling Process.Start with UseShellExecute set to true. Looks good. -Gonzalo ___

Re: [Mono-dev] [PATCH] System.Web ParseError - API Compatibility (added 3 missing members)

2009-07-07 Thread Gonzalo Paniagua Javier
On Mon, 2009-07-06 at 16:15 -0400, Daniel Gagne wrote: Hi, This is my first patch submission, so I decided to attack some low hanging fruit to understand the entire build/patch/submission process. This is now in HEAD and mono-2-4. Thanks. -Gonzalo

Re: [Mono-dev] Understanding web application loading time

2009-05-14 Thread Gonzalo Paniagua Javier
On Thu, 2009-05-14 at 18:56 +0200, APS wrote: Without batch compilation the application starts faster but opening a new page results in minutes of waiting. I tried strace on mod_mono and the only thing that seems to be a problem is a long list of futex(0x829b4e4, FUTEX_WAIT_PRIVATE,

Re: [Mono-dev] sql client question

2009-04-27 Thread Gonzalo Paniagua Javier
On Mon, 2009-04-27 at 17:04 -0700, Steve Bjorg wrote: Gonzalo, Thanks. To clarify, how about the bits that were in 1.9.1? Were there significant changes since then? Yes, a lot of changes and fixes since then. Updating to 2.4 is definitely recommended. -Gonzalo

Re: [Mono-dev] WebClient.DownloadFile doesn't work on Windows

2009-04-26 Thread Gonzalo Paniagua Javier
On Thu, 2009-04-23 at 12:38 +0200, Andoni Morales wrote: I'm trying to implement an updates notifier for my program. It downloads an XML file describing to latest version using WebClient.DownloadFile and compares the actual version number with the one installed

[Mono-dev] GO-MONO.COM is moving

2009-04-15 Thread Gonzalo Paniagua Javier
Folks, We are in the process of moving go-mono.com to a new machine. I've tried to make sure all the pages we host there work just fine and the transition is smooth. Anyway, if you see anything wrong with the server within the next few hours, join #mono at irc.gimpnet.org and let me know.

Re: [Mono-dev] Use eglib as a default for mono 2.6

2009-04-15 Thread Gonzalo Paniagua Javier
On Wed, 2009-04-15 at 22:49 +0200, Andreas Färber wrote: [...] Why not take the same route as GNU libiconv? The eglib headers could #define GLib symbols to have a mono_ prefix, distinguishing them from any real GLib symbols that might get linked in somewhere. Mono's runtime code would

Re: [Mono-dev] get mac address using system.management

2009-04-13 Thread Gonzalo Paniagua Javier
On Mon, 2009-04-13 at 10:50 -0700, tooty wrote: hi all, i used to get mac address of Ethernet adapter under windows, using the following code: // Dim mc As System.Management.ManagementClass Dim mo As ManagementObject mc = New ManagementClass(Win32_NetworkAdapterConfiguration)

Re: [Mono-dev] Nagle and NoDelay for HttpWebRequest - EnableDnsRoundRobin

2009-04-11 Thread Gonzalo Paniagua Javier
On Sat, 2009-04-11 at 04:16 -0600, M. David Peterson wrote: [...] Implementing this ranges from trivial to us doing our own DNS query library (straightforward, I've done it in a past life). Interesting. What would be the benefit of going the DNS query library

Re: [Mono-dev] New Mono API status pages.

2009-04-11 Thread Gonzalo Paniagua Javier
On Sat, 2009-04-11 at 12:55 -0400, Miguel de Icaza wrote: [...] * argument name mismatches are no longer reported (this will become more important as C# 4.0 now supports named parameters too) Yeah, in the future we will add a new option (just like we now have two modes of comparison)

Re: [Mono-dev] New Mono API status pages.

2009-04-10 Thread Gonzalo Paniagua Javier
On Fri, 2009-04-10 at 07:44 -0700, Eyal Alaluf wrote: Hi, Miguel. I like the visibility this page provides into how close Mono is to the target .Net platform in the various configurations. I am missing two things - I'd like to know how many symbols are in the .Net assembly (to put things in

Re: [Mono-dev] Nagle and NoDelay for HttpWebRequest - EnableDnsRoundRobin

2009-04-10 Thread Gonzalo Paniagua Javier
On Fri, 2009-04-10 at 20:08 -0600, M. David Peterson wrote: [...] While we're on the subject of HttpWebRequest performance, has anyone looked into what is required to support ServicePointManager.EnableDnsRoundRobin which, the last time I checked, throws a NotSupportedException? [...] I was

[Mono-dev] Nagle and NoDelay for HttpWebRequest

2009-04-09 Thread Gonzalo Paniagua Javier
A couple of months ago, due to performance issues under certain circumstances (lots of small packets and TLS involved), we started setting the NoDelay option on all the sockets created for HttpWebRequest. That code was released as part of 2.4. In the next release or if you're building from svn

Re: [Mono-dev] issue with GetHostAddresses on OS X server

2009-04-07 Thread Gonzalo Paniagua Javier
On Tue, 2009-04-07 at 18:19 -0700, Steve Bjorg wrote: One of our community members is trying to get MindTouch running on OS X server. In the process, he has run into the following error message during startup. 02.04.09 10:58:03 com.mindtouch.deki[242] initializing

Re: [Mono-dev] HttpRuntime.Cache crashing HttpListener in console application

2009-04-01 Thread Gonzalo Paniagua Javier
Do you mind entering this information in https://bugzilla.novell.com ? Under Mono::class libraries - Sys.Web. Thanks! -Gonzalo On Wed, 2009-04-01 at 09:46 -0700, MemphisWeb wrote: If I Cache data using System.Web.Caching in a console application I get an exception if I ltry to start a

Re: [Mono-dev] [PATCH] MonoMethod.cs

2009-03-23 Thread Gonzalo Paniagua Javier
On Wed, 2009-03-11 at 10:31 -0400, Matthew Metnetsky wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel de Icaza wrote: This patch would require both a ChangeLog entry as well as updated NUnit test cases to go with it, exposing the intended behavior and the buggy behavior.

Re: [Mono-dev] SPAM-LOW: Re: [Bug 484244] [Regression] nunit-console.exe requires /noshadow

2009-03-23 Thread Gonzalo Paniagua Javier
On Tue, 2009-03-17 at 02:20 +0900, Atsushi Eno wrote: [...] Also, if something is wrong with NUnit for Mono use, it will never be fixed unless somebody pushes a bug upstream. The bug would need to be more than we have to use /noshadow of course - but you guys know how to write bugs.

Re: [Mono-dev] Mono is losing session when cookieless=true

2009-03-23 Thread Gonzalo Paniagua Javier
On Mon, 2009-03-16 at 07:29 -0700, MonoMichal wrote: Hi Gonzalo, I figured out that it is only AjaxPro library which doesn't work on my Mono with cookieless session. I'm using AjaxPro library from: http://ajaxpro.info/ in version -- AjaxPro.dll 6.10.6.2 I use mono-version 1.9.1: I

[Mono-dev] Subversion update and checksum error

2009-03-06 Thread Gonzalo Paniagua Javier
Hi there. If you have access to mono-cvs.ximian.com and when updating mcs you get a checksum error, just remove the directory in which the file with the error is and update again. If you're using git-svn and see this error (I'm using version 1.6.1.3 and didn't have a problem updating), you can

Re: [Mono-dev] [PATCH] MonoMethod.cs

2009-03-02 Thread Gonzalo Paniagua Javier
[...] So my question is where would you like an ArgumentException thrown (as MS does): 1) MonoMethod.cs 2) icall.c / where the path leads me Thoughts? MonoMethod.cs -Gonzalo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

  1   2   3   4   5   >