Jump to content
Eternal Lands Official Forums
Ignoble

Linux version of EL client

Recommended Posts

Hi all,

 

just trying out SuSe linux & I have a few problems & a query.

 

(1) The client is shutting down in a seemingly random manner. There is no error log generated that I can see (I presume it would be written to the installation folder?). The terminal output is at the end of this post if it is of any use. Any suggestions as to a solution to this?

 

(2) I am having to run the linux.static rather than linux.bin file, which seems to because I do not have the cal3d library. Unfortunately, I cannot find a version of this for SuSe anywhere .... what other distro versions of the library would be suitable?

 

(3) I am familiar with "map marks/annotations" being stored in the appropriate txt file under Windows, but where is this info kept for the linux version?

 

I really hope that someone more familiar with linux can get me sorted, since I've been trying to ditch Windows for a while now .... it's just these little niggles which are off-putting :)

 

 

 

*** glibc detected *** ./el-132.x86.linux.static: free(): invalid pointer: 0x0a0

017f0 ***

======= Backtrace: =========

/lib/libc.so.6[0xb7cd7911]

/lib/libc.so.6(__libc_free+0x84)[0xb7cd8f84]

/usr/X11R6/lib/libGL.so.1[0xb7f4aa3a]

======= Memory map: ========

08048000-08325000 r-xp 00000000 08:03 3549 /home/Ian/EL/el-132.x86.linux.s

tatic

08325000-0834a000 rwxp 002dd000 08:03 3549 /home/Ian/EL/el-132.x86.linux.s

tatic

0834a000-0de6e000 rwxp 0834a000 00:00 0 [heap]

b37b3000-b37b4000 r-xp 00000000 08:01 20727 /usr/lib/locale/en_US/LC_NUMERI

C

b3b16000-b3b36000 rwxs 1108b000 00:0d 8498 /dev/nvidia0

b415c000-b4235000 rwxp b415c000 00:00 0

b4236000-b4337000 rwxp b4236000 00:00 0

b4337000-b4338000 ---p b4337000 00:00 0

b4338000-b4b38000 rwxp b4338000 00:00 0

b4b38000-b4b39000 ---p b4b38000 00:00 0

b4b39000-b5339000 rwxp b4b39000 00:00 0

b5339000-b5348000 r-xp 00000000 08:01 17358 /lib/libresolv-2.4.so

b5348000-b534a000 rwxp 0000e000 08:01 17358 /lib/libresolv-2.4.so

b534a000-b534c000 rwxp b534a000 00:00 0

b535f000-b5360000 ---p b535f000 00:00 0

b5360000-b5b60000 rwxp b5360000 00:00 0

b5b60000-b5b61000 ---p b5b60000 00:00 0

b5b61000-b67dc000 rwxp b5b61000 00:00 0

b67de000-b67e2000 r-xp 00000000 08:01 17345 /lib/libnss_dns-2.4.so

b67e2000-b67e4000 rwxp 00003000 08:01 17345 /lib/libnss_dns-2.4.so

b67e4000-b67ec000 r-xp 00000000 08:01 17347 /lib/libnss_files-2.4.so

b67ec000-b67ee000 rwxp 00007000 08:01 17347 /lib/libnss_files-2.4.so

b67ee000-b6a63000 rwxp b67ee000 00:00 0

b6a63000-b6b63000 rwxs e8114000 00:0d 8498 /dev/nvidia0

b6b63000-b6b73000 rwxs f7826000 00:0d 8498 /dev/nvidia0

b6b73000-b6b83000 rwxs f8820000 00:0d 8498 /dev/nvidia0

b6b83000-b6c85000 rwxs e8011000 00:0d 8498 /dev/nvidia0

b6c85000-b6cc6000 rwxp b6c85000 00:00 0

b6cc6000-b6d28000 rwxp 00000000 00:0d 2041 /dev/zero

b6d28000-b7228000 rwxs f0000000 00:0d 8498 /dev/nvidia0

b7228000-b723f000 rwxs 00000000 00:07 13664257 /SYSV00000000 (deleted)

b723f000-b7246000 r-xp 00000000 08:01 25620 /usr/X11R6/lib/libXrender.so.1.

2.2

b7246000-b7247000 rwxp 00006000 08:01 25620 /usr/X11R6/lib/libXrender.so.1.

2.2

b7247000-b724f000 r-xp 00000000 08:01 25588 /usr/X11R6/lib/libXcursor.so.1.

0.2

b724f000-b7250000 rwxp 00007000 08:01 25588 /usr/X11R6/lib/libXcursor.so.1.

0.2

b7252000-b7254000 rwxp b7252000 00:00 0

b7254000-b7255000 rwxs 00000000 00:07 15597571 /SYSV00000000 (deleted)

b7255000-b7256000 rwxs 00000000 00:07 15564802 /SYSV00000000 (deleted)

b7256000-b7257000 rwxs 026f6000 00:0d 8498 /dev/nvidia0

b7257000-b7258000 rwxs f7825000 00:0d 8498 /dev/nvidia0

b7258000-b725c000 rwxs 15208000 00:0d 8498 /dev/nvidia0

