Author Topic: Random crash to desktop  (Read 3182 times)

allen

  • Guest
Random crash to desktop
« on: 12 February 2011, 19:44:58 »
I've installed megaglest on my 64bit kubuntu machine with no problems, it's running fantastic. I installed it on my son's PC and it crashes to the desktop at random times. There doesn't seem to be any pattern or specific thing he's doing that causes it.

It's a 32bit AMD machine, 2.1GHz with 4GB of memory.
Kubuntu 10.04.
Nvidia Geforce6200 graphics card with the latest proprietary drivers loaded.
Megaglest version is 3.4.0.

Here is the console output from the last crash:
---------------------------------------
cj@cj:~$ /home/cj/.megaglest/glest
gamedir [/home/cj/.megaglest]
Looking for LDCONFIG []...
LDCONFIG environment variable is not set...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/cj/.megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libopenal.so.1] pointed to from [/home/cj/.megaglest/lib/libopenal.so.0]
default library [/home/cj/.megaglest/lib/libdirectfb-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libdirectfb-1.2.so.0] pointed to from [/home/cj/.megaglest/lib/libdirectfb-1.0.so.0]
default library [/home/cj/.megaglest/lib/libfusion-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libfusion-1.2.so.0] pointed to from [/home/cj/.megaglest/lib/libfusion-1.0.so.0]
default library [/home/cj/.megaglest/lib/libdirect-1.0.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libdirect-1.2.so.0] pointed to from [/home/cj/.megaglest/lib/libdirect-1.0.so.0]
default library [/home/cj/.megaglest/lib/libjpeg.so.62] was found in [/usr/lib/libjpeg.so.62]
default library [/home/cj/.megaglest/lib/libpng12.so.0] was found in [/lib/libpng12.so.0]
default library [/home/cj/.megaglest/lib/libcurl-gnutls.so.4] was found in [/usr/lib/libcurl-gnutls.so.4]
default library [/home/cj/.megaglest/lib/libxerces-c.so.28] is missing, attempting to find and link to a newer version if available...
v3.4.0-GNUC: 40204-Feb  1 2011 23:00:26, SVN: [Rev: 1688]
Aborted
cj@cj:~$
---------------------------------------

I don't know if the libxerces-c.so.28 is the problem but the file is right there where it's supposed to be so I don't know why it can't find it. Could that be the issue?

If you need the debug.log it can be downloaded here: http://www.mtlaners.org/allen/debug.log.

Any help is greatly appreciated.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: Random crash to desktop
« Reply #1 on: 12 February 2011, 22:01:45 »
Run the script from a terminal like this:

sh +x ./glest

and paste the output here

allen

  • Guest
Re: Random crash to desktop
« Reply #2 on: 13 February 2011, 21:39:55 »
Thanks for your response. Here it is:

-----------------------------------------------------

