[Mono-bugs] [Bug 352227] New: .NET remoting server aborts with message "Abort trap" and shuts down TCP channel

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 8 03:37:27 EST 2008


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


           Summary: .NET remoting server aborts with message "Abort trap"
                    and shuts down TCP channel
           Product: Mono: Runtime
           Version: 1.2.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: remoting
        AssignedTo: lluis at novell.com
        ReportedBy: rcook at opiumtrail.com
         QAContact: mono-bugs at ximian.com
          Found By: Development


Created an attachment (id=189687)
 --> (https://bugzilla.novell.com/attachment.cgi?id=189687)
Sources demonstrating bug

I have written a simple .NET remoting application which includes a service
(sfs.exe) which exposes a singleton object through a TCP remoting channel.
There is an accompanying client which invokes methods on the remoted object. If
I run the client multiple times against the service it will eventually crash
with the message "Abort trap" and cause the TCP channel to shut down. The repro
steps are:

1. Unzip attached file "mono-remoting-bug.zip" into a directory.
2. Build using NAnt build file. This will build "sfc.exe", "sfremoting.dll" and
"sfs.exe" into the same directory as the sources.
3. In one terminal window start "sfs.exe" using command line "mono ./sfs.exe".
4. In another terminal run the client using "mono ./sfc.exe". Repeat this
several times while leaving the instance of "sfs.exe" running.

After about three to five runs of the client the service "sfs.exe" will crash
with the "Abort trap" message which will cause the TCP remoting channel to be
shut down prematurely resulting in an exception being thrown in the client.

This bug repros when running the binaries using the Mono runtime under Mac OS X
10.4 (this is the only platform I have been able to test the Mono runtime on).

If I run the same binaries on a Windows machine using the .NET CLR then the
service "sfs.exe" does not crash and I can run the client "sfc.exe" as often as
I like without any difficulty. This suggests that this is a bug in the Mono
runtime.


-- 
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