[Mono-bugs] [Bug 660928] New: Creating a GZipStream causes a crash

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 21 18:39:39 EST 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=660928#c0


           Summary: Creating a GZipStream causes a crash
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: saml at itrgroupinc.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Steps to reproduce the problem:
1. Try to instantiate a new GZipStream


Actual Results:
Here's some logcat output:
12-21 17:06:09.878: ERROR/mono(9747): [0xafd4a828:] EXCEPTION handling:
System.DllNotFoundException: libMonoPosixHelper.so
12-21 17:06:09.933: DEBUG/dalvikvm(9747): GC_EXPLICIT freed 7504 objects /
368032 bytes in 42ms
12-21 17:06:10.027: INFO/MonoDroid(9747): UNHANDLED EXCEPTION:
System.DllNotFoundException: libMonoPosixHelper.so
12-21 17:06:10.027: INFO/MonoDroid(9747): at (wrapper managed-to-native)
System.IO.Compression.DeflateStream.CreateZStream
(System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStream/UnmanagedReadOrWrite,intptr)
<0x00078>
12-21 17:06:10.027: INFO/MonoDroid(9747): at
System.IO.Compression.DeflateStream..ctor
(System.IO.Stream,System.IO.Compression.CompressionMode,bool,bool) <0x0010f>
12-21 17:06:10.027: INFO/MonoDroid(9747): at
System.IO.Compression.GZipStream..ctor
(System.IO.Stream,System.IO.Compression.CompressionMode,bool) <0x00043>
12-21 17:06:10.027: INFO/MonoDroid(9747): at
System.IO.Compression.GZipStream..ctor
(System.IO.Stream,System.IO.Compression.CompressionMode) <0x00027>
12-21 17:06:10.027: INFO/MonoDroid(9747): at GZip.GZipActivity.OnCreate
(Android.OS.Bundle) <0x0006b>
12-21 17:06:10.027: INFO/MonoDroid(9747): at
Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr)
<0x00057>
12-21 17:06:10.027: INFO/MonoDroid(9747): at (wrapper dynamic-method)
object.04cffdc8-9f5d-4411-8e4e-d9418ca845e0 (intptr,intptr,intptr) <0x00033>
12-21 17:06:10.121: ERROR/mono(9747): [0xafd4a828:] EXCEPTION handling:
System.DllNotFoundException: libMonoPosixHelper.so
12-21 17:06:10.183: ERROR/mono(9747): Unhandled Exception:
System.DllNotFoundException: libMonoPosixHelper.so
12-21 17:06:10.183: ERROR/mono(9747):   at (wrapper managed-to-native)
System.IO.Compression.DeflateStream:CreateZStream
(System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStream/UnmanagedReadOrWrite,intptr)
12-21 17:06:10.183: ERROR/mono(9747):   at
System.IO.Compression.DeflateStream..ctor (System.IO.Stream compressedStream,
CompressionMode mode, Boolean leaveOpen, Boolean gzip) [0x00000] in <filename
unknown>:0 
12-21 17:06:10.183: ERROR/mono(9747):   at
System.IO.Compression.GZipStream..ctor (System.IO.Stream compressedStream,
CompressionMode mode, Boolean leaveOpen) [0x00000] in <filename unknown>:0 
12-21 17:06:10.183: ERROR/mono(9747):   at
System.IO.Compression.GZipStream..ctor (System.IO.Stream compressedStream,
CompressionMode mode) [0x00000] in <filename unknown>:0 
12-21 17:06:10.183: ERROR/mono(9747):   at GZip.GZipActivity.OnCreate
(Android.OS.Bundle bundle) [0x00000] in <filename unknown>:0 
12-21 17:06:10.183: ERROR/mono(9747):   at
Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (IntPtr jnienv, IntPtr
native__this, IntPtr native_savedInstanceState) [0x00000] in <filename
unknown>:0 
12-21 17:06:10.183: ERROR/mono(9747):   at (wrapper dynamic-method) objec
12-21 17:06:10.199: INFO/ActivityManager(1086): Process gzip.gzip (pid 9747)
has died.

Expected Results:
A GZipStream is created.

How often does this happen? 
Every time (or at least every time I tried it on my emulator and device)

Additional Information:
Repro: http://pastebin.com/us1BSjuz

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