[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-20 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c10


Atsushi Enomoto aenom...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #10 from Atsushi Enomoto aenom...@novell.com 2011-04-20 10:19:41 
UTC ---
Fixed in git master (a316b85) and mono-2-10 (d911500).

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-19 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c9


--- Comment #9 from Atsushi Enomoto aenom...@novell.com 2011-04-19 14:28:45 
UTC ---
Created an attachment (id=425650)
 -- (http://bugzilla.novell.com/attachment.cgi?id=425650)
not-applicable fix

Indeed! That's what happened due to the unclosed-and-recycled channels.

I'm creating a fix, but right now it regresses and cannot be applied yet.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-18 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c5


--- Comment #5 from Atsushi Enomoto aenom...@novell.com 2011-04-18 11:16:53 
UTC ---
The delegate is in channel which is disposed every time it finishes one
request-reply process and hence it should never glow up.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-18 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c6


--- Comment #6 from Zoltan Varga var...@gmail.com 2011-04-18 11:27:53 UTC ---
It does with the testcase.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-18 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c7


--- Comment #7 from Atsushi Enomoto aenom...@novell.com 2011-04-18 11:50:41 
UTC ---
My point is that channel is disposed which should not result in growing up
irrelevant delegate stack. Note that it is not ServiceRuntimeChannel's event
but channel's event. If nonetheless still it does then the issue is not in
WCF. Or there is some explanation mismatch that blocks correct understanding.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-18 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c8


--- Comment #8 from Zoltan Varga var...@gmail.com 2011-04-18 14:51:01 UTC ---
If I add a:

Console.WriteLine (X:  + channel.GetHashCode ());

to ServiceRuntimeChannel:.ctor (), it prints the same value over and over
again, which indicates that the 'channel' object, which is a
System.ServiceModel.Channels.Http.HttpReplyChannel is somehow reused between
requests.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-17 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c4


--- Comment #4 from Zoltan Varga var...@gmail.com 2011-04-17 16:39:19 UTC ---
This is a WCF bug, from ServiceRuntimeChannel.cs:

public ServiceRuntimeChannel (IChannel channel, DispatchRuntime
runtime)
{
this.channel = channel;
channel.Closing += delegate { Close (); };
this.runtime = runtime;
}

The Closing delegate is added to, but never removed, so it grows bigger and
bigger, leading to a stack overflow in the Delegate:Equals ().

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-15 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c


Lluis Sanchez ll...@novell.com changed:

   What|Removed |Added

  Component|remoting|WCF
 AssignedTo|ll...@novell.com|atsu...@ximian.com
Product|Mono: Runtime   |Mono: Class Libraries

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-15 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c1


Zoltan Varga var...@gmail.com changed:

   What|Removed |Added

 CC||var...@gmail.com

--- Comment #1 from Zoltan Varga var...@gmail.com 2011-04-15 18:26:39 UTC ---
I can't reproduce this on linux, so this might be a windows only problem. If
the requests take longer and longer, that is usually a symptom of memory
growth, so its possible that the server simply dies because it runs out of
memory.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-15 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c2


--- Comment #2 from Emily Lewis emily.le...@lumension.com 2011-04-15 20:40:48 
UTC ---
I re-ran my tests against mono 2.10.1 on Ubuntu 10.10 - the server ran longer
but eventually faulted with the following error:

  at System.MulticastDelegate.Equals (System.Object obj) [0x0] in filename
unknown:0 
  at System.MulticastDelegate.Equals (System.Object obj) [0x0] in filename
unknown:0 
Stack overflow in unmanaged: IP: 0x50d2bb, fault addr: 0x7fa710f87fe8
Stack overflow in unmanaged: IP: 0x4c8a08, fault addr: 0x7fa710f85fb8
Stack overflow in unmanaged: IP: 0x48e287, fault addr: 0x7fa710f86fa8
exception inside UnhandledException handler: Object reference not set to an
instance of an object

This difference in results could be because you guys are running a newer code
line ; ) I will see if I can get my hands on the mono tip and re-try my tests.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 687902] The mono runtime crashes on a long-running WCF server

2011-04-15 Thread bugzilla_noreply

https://bugzilla.novell.com/show_bug.cgi?id=687902

https://bugzilla.novell.com/show_bug.cgi?id=687902#c3


Miguel de Icaza mig...@novell.com changed:

   What|Removed |Added

 CC||mig...@novell.com

--- Comment #3 from Miguel de Icaza mig...@novell.com 2011-04-16 00:33:27 UTC 
---
This sounds like the race condition that was reported a few days ago about the
uses of Multicast delegate.

I am not sure if this is happening with user code, but it could be a missing
lock around a foo.Event += XXX code.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs