[Gambas-devel] sig 11 with gb.compress
Kevin Fishburne
kevinfishburne at ...590...
Sun Apr 14 07:33:12 CEST 2013
On 04/14/2013 01:22 AM, Kevin Fishburne wrote:
> This code:
>
> Public Function DecompressString(Data As String) As String
>
> ' Decompress and return passed string.
>
> ' General declarations.
> Dim c As New Uncompress
>
> ' Set compression type.
> c.Type = "bzlib2"
>
> ' Decompress and return data.
> Return c.String(Data)
>
> End
>
> crashes the second time it's run. It may be due to me not doing
> "c.Close" afterward, or it may be that I'm calling the function in the
> Return line (I'm still debugging it).
>
Well this is interesting. It works fine if I use "zlib" and only crashes
when using "bzlib2". I'm using the latest build of GAMBAS from the daily
PPA and Kubuntu 12.10.
--
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...590...
phone: (770) 853-6271
More information about the Devel
mailing list