#1 2014-12-17 14:27:14

vbz007
Member
Registered: 2014-07-17
Posts: 5

Synlz bug!!!

File:  http://pan.baidu.com/s/1eQnbM98

unzip 001.7z

---------------------------
Debugger Exception Notification
---------------------------
Project Project2.exe raised exception class EAccessViolation with message 'Access violation at address 004C0C6C in module 'Project2.exe'. Write of address 7FEA0000'.
---------------------------
Break   Continue   Help   
---------------------------

uses SynCommons;

....

var
  i:DWORD;
begin
  i:=GetTickCount;
  FileSynLZ('.\001.jpg','.\s1.lz',Hash32('vbz007'));
  ShowMessage(IntToStr(GetTickCount-i));
end;

Offline

#2 2014-12-17 15:18:27

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,182
Website

Re: Synlz bug!!!

I've a "disk read error" when I try to uncompress the jpg file and run the test.

In all cases, compression if a jpeg is hopeless and should be avoided.

Is the default compressed buffer too small?
I mean, does SynLZcompressdestlen() return a too small value?

Offline

Board footer

Powered by FluxBB