Jump to content
Eternal Lands Official Forums
bipolar

Building Updated Linux Client From CVS

Recommended Posts

Running on Ubuntu Breezy with Nvidia drivers. Released client works great.

At first I thought my cal3d libs were out of date, but even after upgrading I get the same segfault.

 

***Steps to reproduce***

download files:

cd ~

wget http://el.tfm.ro/el_112_linux.zip

wget http://www.eternal-lands.com/test_server_3.zip

remove old config directory:

rm -rf ~/.elc

unzip 1.1.2 into fresh directory, ~/eternal-lands.test:

mkdir ~/eternal-lands.test

cd ~/eternal-lands.test

unzip ~/el_112_linux.zip

unzip test server zip:

unzip ~/test_server_3.zip

cp -r update/* .

download code from CVS:

cvs -d:pserver:anonymous@cvs.elc.berlios.de:/cvsroot/elc login

cvs -z3 -d:pserver:anonymous@cvs.elc.berlios.de:/cvsroot/elc co elc

build el client:

cd elc

make -f Makefile.linux

copy new exec:

cp el.x86.linux.bin ../

change el.ini to use test server:

cd ~/eternal-lands.test

cat el.ini | sed s/2000/2001/g > el.ini

run el exec with gdb:

gdb ./el.x86.linux.bin

run

login... get segfault:

 

(gdb) run
Starting program: /home/bflong/eternal-lands.test/el.x86.linux.bin
[Thread debugging using libthread_db enabled]
[New Thread -1226242336 (LWP 25332)]
[New Thread -1255572560 (LWP 25335)]
[New Thread -1263969360 (LWP 25337)]
[New Thread -1272362064 (LWP 25338)]
[New Thread -1280754768 (LWP 25339)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226242336 (LWP 25332)]
0x080a3989 in load_bmp8_to_coordinates (FileName=0x60 <Address 0x60 out of bounds>,
texture_space=0x60 <Address 0x60 out of bounds>, x_pos=158, y_pos=156, alpha=255 '\uffff') at textures.c:829
829							 *(texture_space+(texture_y*256+x+x_pos)*4) = r;
(gdb)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×