[Mono-list] Corrupted Linux generic installer image (1.2.5.1) ?

Adrien Dessemond adrien.dessemond at softhome.net
Thu Sep 20 21:15:10 EDT 2007


Hello !

When I try to run it (a chmod 700 has been done on it),the process
seems to exit immediately with no error messages like "segmentation
fault" being printed, just as it did nothing.

A strace reports this :

strace ./mono-1.2.5.1_0-installer.bin 
execve("./mono-1.2.5.1_0-installer.bin", ["./mono-1.2.5.1_0-installer.bin"], [/* 36 vars */]) = 0
getpid()                                = 4633
open("/proc/4633/exe", O_RDONLY)        = 3
lseek(3, 1528, SEEK_SET)                = 1528
read(3, "\325\31$VP@\17\0\0\0\10\0", 12) = 12
gettimeofday({1190333146, 148273}, NULL) = 0
unlink("/tmp/upxA0OIAYPAEQZ")           = -1 ENOENT (No such file or directory)
open("/tmp/upxA0OIAYPAEQZ", O_WRONLY|O_CREAT|O_EXCL, 0700) = 4
ftruncate(4, 999504)                    = 0
old_mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7eee000
read(3, "\0\0\10\0\322^\3\0", 8)        = 8
read(3, "\177?d\371\177ELF\1\0\2\0\3\0\32\360>\6\10\331\377\313"..., 220882) = 220882
write(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\360>\6"..., 524288) = 524288
read(3, "P@\7\0\352\360\2\0", 8)        = 8
read(3, "\373\357\376\377\364R\3505O\376\377\203\304\20j\377j\0"..., 192746) = 192746
write(4, "\364R\3505O\376\377\203\304\20j\377j\0Pj\0j\0\213\7P\213"..., 475216) = 475216
read(3, "\0\0\0\0UPX!", 8)              = 8
munmap(0xb7eee000, 528384)              = 0
close(4)                                = 0
close(3)                                = 0
open("/tmp/upxA0OIAYPAEQZ", O_RDONLY)   = 3
access("/proc/4633/fd/3", R_OK|X_OK)    = 0
unlink("/tmp/upxA0OIAYPAEQZ")           = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
execve("/proc/4633/fd/3", ["./mono-1.2.5.1_0-installer.bin"], [/* 36 vars */]) = -1 ENOENT (No such file or directory)
close(3)                                = 0
fork()                                  = 4634
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, NULL, 0)                    = 4634
execve("/tmp/upxA0OIAYPAEQZ", ["./mono-1.2.5.1_0-installer.bin"], [/* 36 vars */]) = -1 ENOENT (No such file or directory)
unlink("/tmp/upxA0OIAYPAEQZ")           = -1 ENOENT (No such file or directory)
_exit(127)                              = ?
Process 4633 detached

Doing a 'file' reports : 

file ./mono-1.2.5.1_0-installer.bin 
./mono-1.2.5.1_0-installer.bin: ELF 32-bit LSB executable, Intel 80386,
version 1, statically linked, corrupted section header size

Retried the download many times, nothing is better but the MD5 sums
matches the one given on the FTP site. If I am the one with the
trouble, a long saturday seems to be ahead of me :-) At worst, I will
rebuild from the source.

Anyway, good piece of work guys ! 


Regards,

Adrien


More information about the Mono-list mailing list