I couldn't get sound to work with PCLinuxOS. I posted my problem earlier but did not get any results. Today I saw that a new version was created just to fix sound problems with Linux. I was overjoyed! I installed the new version (2.0.9 mojo), renamed my .warzone2100 directory, and tried to run the game with the --sound switch. The game started to run did immediately crashed. I got the following output from a terminal:
Saved dump file to '/tmp/warzone2100.gdmp'
Segmentation fault
Here is what is in the warzone2100.gdmp file:
Program: /usr/games/warzone2100/warzone2100
Version: 2.0.9
Type: Release
Compiled on: Dec 3 2007
Executed on: Thu Dec 20 19:07:26 2007
Operating system: Linux
Node name: localhost
Release: 2.6.22.10.tex1.a64
Version: #1 SMP Thu Oct 11 15:11:37 WST 2007
Machine: i686
Pointers: 32bit
Dump caused by signal: SIGSEGV: Invalid memory reference: Address not mapped to object
GLIBC raw backtrace:
./warzone2100[0x816a762]
[0xb7f00440]
./warzone2100[0x813de8b]
./warzone2100[0x813f1ff]
./warzone2100[0x805eed6]
./warzone2100[0x816c7f0]
./warzone2100[0x816f340]
./warzone2100[0x816cb42]
./warzone2100[0x8092182]
./warzone2100[0x80a742f]
/lib/i686/libc.so.6(__libc_start_main+0xdc)[0xb7b3075c]
./warzone2100[0x804ce91]
GDB extended backtrace:
GNU gdb 6.3-9pclos2007 (PCLinuxOS release 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu"...Using host libthread_db library "/lib/i686/libthread_db.so.1".
Attaching to program: /usr/games/warzone2100/warzone2100, process 13571
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xb7f00000
`shared object read from target memory' has disappeared; keeping its symbols.
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /usr/lib/libSDL_net-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL_net-1.2.so.0
Reading symbols from /usr/lib/nvidia/libGL.so.1...done.
Loaded symbols for /usr/lib/nvidia/libGL.so.1
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from /usr/lib/libopenal.so.0...done.
Loaded symbols for /usr/lib/libopenal.so.0
Reading symbols from /usr/lib/libvorbisfile.so.3...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libesd.so.0...done.
Loaded symbols for /usr/lib/libesd.so.0
Reading symbols from /usr/lib/libaudiofile.so.0...done.
Loaded symbols for /usr/lib/libaudiofile.so.0
Reading symbols from /usr/lib/libdirectfb-0.9.so.25...done.
Loaded symbols for /usr/lib/libdirectfb-0.9.so.25
Reading symbols from /usr/lib/libfusion-0.9.so.25...done.
Loaded symbols for /usr/lib/libfusion-0.9.so.25
Reading symbols from /usr/lib/libdirect-0.9.so.25...done.
Loaded symbols for /usr/lib/libdirect-0.9.so.25
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libggi.so.2...done.
Loaded symbols for /usr/lib/libggi.so.2
Reading symbols from /usr/lib/libgii.so.0...done.
Loaded symbols for /usr/lib/libgii.so.0
Reading symbols from /usr/lib/libgg.so.0...done.
Loaded symbols for /usr/lib/libgg.so.0
Reading symbols from /usr/lib/libaa.so.1...done.
Loaded symbols for /usr/lib/libaa.so.1
Reading symbols from /lib/i686/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1227069712 (LWP 13571)]
[New Thread -1243173984 (LWP 13605)]
Loaded symbols for /lib/i686/libpthread.so.0
Reading symbols from /usr/lib/nvidia/libGLcore.so.1...done.
Loaded symbols for /usr/lib/nvidia/libGLcore.so.1
Reading symbols from /usr/lib/tls/libnvidia-tls.so.1...done.
Loaded symbols for /usr/lib/tls/libnvidia-tls.so.1
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /usr/lib/libvorbis.so.0...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libslang.so.1...done.
Loaded symbols for /usr/lib/libslang.so.1
Reading symbols from /lib/libgpm.so.1...done.
Loaded symbols for /lib/libgpm.so.1
Reading symbols from /usr/lib/libogg.so.0...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXrandr.so.2...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
0xb7f00410 in __kernel_vsyscall ()
(gdb) #0 0xb7f00410 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7ba6ddb in waitpid () from /lib/i686/libc.so.6
No symbol table info available.
#2 0x0816ad04 in posixExceptionHandler (signum=11, siginfo=0xbfd0ea2c,
sigcontext=0xbfd0eaac) at exceptionhandler.c:505
btBuffer = {0x816a762, 0xb7f00440, 0x813de8b, 0x813f1ff, 0x805eed6,
0x816c7f0, 0x816f340, 0x816cb42, 0x8092182, 0x80a742f, 0xb7b3075c,
0x804ce91, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
pid = 13616
gdbPipe = {14, 15}
dumpFile = 13
allreadyRunning = 1
#3 0xb7f00440 in __kernel_sigreturn ()
No symbol table info available.
#4 0x00000000 in ?? ()
No symbol table info available.
(gdb) Detaching from program: /usr/games/warzone2100/warzone2100, process 13571
Hope this helps someone figure this out!
2.0.9 not working Kubuntu/PCLinuxOS
Re: 2.0.9 not working Kubuntu/PCLinuxOS
Sadly, that won't help us at all. It doesn't contain any debug symbols.
You would have to compile the game yourself, and leave the debug symbols, then when it crashes again, you can post that.
Also post what version of openAL, libvorbis you have installed on your system.
You would have to compile the game yourself, and leave the debug symbols, then when it crashes again, you can post that.
Also post what version of openAL, libvorbis you have installed on your system.
and it ends here.
Re: 2.0.9 not working Kubuntu/PCLinuxOS
Ok, I'll compile the game sometime tonight. BTW, I'm using libalsa2-1.0.15-1pclos2007, libvorbis0-1.1.2-5pclos2007, and libopenal0-0.0.8-4pclos2007.
Re: 2.0.9 not working Kubuntu/PCLinuxOS
How do I leave the debug symbols?
Re: 2.0.9 not working Kubuntu/PCLinuxOS
I don't know how to do it on release builds on linux, but it is whatever option to NOT strip the exe.
I just know these steps: (for debug builds)
./autogen.sh
./configure ---enable-debug=yes
make
That will get the info we need though.
Then it is best to run the game in gdb.
Then after the crash, do a bt full
and save that output to a file (you can log it via the gdb commands if you wish, instead of copy & paste)
Hope that helps.
I just know these steps: (for debug builds)
./autogen.sh
./configure ---enable-debug=yes
make
That will get the info we need though.
Then it is best to run the game in gdb.
Then after the crash, do a bt full
and save that output to a file (you can log it via the gdb commands if you wish, instead of copy & paste)
Hope that helps.
and it ends here.
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: 2.0.9 not working Kubuntu/PCLinuxOS
Looks like the problem with libvorbis 1.1, which will be fixed in 2.0.10 (or if you don't want to wait and know how, use the 2.0 SVN branch).
We want information... information... information.