Author Topic: How to report problems with the Linux Installer.  (Read 2485 times)

Platyna

  • Hydlaa Notable
  • *
  • Posts: 556
    • View Profile
How to report problems with the Linux Installer.
« on: May 22, 2005, 08:58:12 pm »
Last updated at: 05.06.2005.


What to do first?

First check this thread. If you will not find a solution for your problem in this thread then:

Try to running the updater, if problem still occurs...

If you have previously used the client compiled from source make sure that
you do not have enviroment variables set such like $CEL, $CRYSTAL, $CSCONFPATH,
$LD_LIBRARY_PATH (which is unset on most of Linux systems). They should be
set in your .basrc or .bash_profile file in your home directory or in the system
wide config file /etc/profile.

Make sure if no one else has posted similar problem, then you may post in that
person\'s thread. If you have any doubts create a new one, make sure the title
is not like \"Help!\", \"I have a problem!\", \"Pls someone help me!\" otherwise if
there will be many of them no one will find oneself here...and if I or other
people will be confused seeing this, we will most likely ignore you. Mind that
Planeshift team and contributors are doing their job for free, so be polite.
If you will post your problem try to include as many information as you can.
Be verbose. If you suspect that the problem itself is more related to the
Planeshift code than the Linux Installer use the BugTracker to report it.


What information should I post and how can I obtain it?

Basic information:
- Distribution name and distribution version
- X server version
- Glibc version
- Graphic card kind and driver version etc.

