http://bugzilla.novell.com/show_bug.cgi?id=609381

http://bugzilla.novell.com/show_bug.cgi?id=609381#c0


           Summary: IpcChannelHelper exception thrown when 1+ MB is sent
                    through IPCChannel
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: 64bit
        OS/Version: Windows
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3

When a IpcServerChannel returns 1+ MB a
System.Runtime.Serialization.SerializationException is thrown with the message:

Binary stream '0' does not contain a valid BinaryHeader. Possible causes are
invalid stream or object version change between serialization and
deserialization. 


Modifying the size constant in the method Copy(Stream from, Stream to) in
IpcChannelHelper.cs to something larger than 1 MB temporarely fixes the problem
(untill an even larger message is sent through)

Reproducible: Always

Steps to Reproduce:
1. Create a client/server system that interacts through a IpcChannel
2. Create a serializable object that serializes to more than 1024*1024 bytes
3. Let the server return the object the IpcChannel (=client calls a method on
the server that returns the object)
Actual Results:  
System.Runtime.Serialization.SerializationException: Binary stream '0' does not
contain a valid BinaryHeader. Possible causes are invalid stream or object
version change between serialization and deserialization.


Expected Results:  
A successfull transfer of the data

-- 
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to