b725c000-b725d000 rwxs f7837000 00:0d 8498 /dev/nvidia0

b725d000-b725e000 rwxs 0ed73000 00:0d 8498 /dev/nvidia0

b725e000-b725f000 rwxs 17f70000 00:0d 8498 /dev/nvidia0

b725f000-b7260000 rwxs f8001000 00:0d 8498 /dev/nvidia0

b7260000-b7262000 r-xp 00000000 08:01 40351 /usr/X11R6/lib/X11/locale/lib/c ommon/xlcDef.so.2

b7262000-b7263000 rwxp 00001000 08:01 40351 /usr/X11R6/lib/X11/locale/lib/c ommon/xlcDef.so.2

b7263000-b72c6000 rwxp b7263000 00:00 0

b72c6000-b739b000 r-xp 00000000 08:01 22010 /usr/lib/libstdc++.so.6.0.8

b739b000-b739e000 r-xp 000d5000 08:01 22010 /usr/lib/libstdc++.so.6.0.8

b739e000-b73a0000 rwxp 000d8000 08:01 22010 /usr/lib/libstdc++.so.6.0.8

b73a0000-b73a6000 rwxp b73a0000 00:00 0

b73a6000-b73a7000 r-xp 00000000 08:01 107380 /usr/lib/tls/libnvidia-tls.so.1 .0.8762

b73a7000-b73a8000 rwxp 00000000 08:01 107380 /usr/lib/tls/libnvidia-tls.so.1 .0.8762

b73a8000-b7b36000 r-xp 00000000 08:01 107349 /usr/X11R6/lib/libGLcore.so.1.0 .8762

b7b36000-b7b66000 rwxp 0078d000 08:01 107349 /usr/X11R6/lib/libGLcore.so.1.0 .8762

b7b66000-b7b6a000 rwxp b7b66000 00:00 0

b7b6a000-b7b6c000 r-xp 00000000 08:01 17336 /lib/libdl-2.4.so

b7b6c000-b7b6e000 rwxp 00001000 08:01 17336 /lib/libdl-2.4.so

b7Aborted

Share this post


Link to post
Share on other sites

not in the install folder, since regular users shouldn't have write access to system-installed software.

head over to ~/.elc/ for all the user specific stuff

that's in your home directory, the folder called dot-echo-lima-charlie

Share this post


Link to post
Share on other sites

Thanks TTL, that kills 2 birds ..... error log file is below, & the map marks are also contained in the .elc directory.

 

[11:19:20] Error: Can't open file "quest.log"

[11:19:20] Downloading http://www.eternal-lands.com/updates132/files.lst from www.eternal-lands.com

[11:19:21] Error: Can't open file "commands.lst"

[11:19:24] Error: Can't open file "./3dobjects/structures/locks.bmp"

 

 

Is this actually sufficient to cause the client to close, or is there something else?

Edited by Ignoble

Share this post


Link to post
Share on other sites

nah, it wouldn't... that backtrace looks odd to me, haven't seen one like that before :)

can you try running it in GDB first, then getting the backtrace from there? it may be more useful (install GDB, then `gdb ./el.x86.linux.bin`, `run`, when it crashes, `bt`)

did notice it's going through nvidia stuff, though, so it could be a graphics issue (which, since X is generally run as root, could cause all sorts of problems)... try with a different version, if possible

and for cal3d, if you can't find a package, you could probably install manually, from https://gna.org/projects/cal3d/ (you may need a few develpoment packages, like gcc, gcc-cpp or whatever it's called, etc, but your package manager should have all of them)

Share this post


Link to post
Share on other sites

Right, crashed again with GDB running. Actually, different effect to those seen previously where client just closed. This time, window still there, but all black. No error log produced but backtrace from GDB is:

 

 

Program received signal SIGSEGV, Segmentation fault.

[switching to Thread -1255060576 (LWP 14488)]

0xb7d06cbd in ___newselect_nocancel () from /lib/libc.so.6

(gdb) bt

#0 0xb7d06cbd in ___newselect_nocancel () from /lib/libc.so.6

#1 0x0814be0e in SDLNet_CheckSockets ()

#2 0x080ac9eb in get_message_from_server ()

#3 0x00002000 in ?? ()

#4 0x082add59 in SDL_ThreadID () at SDL_systhread.c:131

#5 0x082adc0f in RunThread (data=0x17) at SDL_systhread.c:82

#6 0xb7eec34b in start_thread () from /lib/libpthread.so.0

#7 0xb7d0d65e in clone () from /lib/libc.so.6

(gdb)

Share this post


Link to post
Share on other sites
Actually, different effect to those seen previously where client just closed. This time, window still there, but all black.
that's to be expected, GDB stops it from closing, so you can check stuff.
#0 0xb7d06cbd in ___newselect_nocancel () from /lib/libc.so.6

#1 0x0814be0e in SDLNet_CheckSockets ()

#2 0x080ac9eb in get_message_from_server ()

so it's dying in SDL's networking code... dunno how to fix that, sorry

Share this post


