PDA

View Full Version : [Linux] Linux installer broken



Xaapyks
12-30-2010, 05:43 PM
Hello,

I'm reporting that the linux installer is broken (at least on x86_64).
The 2.0.3 and 2.0.4.2 segfault.

Some information :

[bruno@fixe ~]$ uname -a
Linux fixe 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
[bruno@fixe ~]$ md5sum HoNClient-2.0.4.2.sh
4c4f010deef4da61edceee4fa1d2c958 HoNClient-2.0.4.2.sh
[bruno@fixe ~]$ sh HoNClient-2.0.4.2.sh
199096+0 records in
388+1 records out
199096 bytes (199 kB) copied, 0.149287 s, 1.3 MB/s
HoNClient-2.0.4.2.sh: line 17: 4277 Segmentation fault "$BINARY" --base="$0" $*

Naib
12-30-2010, 08:52 PM
looks like a bad download.
that or /home partition is mounted noexec or users

Xaapyks
12-31-2010, 07:58 AM
[bruno@fixe ~]$ mount |grep home
/dev/sdb2 on /home type ext4 (rw,noatime,commit=0)
[bruno@fixe ~]$ md5sum HoNClient-2.0.4.2.sh hon242.sh
4c4f010deef4da61edceee4fa1d2c958 HoNClient-2.0.4.2.sh
4c4f010deef4da61edceee4fa1d2c958 hon242.sh

Downloaded twice. Now tell me the chance I get the same md5sum for 2 corrupted downloads ? :P

EDIT: Tell me the md5sum for a correct download so I can compare but it is 99.99% sure it's a good download.

Naib
12-31-2010, 08:41 AM
There is no need for the sarcasm, I am trying to help. On its own the MD5 from the 1st post says nothing. The MD5 of the installers are not provided.
THUS I have to d/l the new installer to test it and check its md5
re-downloading and going "Now tell me the chance I get the same md5sum for 2 corrupted downloads ? :P" isn't helpful since
#1 there is no independent md5 to compare against
#2 the source you are downloading from (there are 3 load-balanced mirrors) could be corrupted - it has been known to happen)


THAT being said:


jrb@FluidMotion ~/Downloads $ ls -l HoNClient-2.0.4.2.sh
-rw-r--r-- 1 jrb jrb 481687086 Dec 31 15:07 HoNClient-2.0.4.2.sh
jrb@FluidMotion ~/Downloads $ md5sum HoNClient-2.0.4.2.sh
4c4f010deef4da61edceee4fa1d2c958 HoNClient-2.0.4.2.sh
The checksum matches mine except mine can be launched and the installer is functioning as expected. Something is up with your system


Looking at the error it is struggling to launch the relevant binary for the installer. Are you 32bit or 64bit
You can manually install it btw, the sh is just a shell script with a binary tail for the install with a zip stub for the actual game .
A simple unzip HoNClient-2.0.4.2.sh WITH HoNClient-2.0.4.2.sh moved to a temp folder 1st, then the only folder you need is the data subfolder.

Xaapyks
12-31-2010, 11:30 AM
It was not meant to be an offense.

As said in my first post I am using a 64bit distribution.
It could be a good idea to provide the md5/sha1 sums for the downloads.

Unzipping worked fine, thanks.

It would be nice to understand where the problem is though.

Xaapyks
01-03-2011, 01:21 PM
If you'd like to debug the installer with me just let me know here or by PM

Naib
01-03-2011, 03:05 PM
Well the installer is fine, something specific about your setup has caught something.
Only real way to test it would be to manually extract the installer

Xaapyks
01-03-2011, 05:58 PM
I dd'd out the binary and ran it with gdb

(gdb) run --base="HoNClient-2.0.4.2.sh"
Starting program: /home/bruno/test/bin --base="HoNClient-2.0.4.2.sh"
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error


$ ls -l /usr/lib/libthread_db*
lrwxrwxrwx 1 root root 27 Dec 17 05:40 /usr/lib/libthread_db.so -> ../../lib/libthread_db.so.1


Using glibc 2.12.2

Naib
01-03-2011, 06:16 PM
Well I was thinking more along the lines of:



X86_64_START=156699; X86_64_SIZE=199096; dd if=HoNClient-2.0.4.2.sh of=test_hon ibs=1 count=$X86_64_SIZE skip=$X86_64_START; chmod +x test_hon; ./test_hon

At a guess it is todo with lua support on your system since that is what the installer uses

Xaapyks
01-04-2011, 11:05 AM
That's what I did.
I'm using lua 5.1.4

Naib
01-04-2011, 11:12 AM
What distro? gentoo by anychance? or arch with custom packages?

Xaapyks
01-04-2011, 11:51 AM
ArchLinux with stock "testing" packages