[Mono-bugs] [Bug 574713] New: crash if System.IO.Compression.DeflateStream.ReadZStream is called

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 28 07:47:46 EST 2010


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

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


           Summary: crash if
                    System.IO.Compression.DeflateStream.ReadZStream is
                    called
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: thomas.klose at hiperscan.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=339363)
 --> (http://bugzilla.novell.com/attachment.cgi?id=339363)
methode causing the error

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2) Gecko/20100115
Firefox/3.6

Mono application crashes if a compressed file is read. This problem occures
with Mono version 2.4.3.1. Unfortunatelly I cannot say if the problem was
already present in 2.4.3.0, since this version did not work with our
application due to a missing library.

However, with Mono versions <= 2.4.2.3 it works without problems.

Reproducible: Always

Steps to Reproduce:
1. decompress a stream using System.IO.Compression.DeflateStream.ReadZStream
2.
3.
Actual Results:  
crash with:

Stacktrace:



  at (wrapper managed-to-native)
System.IO.Compression.DeflateStream.ReadZStream (intptr,intptr,int) <0x00004>

  at (wrapper managed-to-native)
System.IO.Compression.DeflateStream.ReadZStream (intptr,intptr,int)
<0xffffffff>

  at System.IO.Compression.DeflateStream.ReadInternal (byte[],int,int)
<0x0004e>

  at System.IO.Compression.DeflateStream.Read (byte[],int,int) <0x00079>

  at System.IO.Compression.GZipStream.Read (byte[],int,int) <0x00020>

  at System.IO.Stream.ReadByte () <0x00035>

  at System.IO.BinaryReader.ReadByte () <0x00036>

  at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.ReadBinaryHeader
(System.IO.BinaryReader,bool&) <0x00015>

  at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize
(System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler) <0x00098>

  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
(System.IO.Stream) <0x00015>

  at Hiperscan.FileIO.AccessDatabase.Read (string,Hiperscan.FileIO.Response)
<0x00157>

  at Hiperscan.IdentServer.ServiceObject.Initialize (byte[]) <0x00067>

  at (wrapper runtime-invoke)
Hiperscan.IdentServer.ServiceObject.runtime_invoke_void__this___object
(object,intptr,intptr,intptr) <0xffffffff>

  at (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices.InternalExecute
(System.Reflection.MethodBase,object,object[],object[]&) <0x00004>

  at (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices.InternalExecute
(System.Reflection.MethodBase,object,object[],object[]&) <0xffffffff>

  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage
(System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCallMessage)
<0x001d5>

  at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x000c9>

  at
System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x00063>

  at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x00030>

  at System.Runtime.Remoting.SingleCallIdentity.SyncObjectProcessMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x000ea>

  at
System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x00156>

  at System.Runtime.Remoting.Contexts.CrossContextChannel.SyncProcessMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x000c7>

  at System.Runtime.Remoting.Channels.ChannelServices.SyncDispatchMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x0003d>

  at System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage
(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Messaging.IMessage&)
<0x0001f>

  at System.Runtime.Remoting.Channels.ServerDispatchSink.ProcessMessage
(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&)
<0x00028>

  at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage
(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&)
<0x0032f>

  at
System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.InternalProcessMessage
(System.Runtime.Remoting.Channels.Tcp.ClientConnection,System.IO.Stream)
<0x00190>

  at System.Runtime.Remoting.Channels.Tcp.ClientConnection.ProcessMessages ()
<0x000dd>

  at System.Runtime.Remoting.Channels.RemotingThreadPool.PoolThread ()
<0x001c1>

  at (wrapper runtime-invoke) object.runtime_invoke_void__this__
(object,intptr,intptr,intptr) <0xffffffff>



This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


Expected Results:  
decompression of data stream

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


More information about the mono-bugs mailing list