#637335 macutils: macunpack fails on decompressing of large file

Package:
macutils
Source:
macutils
Description:
Set of tools to deal with specially encoded Macintosh files
Submitter:
"Dmitry B. Khlonin"
Date:
2011-08-11 10:56:24 UTC
Severity:
important
#637335#5
Date:
2011-08-10 14:51:38 UTC
From:
To:
$ strace macunpack WizardofOZ.sit
execve("/usr/bin/macunpack", ["macunpack", "WizardofOZ.sit"], [/* 55 vars */]) = 0
brk(0)                                  = 0xa078000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76eb000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=105816, ...}) = 0
mmap2(NULL, 105816, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb76d1000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240o\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1401000, ...}) = 0
mmap2(NULL, 1415544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7577000
mprotect(0xb76ca000, 4096, PROT_NONE)   = 0
mmap2(0xb76cb000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x153) = 0xb76cb000
mmap2(0xb76ce000, 10616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76ce000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7576000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb75768d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb76cb000, 8192, PROT_READ)   = 0
mprotect(0xb7709000, 4096, PROT_READ)   = 0
munmap(0xb76d1000, 105816)              = 0
brk(0)                                  = 0xa078000
brk(0xa099000)                          = 0xa099000
open("WizardofOZ.sit", O_RDONLY)        = -1 EFBIG (File too large)
write(2, "Can't open input file \"WizardofO"..., 39Can't open input file "WizardofOZ.sit"
) = 39
exit_group(1)                           = ?

$ ls -la WizardofOZ.sit
-rw-r--r-- 1 d d 4299071558 Авг  8 21:50 WizardofOZ.sit

#637335#10
Date:
2011-08-10 15:15:46 UTC
From:
To:
Wow.  You actually have a genuine sit file > 4GB?

Did you engineer this for testing purposes or actually encounter it in
real world use?

I'll take a look and see what I can do here.

Eric Sharkey
sharkey@debian.org

#637335#15
Date:
2011-08-10 15:15:46 UTC
From:
To:
Wow.  You actually have a genuine sit file > 4GB?

Did you engineer this for testing purposes or actually encounter it in
real world use?

I'll take a look and see what I can do here.

Eric Sharkey
sharkey@debian.org

#637335#20
Date:
2011-08-11 10:12:33 UTC
From:
To:
Yes, I have the real file and trying to uncompress it with macunpack.

Eric Sharkey wrote:

#637335#25
Date:
2011-08-11 10:12:33 UTC
From:
To:
Yes, I have the real file and trying to uncompress it with macunpack.

Eric Sharkey wrote: