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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 8 09:17:04 EDT 2010


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

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


Esben Laursen <hyber at hyber.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hyber at hyber.dk

--- Comment #3 from Esben Laursen <hyber at hyber.dk> 2010-04-08 13:17:03 UTC ---
I have the same issue on a Debian lenny with source compiled 2.6.3

My application prints the exception.message and inner.message:

04/08/2010 13:08:20 N/A [ConsoleApplication1.Utils.CompressData.Critical] -
Unknown error occurred (id: 91887), description: libMonoPosixHelper.so
04/08/2010 13:08:20 N/A [ConsoleApplication1.Utils.CompressData.Critical] -
Unknown error occurred (id: 91887), Type: System.DllNotFoundException
04/08/2010 13:08:20 N/A [ConsoleApplication1.Utils.CompressData.Critical] -
Unknown error occurred (id: 91887), StackTrace:   at (wrapper
managed-to-native) System.IO.Compression.DeflateStream:CreateZStream
(System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStream/UnmanagedReadOrWrite,intptr)
  at System.IO.Compression.DeflateStream..ctor (System.IO.Stream
compressedStream, CompressionMode mode, Boolean leaveOpen, Boolean gzip)
[0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check)
System.IO.Compression.DeflateStream:.ctor
(System.IO.Stream,System.IO.Compression.CompressionMode,bool,bool)
  at System.IO.Compression.GZipStream..ctor (System.IO.Stream compressedStream,
CompressionMode mode, Boolean leaveOpen) [0x00000] in <filename unknown>:0
  at System.IO.Compression.GZipStream..ctor (System.IO.Stream compressedStream,
CompressionMode mode) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check)
System.IO.Compression.GZipStream:.ctor
(System.IO.Stream,System.IO.Compression.CompressionMode)
  at ConsoleApplication1.Utils.CompressData (System.String data, System.String
name, System.String extension, Boolean addDate) [0x00000] in <filename
unknown>:0


Also if I try and run in "debug mode" with command: "MONO_LOG_LEVEL=debug mono
rpam"

it gives me this output:

Mono-INFO: DllImport attempting to load: 'libMonoPosixHelper.so'.
Mono-INFO: DllImport loading location: 'libMonoPosixHelper.so.so'.
Mono-INFO: DllImport error loading library: 'libMonoPosixHelper.so.so: cannot
open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './libMonoPosixHelper.so.so'.
Mono-INFO: DllImport error loading library './libMonoPosixHelper.so.so: cannot
open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: 'libMonoPosixHelper.so'.
Mono-INFO: DllImport error loading library 'libMonoPosixHelper.so: cannot open
shared object file: No such file or directory'.

(rpam:32407): Mono-WARNING **: DllImport unable to load library
'libMonoPosixHelper.so: cannot open shared object file: No such file or
directory'.
Mono-INFO: DllImport attempting to load: 'libMonoPosixHelper.so'.
Mono-INFO: DllImport loading location: 'libMonoPosixHelper.so.so'.
Mono-INFO: DllImport error loading library: 'libMonoPosixHelper.so.so: cannot
open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './libMonoPosixHelper.so.so'.
Mono-INFO: DllImport error loading library './libMonoPosixHelper.so.so: cannot
open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: 'libMonoPosixHelper.so'.
Mono-INFO: DllImport error loading library 'libMonoPosixHelper.so: cannot open
shared object file: No such file or directory'.

(rpam:32407): Mono-WARNING **: DllImport unable to load library
'libMonoPosixHelper.so: cannot open shared object file: No such file or
directory'.
Mono-Message: gc took 3682 usecs
04/08/2010 13:12:07 N/A [ConsoleApplication1.Utils.CompressData.Critical] -
Unknown error occurred (id: 49301), description: libMonoPosixHelper.so
04/08/2010 13:12:07 N/A [ConsoleApplication1.Utils.CompressData.Critical] -
Unknown error occurred (id: 49301), Type: System.DllNotFoundException
04/08/2010 13:12:07 N/A [ConsoleApplication1.Utils.CompressData.Critical] -
Unknown error occurred (id: 49301), StackTrace:   at (wrapper
managed-to-native) System.IO.Compression.DeflateStream:CreateZStream
(System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStream/UnmanagedReadOrWrite,intptr)
  at System.IO.Compression.DeflateStream..ctor (System.IO.Stream
compressedStream, CompressionMode mode, Boolean leaveOpen, Boolean gzip)
[0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check)
System.IO.Compression.DeflateStream:.ctor
(System.IO.Stream,System.IO.Compression.CompressionMode,bool,bool)
  at System.IO.Compression.GZipStream..ctor (System.IO.Stream compressedStream,
CompressionMode mode, Boolean leaveOpen) [0x00000] in <filename unknown>:0
  at System.IO.Compression.GZipStream..ctor (System.IO.Stream compressedStream,
CompressionMode mode) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check)
System.IO.Compression.GZipStream:.ctor
(System.IO.Stream,System.IO.Compression.CompressionMode)
  at ConsoleApplication1.Utils.CompressData (System.String data, System.String
name, System.String extension, Boolean addDate) [0x00000] in <filename
unknown>:0


do that help?

Cheers

Esben

-- 
Configure bugmail: http://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