Code: [Select]
cj@cj:~$ cd megaglest
cj@cj:~/megaglest$
cj@cj:~/megaglest$ sh -x ./glest
+ LIBDIR=lib
+ readlink -f ./glest
+ MYLOCATION=/home/cj/megaglest/glest
+ dirname /home/cj/megaglest/glest
+ GAMEDIR=/home/cj/megaglest
+ cd /home/cj/megaglest
+ echo gamedir [/home/cj/megaglest]
gamedir [/home/cj/megaglest]
+ test -n lib
+ export LD_LIBRARY_PATH=:/home/cj/megaglest/lib
+ echo Looking for LDCONFIG []...
Looking for LDCONFIG []...
+ [ _ = _ ]
+ echo LDCONFIG environment variable is not set...
LDCONFIG environment variable is not set...
+ which ldconfig
+ [ /sbin/ldconfig ]
+ which ldconfig
+ LDCONFIG=/sbin/ldconfig
+ echo Found LDCONFIG using which [/sbin/ldconfig]...
Found LDCONFIG using which [/sbin/ldconfig]...
+ uname -m
+ OS_TYPE=i686
+ [ -f /etc/SuSE-release ]
+ [ -f /etc/fedora-release ]
+ OPENAL_LINKEDLIBNAME=libopenal.so.0
+ OPENAL_LIBLOOKUP1=libopenal.so.0
+ OPENAL_LIBLOOKUP2=libopenal.so.1
+ DIRECTFB_LINKEDLIBNAME=libdirectfb-1.0.so.0
+ DIRECTFB_LIBLOOKUP1=libdirectfb-1.0.so.0
+ DIRECTFB_LIBLOOKUP2=libdirectfb-
+ FUSION_LINKEDLIBNAME=libfusion-1.0.so.0
+ FUSION_LIBLOOKUP1=libdirectfb-1.0.so.0
+ FUSION_LIBLOOKUP2=libfusion-
+ DIRECT_LINKEDLIBNAME=libdirect-1.0.so.0
+ DIRECT_LIBLOOKUP1=libdirect-1.0.so.0
+ DIRECT_LIBLOOKUP2=libdirect-
+ JPG_LINKEDLIBNAME=libjpeg.so.62                                                                                                             
+ JPG_LIBLOOKUP1=libjpeg.so.62                                                                                                                 
+ JPG_LIBLOOKUP2=libjpeg.so                                                                                                                   
+ PNG_LINKEDLIBNAME=libpng12.so.0                                                                                                             
+ PNG_LIBLOOKUP1=libpng12.so.0                                                                                                                 
+ PNG_LIBLOOKUP2=libpng                                                                                                                       
+ CURL_LINKEDLIBNAME=libcurl-gnutls.so.4                                                                                                       
+ CURL_LIBLOOKUP1=libcurl-gnutls.so.4                                                                                                         
+ CURL_LIBLOOKUP2=libcurl.so.4                                                                                                                 
+ XERCES_LINKEDLIBNAME=libxerces-c.so.28                                                                                                       
+ XERCES_LIBLOOKUP1=libxerces-c.so.28                                                                                                         
+ XERCES_LIBLOOKUP2=libxerces-c
+ [ i686_ = x86_64_ ]
+ findMissingSO /sbin/ldconfig /home/cj/megaglest/lib/libopenal.so.0 libopenal.so.0 libopenal.so.1
+ LDCONFIG=/sbin/ldconfig
+ SO_LINKEDLIBNAME=/home/cj/megaglest/lib/libopenal.so.0
+ SO_LIBLOOKUP1=libopenal.so.0
+ SO_LIBLOOKUP2=libopenal.so.1
+ /sbin/ldconfig -p
+ grep -m 1 libopenal.so.0
+ cut -d> -f2
+ cut -d  -f2
+ hasSO=
+ [ -n  ]
+ echo default library [/home/cj/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/cj/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
+ /sbin/ldconfig -p
+ grep -m 1 libopenal.so.1
+ cut -d> -f2
+ cut -d  -f2
+ hasSO=/usr/lib/libopenal.so.1
+ [ -n /usr/lib/libopenal.so.1 ]
+ echo new library link [/usr/lib/libopenal.so.1] pointed to from [/home/cj/megaglest/lib/libopenal.so.0]
new library link [/usr/lib/libopenal.so.1] pointed to from [/home/cj/megaglest/lib/libopenal.so.0]
+ ln -f -s /usr/lib/libopenal.so.1 /home/cj/megaglest/lib/libopenal.so.0
+ return 0
+ findMissingSO /sbin/ldconfig /home/cj/megaglest/lib/libdirectfb-1.0.so.0 libdirectfb-1.0.so.0 libdirectfb-
+ LDCONFIG=/sbin/ldconfig
+ SO_LINKEDLIBNAME=/home/cj/megaglest/lib/libdirectfb-1.0.so.0
+ SO_LIBLOOKUP1=libdirectfb-1.0.so.0
+ SO_LIBLOOKUP2=libdirectfb-
+ cut -d  -f2
+ cut -d> -f2
+ grep -m 1 libdirectfb-1.0.so.0
+ /sbin/ldconfig -p
+ hasSO=
+ [ -n  ]
+ echo default library [/home/cj/megaglest/lib/libdirectfb-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/cj/megaglest/lib/libdirectfb-1.0.so.0] is missing, attempting to find and link to a newer version if available...
+ cut -d  -f2
+ cut -d> -f2
+ grep -m 1 libdirectfb-
+ /sbin/ldconfig -p
+ hasSO=/usr/lib/libdirectfb-1.2.so.9
+ [ -n /usr/lib/libdirectfb-1.2.so.9 ]
+ echo new library link [/usr/lib/libdirectfb-1.2.so.9] pointed to from [/home/cj/megaglest/lib/libdirectfb-1.0.so.0]
new library link [/usr/lib/libdirectfb-1.2.so.9] pointed to from [/home/cj/megaglest/lib/libdirectfb-1.0.so.0]
+ ln -f -s /usr/lib/libdirectfb-1.2.so.9 /home/cj/megaglest/lib/libdirectfb-1.0.so.0
+ return 0
+ findMissingSO /sbin/ldconfig /home/cj/megaglest/lib/libfusion-1.0.so.0 libdirectfb-1.0.so.0 libfusion-
+ LDCONFIG=/sbin/ldconfig
+ SO_LINKEDLIBNAME=/home/cj/megaglest/lib/libfusion-1.0.so.0
+ SO_LIBLOOKUP1=libdirectfb-1.0.so.0
+ SO_LIBLOOKUP2=libfusion-
+ grep -m 1 libdirectfb-1.0.so.0
+ cut -d> -f2
+ cut -d  -f2
+ /sbin/ldconfig -p
+ hasSO=
+ [ -n  ]
+ echo default library [/home/cj/megaglest/lib/libfusion-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/cj/megaglest/lib/libfusion-1.0.so.0] is missing, attempting to find and link to a newer version if available...
+ cut -d  -f2
+ cut -d> -f2
+ grep -m 1 libfusion-
+ /sbin/ldconfig -p
+ hasSO=/usr/lib/libfusion-1.2.so.9
+ [ -n /usr/lib/libfusion-1.2.so.9 ]
+ echo new library link [/usr/lib/libfusion-1.2.so.9] pointed to from [/home/cj/megaglest/lib/libfusion-1.0.so.0]
new library link [/usr/lib/libfusion-1.2.so.9] pointed to from [/home/cj/megaglest/lib/libfusion-1.0.so.0]
+ ln -f -s /usr/lib/libfusion-1.2.so.9 /home/cj/megaglest/lib/libfusion-1.0.so.0
+ return 0
+ findMissingSO /sbin/ldconfig /home/cj/megaglest/lib/libdirect-1.0.so.0 libdirect-1.0.so.0 libdirect-
+ LDCONFIG=/sbin/ldconfig
+ SO_LINKEDLIBNAME=/home/cj/megaglest/lib/libdirect-1.0.so.0
+ SO_LIBLOOKUP1=libdirect-1.0.so.0
+ SO_LIBLOOKUP2=libdirect-
+ /sbin/ldconfig -p
+ cut -d  -f2
+ cut -d> -f2
+ grep -m 1 libdirect-1.0.so.0
+ hasSO=
+ [ -n  ]
+ echo default library [/home/cj/megaglest/lib/libdirect-1.0.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/cj/megaglest/lib/libdirect-1.0.so.0] is missing, attempting to find and link to a newer version if available...
+ cut -d  -f2
+ cut -d> -f2
+ grep -m 1 libdirect-
+ /sbin/ldconfig -p
+ hasSO=/usr/lib/libdirect-1.2.so.9
+ [ -n /usr/lib/libdirect-1.2.so.9 ]
+ echo new library link [/usr/lib/libdirect-1.2.so.9] pointed to from [/home/cj/megaglest/lib/libdirect-1.0.so.0]
new library link [/usr/lib/libdirect-1.2.so.9] pointed to from [/home/cj/megaglest/lib/libdirect-1.0.so.0]
+ ln -f -s /usr/lib/libdirect-1.2.so.9 /home/cj/megaglest/lib/libdirect-1.0.so.0
+ return 0
+ findMissingSO /sbin/ldconfig /home/cj/megaglest/lib/libjpeg.so.62 libjpeg.so.62 libjpeg.so
+ LDCONFIG=/sbin/ldconfig
+ SO_LINKEDLIBNAME=/home/cj/megaglest/lib/libjpeg.so.62
+ SO_LIBLOOKUP1=libjpeg.so.62
+ SO_LIBLOOKUP2=libjpeg.so
+ /sbin/ldconfig -p
+ cut -d> -f2
+ grep -m 1 libjpeg.so.62
+ cut -d  -f2
+ hasSO=/usr/lib/libjpeg.so.62
+ [ -n /usr/lib/libjpeg.so.62 ]
+ echo default library [/home/cj/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/libjpeg.so.62]
default library [/home/cj/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/libjpeg.so.62]
+ return 0
+ findMissingSO /sbin/ldconfig /home/cj/megaglest/lib/libpng12.so.0 libpng12.so.0 libpng
+ LDCONFIG=/sbin/ldconfig
+ SO_LINKEDLIBNAME=/home/cj/megaglest/lib/libpng12.so.0
+ SO_LIBLOOKUP1=libpng12.so.0
+ SO_LIBLOOKUP2=libpng
+ grep -m 1 libpng12.so.0
+ cut -d> -f2
+ /sbin/ldconfig -p
+ cut -d  -f2
+ hasSO=/lib/libpng12.so.0
+ [ -n /lib/libpng12.so.0 ]
+ echo default library [/home/cj/megaglest/lib/libpng12.so.0] was found in [/lib/libpng12.so.0]
default library [/home/cj/megaglest/lib/libpng12.so.0] was found in [/lib/libpng12.so.0]
+ return 0
+ findMissingSO /sbin/ldconfig /home/cj/megaglest/lib/libcurl-gnutls.so.4 libcurl-gnutls.so.4 libcurl.so.4
+ LDCONFIG=/sbin/ldconfig
+ SO_LINKEDLIBNAME=/home/cj/megaglest/lib/libcurl-gnutls.so.4
+ SO_LIBLOOKUP1=libcurl-gnutls.so.4
+ SO_LIBLOOKUP2=libcurl.so.4
+ /sbin/ldconfig -p
+ cut -d  -f2
+ cut -d> -f2
+ grep -m 1 libcurl-gnutls.so.4
+ hasSO=/usr/lib/libcurl-gnutls.so.4
+ [ -n /usr/lib/libcurl-gnutls.so.4 ]
+ echo default library [/home/cj/megaglest/lib/libcurl-gnutls.so.4] was found in [/usr/lib/libcurl-gnutls.so.4]
default library [/home/cj/megaglest/lib/libcurl-gnutls.so.4] was found in [/usr/lib/libcurl-gnutls.so.4]
+ return 0
+ findMissingSO /sbin/ldconfig /home/cj/megaglest/lib/libxerces-c.so.28 libxerces-c.so.28 libxerces-c
+ LDCONFIG=/sbin/ldconfig
+ SO_LINKEDLIBNAME=/home/cj/megaglest/lib/libxerces-c.so.28
+ SO_LIBLOOKUP1=libxerces-c.so.28
+ SO_LIBLOOKUP2=libxerces-c
+ cut -d  -f2
+ cut -d> -f2
+ grep -m 1 libxerces-c.so.28
+ /sbin/ldconfig -p
+ hasSO=
+ [ -n  ]
+ echo default library [/home/cj/megaglest/lib/libxerces-c.so.28] is missing, attempting to find and link to a newer version if available...
default library [/home/cj/megaglest/lib/libxerces-c.so.28] is missing, attempting to find and link to a newer version if available...
+ cut -d  -f2
+ cut -d> -f2
+ grep -m 1 libxerces-c
+ /sbin/ldconfig -p
+ hasSO=
+ [ -n  ]
+ return 0
+ ./bin/glest.bin
v3.4.0-GNUC: 40204-Feb  1 2011 23:00:26, SVN: [Rev: 1688]
Aborted
cj@cj:~/megaglest$

Edit by Omega: Placed in code tag.
« Last Edit: 14 February 2011, 02:47:51 by Omega »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: Random crash to desktop
« Reply #3 on: 14 February 2011, 06:20:44 »
Please output the result of the following command:

Code: [Select]
softcoder@softhauslinux:~$ /sbin/ldconfig -p | grep -m 1 libxerces-c
My output is:
Code: [Select]
libxerces-c.so.28 (libc6,x86-64) => /usr/lib/libxerces-c.so.28

allen

  • Guest
Re: Random crash to desktop
« Reply #4 on: 14 February 2011, 15:57:11 »
I get nothing when I run that command. An ls of /usr/lib shows that that file is not there. It is in the megaglest/lib directory though.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: Random crash to desktop
« Reply #5 on: 14 February 2011, 16:39:17 »
try installing libxerces and delete from the megaglest/lib folder. See if that corrects your problem.

allen

  • Guest
Re: Random crash to desktop
« Reply #6 on: 14 February 2011, 16:42:38 »
I'll give that a try when I get home tonight. Thanks!