Then make sure you don\'t have old Planeshift error logs in your /tmp directory,
like cs-debug.txt, csdebug-yourlogin.txt or psclient.txt, remove them and run
the client, if something bad happens save these files and paste them on [URL
http://www.rafb.net/paste/[/URL] and give us links in your post.

Run the client as following:
psclient --verbose > psoutput.txt 2>&1
And paste the file on http://www.rafb.net/paste/, if the file will be big, like a few
MB pack it using tar(1):
tar -cf psoutput.tar psoutput.txt
Publish it somewhere on the web (you may use Freewebs) and give us a link.

You may also use the strace(1) and save output of it to the file using the following command:
strace -ostrace.txt ./psclient
And paste the file content on http://rafb.net/paste/ too.

If you will follow these instructions this will allow us to create a good Linux
installer for the Linux community.

If something is not clear, don\'t be afraid to ask, anyway please do not post
problems with the installer in this thread.


Regards.
Zuzanna K. Filutowska
RPG Players Community || Platyna\'s Planeshift Warehouse
\"The only thing necessary for evil to triumph is for good men to do nothing.\" -- Edward Burke

Leeloo

  • Hydlaa Resident
  • *
  • Posts: 161
    • View Profile
(No subject)
« Reply #1 on: May 23, 2005, 10:01:28 am »
I didn\'t need to set all the $BLABLA variables. Besides, if they are needed, the launcher should set them (used to be a script, but apparently a program now).

lethe

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
updater ok but game does not start
« Reply #2 on: May 23, 2005, 04:36:41 pm »
ups i wanted to click on new thread .. sry

ok, the updater worked well and wow it has a gui.
pssetup works as well but when i try psclient it fails.

Distribution: Gentoo-Linux
Kernel: 2.6.11-gentoo-r4
X Window System Version 6.8.2
gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
glibc-2.3.5
nVidia GeForce FX 5500 driver: 1.0-7174

16:31-lethe@hades:/mnt/kiste/spiele/planeshift$./psclient

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  0.99 r0 [Unix-x86-GCC]
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
LOG_CELPERSIST flag deactivated.
LOG_PAWS flag deactivated.
LOG_GROUP flag deactivated.
LOG_CHEAT flag deactivated.
LOG_LINMOVE flag deactivated.
LOG_SPELLS flag deactivated.
LOG_NEWCHAR flag deactivated.
LOG_SUPERCLIENT flag deactivated.
LOG_EXCHANGES flag deactivated.
LOG_ADMIN flag deactivated.
LOG_STARTUP flag deactivated.
LOG_CHARACTER flag deactivated.
LOG_CONNECTIONS flag deactivated.
LOG_CHAT flag deactivated.
LOG_NET flag deactivated.
LOG_LOAD flag deactivated.
LOG_NPC flag deactivated.
LOG_TRADE flag deactivated.
LOG_SOUND flag deactivated.
LOG_COMBAT flag deactivated.
LOG_SKILLXP flag deactivated.
LOG_QUESTS flag deactivated.
LOG_SCRIPT flag deactivated.
psclient.bin: src/common/util/psxmlparser.cpp:402: void CopyXMLNode(csRef, csRef, int): Zusicherung ?!\"failed to create XML node, you are probably using wrong XML parser (xmlread instead of xmltiny)\"? nicht erf?llt.

hope this helps if not i can post more verbose stuff if you can tell me how to enable the LOG flags in PS.

/tmp/csdebug-lethe.txt :
planeshift.application.client:  PlaneShift Crystal Blue
planeshift.application.client:  This game uses Crystal Space Engine created by Jorrit and o$
planeshift.application.client:  0.99 r0 [Unix-x86-GCC]

ldd ./glx2d.so
        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7f4a000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7f32000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7eba000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7eb1000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7e99000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7dc4000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7db2000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7d5f000)
        libm.so.6 => /lib/libm.so.6 (0xb7d3c000)
        libz.so.1 => /lib/libz.so.1 (0xb7d27000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 (0xb7c5f000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libgcc_s.so.1 (0xb7c53000)
        libc.so.6 => /lib/libc.so.6 (0xb7b2f000)
        /lib/ld-linux.so.2 (0x80000000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb73dd000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb73db000)

ldd ./gl3d.so
        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7f4d000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7f35000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7ee3000)
        libz.so.1 => /lib/libz.so.1 (0xb7ece000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7e56000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7e4d000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7e35000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d5f000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7d4d000)
        libm.so.6 => /lib/libm.so.6 (0xb7d2a000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 (0xb7c62000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libgcc_s.so.1 (0xb7c56000)
        libc.so.6 => /lib/libc.so.6 (0xb7b32000)
        /lib/ld-linux.so.2 (0x80000000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb73e0000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb73de000)

and finally the strace output from psclient:

execve(\"./psclient\", [\"./psclient\"], [/* 63 vars */]) = 0
uname({sys=\"Linux\", node=\"hades\", ...}) = 0
brk(0)                                  = 0x804a000
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=154455, ...}) = 0
mmap2(NULL, 154455, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fc4000
close(3)                                = 0
open(\"/lib/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\\0U\\1\\000\"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1266428, ...}) = 0
mmap2(NULL, 1195252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ea0000
mprotect(0xb7fbd000, 27892, PROT_NONE)  = 0
mmap2(0xb7fbe000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11d) = 0xb7fbe000
mmap2(0xb7fc2000, 7412, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fc2000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e9f000
mprotect(0xb7fbe000, 4096, PROT_READ)   = 0
munmap(0xb7fc4000, 154455)              = 0
open(\"/dev/urandom\", O_RDONLY)          = 3
read(3, \"g\\3770\\252\", 4)                = 4
close(3)                                = 0
brk(0)                                  = 0x804a000
brk(0x806b000)                          = 0x806b000
getcwd(\"/mnt/kiste/spiele/planeshift\", 10000) = 29
readlink(\"/mnt/kiste/spiele/planeshift/psclient\", 0xbfff5410, 10000) = -1 EINVAL (Invalid argument)
open(\"/mnt/kiste/spiele/planeshift/psclient.bin\", O_RDONLY) = 3
close(3)                                = 0
chdir(\"/mnt/kiste/spiele/planeshift\")   = 0
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
fork()                                  = 9175
waitpid(9175, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGABRT}], 0) = 9175
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(0)                           = ?
« Last Edit: May 23, 2005, 06:43:31 pm by lethe »

Platyna

  • Hydlaa Notable
  • *
  • Posts: 556
    • View Profile
(No subject)
« Reply #3 on: May 24, 2005, 12:26:12 am »
Leeloo: I actually told here to make sure you have them UNSET, if someone
eg. tried to compile PS from CVS...

Lethe: Then make a new thread, because I don\'t want this thread to be messed
up.
Anyway looks like some XML issue...

Regards.
Zuzanna K. Filutowska
RPG Players Community || Platyna\'s Planeshift Warehouse
\"The only thing necessary for evil to triumph is for good men to do nothing.\" -- Edward Burke

Leeloo

  • Hydlaa Resident
  • *
  • Posts: 161
    • View Profile
(No subject)
« Reply #4 on: May 24, 2005, 10:26:52 am »
Whoops... \"Not\" is such a small word, easy to miss. Considering how important it is[1], it ought to be much longer. At least three lines :)

[1] \"Do not kill him\" <- notice the importance of the word \"not\".