[Gambas-devel] sig 11 with gb.compress

Benoît Minisini gambas at ...1...
Mon Jul 8 01:38:55 CEST 2013


Le 14/04/2013 07:33, Kevin Fishburne a écrit :
> 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.
>

I cannot reproduce your bug, so maybe it is fixed now, or maybe you 
didn't give me enough details...

-- 
Benoît Minisini




More information about the Devel mailing list