[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 12:15:59 EDT 2010


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

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


--- Comment #5 from Thomas Klose <thomas.klose at hiperscan.com> 2010-04-08 16:15:58 UTC ---
(In reply to comment #2)
> Let me know how that goes. In the meantime, I'm going to change our
> DeflateStream.cs to always use Cdecl when calling the library.

I replaced MonoPosixHelper.dll in %MONO_PATH%\bin with your version. Now the
application does not start at all:

Unhandled Exception: System.TypeInitializationException: An exception was
thrown

 by the type initializer for Hiperscan.GUI.MainClass --->
System.TypeInitializat

ionException: An exception was thrown by the type initializer for
Mono.Unix.Nati

ve.Stdlib ---> System.EntryPointNotFoundException: Mono_Posix_Stdlib_SIG_DFL

  at (wrapper managed-to-native) Mono.Unix.Native.Stdlib:GetDefaultSignal ()

  at Mono.Unix.Native.Stdlib..cctor () [0x00000]

  --- End of inner exception stack trace ---

  at Mono.Unix.UnixMarshal.AllocHeap (Int64 size) [0x00000]

  at Mono.Unix.UnixMarshal.StringToHeap (System.String s, Int32 index, Int32
cou

nt, System.Text.Encoding encoding) [0x00000]

  at Mono.Unix.UnixMarshal.StringToHeap (System.String s, System.Text.Encoding
e

ncoding) [0x00000]

  at Mono.Unix.UnixMarshal.StringToHeap (System.String s) [0x00000]

  at Mono.Unix.Catalog.GetString (System.String s) [0x00000]

  at Hiperscan.GUI.MainClass..cctor () [0x00000]

  --- End of inner exception stack trace ---

I also noticed that the your version of MonoPosixHelper.dll is _much_ smaller
than the original. (?)

regards, thomas

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