Link to post
Share on other sites
Actually, different effect to those seen previously where client just closed. This time, window still there, but all black.
that's to be expected, GDB stops it from closing, so you can check stuff.
#0 0xb7d06cbd in ___newselect_nocancel () from /lib/libc.so.6

#1 0x0814be0e in SDLNet_CheckSockets ()

#2 0x080ac9eb in get_message_from_server ()

so it's dying in SDL's networking code... dunno how to fix that, sorry

 

That's strange..

It crashes somewhere in the sdl_net. Try to update that library..

Share this post


Link to post
Share on other sites

Humm..

 

since i installed SuSE 10.2, i cant run self-compiled clients anymore, they crash in the cal3D lib while loading the actors.

 

Only the static client works for me. :P

 

Sounds somehow related..

 

 

Piper

Share this post


Link to post
Share on other sites

Humm..

 

since i installed SuSE 10.2, i cant run self-compiled clients anymore, they crash in the cal3D lib while loading the actors.

 

Only the static client works for me. :P

 

Sounds somehow related..

 

 

Piper

You need the correct Cal3D lib, which may be the wrong version in your package manager. IIRC, the correct Cal3D libs version for EL is 10.0.0.

Share this post


Link to post
Share on other sites

Probably 0.10.0, thats on their website, but i cant compile it. All i get is this:

 

_action.lo animation_cycle.lo bone.lo buffersource.lo cal3d_wrapper.lo coreanimation.lo corebone.lo corekeyframe.lo corematerial.lo coremesh.lo coremodel.lo coreskeleton.lo coresubmesh.lo coresubmorphtarget.lo coretrack.lo error.lo global.lo hardwaremodel.lo loader.lo matrix.lo mesh.lo mixer.lo model.lo morphtargetmixer.lo physique.lo platform.lo quaternion.lo renderer.lo saver.lo skeleton.lo springsystem.lo streamsource.lo submesh.lo vector.lo tinyxml.lo tinyxmlerror.lo tinyxmlparser.lo tinystr.lo coremorphanimation.lo

g++ -shared -nostdlib /usr/lib/gcc/i586-suse-linux/4.1.0/../../../crti.o /usr/lib/gcc/i586-suse-linux/4.1.0/crtbeginS.o .libs/animation.o .libs/animation_action.o .libs/animation_cycle.o .libs/bone.o .libs/buffersource.o .libs/cal3d_wrapper.o .libs/coreanimation.o .libs/corebone.o .libs/corekeyframe.o .libs/corematerial.o .libs/coremesh.o .libs/coremodel.o .libs/coreskeleton.o .libs/coresubmesh.o .libs/coresubmorphtarget.o .libs/coretrack.o .libs/error.o .libs/global.o .libs/hardwaremodel.o .libs/loader.o .libs/matrix.o .libs/mesh.o .libs/mixer.o .libs/model.o .libs/morphtargetmixer.o .libs/physique.o .libs/platform.o .libs/quaternion.o .libs/renderer.o .libs/saver.o .libs/skeleton.o .libs/springsystem.o .libs/streamsource.o .libs/submesh.o .libs/vector.o .libs/tinyxml.o .libs/tinyxmlerror.o .libs/tinyxmlparser.o .libs/tinystr.o .libs/coremorphanimation.o -L/usr/lib/gcc/i586-suse-linux/4.1.0 -L/usr/lib/gcc/i586-suse-linux/4.1.0/../../../../i586-suse-linux/lib -L/usr/lib/gcc/i586-suse-linux/4.1.0/../../.. /usr/lib/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc/i586-suse-linux/4.1.0/crtendS.o /usr/lib/gcc/i586-suse-linux/4.1.0/../../../crtn.o @all_libraries@ -Wl,-soname -Wl,libcal3d.so.11 -o .libs/libcal3d.so.11.0.0

g++: @all_libraries@: No such file or directory

make[3]: *** [libcal3d.la] Fehler 1

make[3]: Leaving directory `/home/joerggrohne/cal3d/cal3d-0.10.0/src/cal3d'

make[2]: *** [all-recursive] Fehler 1

make[2]: Leaving directory `/home/joerggrohne/cal3d/cal3d-0.10.0/src'

make[1]: *** [all-recursive] Fehler 1

make[1]: Leaving directory `/home/joerggrohne/cal3d/cal3d-0.10.0'

make: *** [all] Fehler 2

 

Any link to a *working* 0.10.0 version of cal3d?

 

Piper

Share this post


Link to post
Share on other sites
Any link to a *working* 0.10.0 version of cal3d?

 

Piper

Check rpmfind.net for a Cal3D version 0.10.0. You'll need the dev libs too, but there should be plenty of RPMs flying about.

Share this post


Link to post
Share on other sites

Finally found an RPM which is downloadable AND installable, thanks snowball :pirate:

 

http://rpmfind.net/linux/rpm2html/search.p...ubmit=Search+...

 

Ignoble, does that help with your problem too?

 

Piper

 

Edit: of course, it worked only after copying the 0.10.0 libs from /usr/lib to /usr/local/lib and do a ln -s to them. Installing a Fedora RPM under SuSE may be not a very good idea..

Edited by The_Piper

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×