andyvand / freearc

Automatically exported from code.google.com/p/freearc
1 stars 0 forks source link

Hang on 4 Bytes file #328

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a txt file with "1.23" without quotes in it
2. move it to a folder (testdirectory) that u want to compress
3. arc create -r -sfx ARCHIVE_TEST testdirectory/*

What is the expected output? What do you see instead?
FreeArc 0.67 (October 15 2012) creating archive: ARCHIVE_TEST.EXT
Compressing 2 files, 4 bytes. Processed  99%

What version of the product are you using? On what operating system?
Windows 7 Ultimate 64bit german

Please provide any additional information below.

this also occurs without "-sfx" and also in 0.666

Original issue reported on code.google.com by Marc....@gmail.com on 13 Nov 2012 at 10:06

GoogleCodeExporter commented 9 years ago
please try it with Nov16 version, i have fixed such a bug

Original comment by bulat.zi...@gmail.com on 16 Nov 2012 at 7:42

GoogleCodeExporter commented 9 years ago
Could you please provide me a link to the .exe file?

Original comment by Marc....@gmail.com on 17 Nov 2012 at 6:14

GoogleCodeExporter commented 9 years ago
sorry, i removed Nov16 version from the site. now Nov17 version is available: 
http://freearc.org/Download-Alpha.aspx

the problem was due to the small filesize. it's mentioned in changelog as

* REP: fixed bug causing hangup on files with size=BLOCKSIZE*N+k where 0<=k<L

Original comment by bulat.zi...@gmail.com on 17 Nov 2012 at 8:27

GoogleCodeExporter commented 9 years ago
I can confirm: this bug is fixed but i found another one... SFX module 
"arc-tiny.sfx" does not allow decompression after the .EXE file is created.

ERROR: unsupported compression method rep:875kb:96:d4mb:s32+4x4:tor:875kb:c3

Original comment by Marc....@gmail.com on 19 Nov 2012 at 3:39

GoogleCodeExporter commented 9 years ago
it's why it called tiny. from unarc readme.txt (included in the sources 
package):

SFX modules and tiny decompressor for FreeArc (http://freearc.org)

SFX modules, classification by OS/subsystem:
    arc*.sfx.linux - console Linux-i386 self-extractors
    freearc*.sfx   - GUI Win32 self-extractors
    arc*.sfx       - console Win32 self-extractors

SFX modules, classification by included compression methods:
    *arc.sfx      - full, includes decomression code for all FreeArc compression/encryption algorithms and external compression DLLs (CLS)
    *arc-mini.sfx - without encryption/mm/tta/grzip/tornado/dispack/lz4, i.e. for archives created with options like -mx -mm-
    *arc-tiny.sfx - also without rep/lzp/ppmd, i.e. for archives created with options like -m9x -mm-

Modules for producing simple installers:
    freearc-installer.sfx - extracts files into temporary directory, runs setup.exe and deletes extracted files when it finished
    freearc-installer-nodelete.sfx - extracts files into temporary directory and runs setup.exe

Standalone extractors of FreeArc archives:
    unarc.exe - console Win32 extractor
    unarc     - console Linux-i386 extractor

DLL for decompression of FreeArc archives in 3rd-party software:
    unarc.dll - provides FreeArcExtract() function, examples of its usage are provided in the Addons directory

also you can find this in FreeArc\bin\descript.ion:

freearc-installer-nodelete.sfx Self-extractor module that extracts files into 
temporary directory and runs setup.exe
freearc-installer.sfx Self-extractor module that extracts files into temporary 
directory, runs setup.exe and deletes extracted files when it's finished
freearc.sfx GUI self-extractor (supports all FreeArc compression and encryption 
algorithms)
freearc-mini.sfx GUI self-extractor (without encryption/mm/tta/grzip/tornado, 
i.e. for archives created with options like -m5 -mm-)
freearc-tiny.sfx GUI self-extractor (without 
encryption/mm/tta/grzip/tornado/rep/lzp/ppmd, i.e. for archives created with 
options like -m5x -mm-)
arc.sfx Console self-extractor (supports all FreeArc compression and encryption 
algorithms)
arc-mini.sfx Console self-extractor (without encryption/mm/tta/grzip/tornado, 
i.e. for archives created with options like -m5 -mm-)
arc-tiny.sfx Console self-extractor (without 
encryption/mm/tta/grzip/tornado/rep/lzp/ppmd, i.e. for archives created with 
options like -m5x -mm-)

Original comment by bulat.zi...@gmail.com on 19 Nov 2012 at 5:04