Crash game when load a save game

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Crash game when load a save game

Post by bisounours army »

hi
when i load a save game .... crash!

Code: Select all

$ warzone2100 --version
Warzone 2100 - Version 2.1 branch r0 - Compilation Apr 22 2008

Code: Select all

$ warzone2100
error   : getCampaignV: error while reading file: File not found
Saved dump file to '/tmp/warzone2100.gdmp'
Abandon

Code: Select all

$ ls -al /tmp/war*
-rw------- 1 Jonathan Jonathan 8876 oct  1 23:01 /tmp/warzone2100.gdmp

Code: Select all

error   : Returned savegame/warzone_jo.gam
*** buffer overflow detected ***: warzone2100 terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x310f8fce77]
/lib64/libc.so.6[0x310f8facb0]
warzone2100[0x4e2d17]
warzone2100[0x4d57a2]
warzone2100[0x4d6627]
warzone2100[0x44ceba]
warzone2100[0x462d65]
warzone2100[0x464775]
/lib64/libc.so.6(__libc_start_main+0xfa)[0x310f81e32a]
warzone2100[0x4073e9]
======= Memory map: ========
00110000-00123000 r-xp 00000000 fd:01 128229                             /usr/lib64/dri/swrast_dri.so
00123000-00323000 ---p 00013000 fd:01 128229                             /usr/lib64/dri/swrast_dri.so
00323000-00326000 rw-p 00013000 fd:01 128229                             /usr/lib64/dri/swrast_dri.so
00326000-00327000 rw-p 00326000 00:00 0 
00400000-005b2000 r-xp 00000000 fd:01 114703                             /usr/bin/warzone2100
007b2000-007cc000 rw-p 001b2000 fd:01 114703                             /usr/bin/warzone2100
007cc000-00f03000 rw-p 007cc000 00:00 0 
011cb000-011cf000 rw-p 001cb000 fd:01 114703                             /usr/bin/warzone2100
01346000-06d50000 rw-p 01346000 00:00 0                                  [heap]
40a7b000-40a7c000 ---p 40a7b000 00:00 0 
40a7c000-4147c000 rw-p 40a7c000 00:00 0 
4147c000-4147d000 ---p 4147c000 00:00 0 
4147d000-41e7d000 rw-p 4147d000 00:00 0 
41e7d000-41e7e000 ---p 41e7d000 00:00 0 
41e7e000-4287e000 rw-p 41e7e000 00:00 0 
310f400000-310f41d000 r-xp 00000000 fd:00 16442                          /lib64/ld-2.8.so
310f61c000-310f61d000 r--p 0001c000 fd:00 16442                          /lib64/ld-2.8.so
310f61d000-310f61e000 rw-p 0001d000 fd:00 16442                          /lib64/ld-2.8.so
310f800000-310f962000 r-xp 00000000 fd:00 16461                          /lib64/libc-2.8.so
310f962000-310fb62000 ---p 00162000 fd:00 16461                          /lib64/libc-2.8.so
310fb62000-310fb66000 r--p 00162000 fd:00 16461                          /lib64/libc-2.8.so
310fb66000-310fb67000 rw-p 00166000 fd:00 16461                          /lib64/libc-2.8.so
310fb67000-310fb6c000 rw-p 310fb67000 00:00 0 
310fc00000-310fc84000 r-xp 00000000 fd:00 16524                          /lib64/libm-2.8.so
310fc84000-310fe83000 ---p 00084000 fd:00 16524                          /lib64/libm-2.8.so
310fe83000-310fe84000 r--p 00083000 fd:00 16524                          /lib64/libm-2.8.so
310fe84000-310fe85000 rw-p 00084000 fd:00 16524                          /lib64/libm-2.8.so
3110000000-3110002000 r-xp 00000000 fd:00 16470                          /lib64/libdl-2.8.so
3110002000-3110202000 ---p 00002000 fd:00 16470                          /lib64/libdl-2.8.so
3110202000-3110203000 r--p 00002000 fd:00 16470                          /lib64/libdl-2.8.so
3110203000-3110204000 rw-p 00003000 fd:00 16470                          /lib64/libdl-2.8.so
3110400000-3110416000 r-xp 00000000 fd:00 16526                          /lib64/libpthread-2.8.so
3110416000-3110615000 ---p 00016000 fd:00 16526                          /lib64/libpthread-2.8.so
3110615000-3110616000 r--p 00015000 fd:00 16526                          /lib64/libpthread-2.8.so
3110616000-3110617000 rw-p 00016000 fd:00 16526                          /lib64/libpthread-2.8.so
3110617000-311061b000 rw-p 3110617000 00:00 0 
3110800000-3110813000 r-xp 00000000 fd:01 398067                         /usr/lib64/libphysfs-1.0.so.1.0.0
3110813000-3110a13000 ---p 00013000 fd:01 398067                         /usr/lib64/libphysfs-1.0.so.1.0.0
3110a13000-3110a14000 rw-p 00013000 fd:01 398067                         /usr/lib64/libphysfs-1.0.so.1.0.0
3110c00000-3110c15000 r-xp 00000000 fd:00 16523                          /lib64/libz.so.1.2.3
3110c15000-3110e14000 ---p 00015000 fd:00 16523                          /lib64/libz.so.1.2.3
3110e14000-3110e15000 rw-p 00014000 fd:00 16523                          /lib64/libz.so.1.2.3
3111000000-311101a000 r-xp 00000000 fd:01 393682                         /usr/lib64/libxcb.so.1.0.0
311101a000-311121a000 ---p 0001a000 fd:01 393682                         /usr/lib64/libxcb.so.1.0.0
311121a000-311121b000 rw-p 0001a000 fd:01 393682                         /usr/lib64/libxcb.so.1.0.0
3111400000-3111506000 r-xp 00000000 fd:01 393686                         /usr/lib64/libX11.so.6.2.0
3111506000-3111705000 ---p 00106000 fd:01 393686                         /usr/lib64/libX11.so.6.2.0
3111705000-311170b000 rw-p 00105000 fd:01 393686                         /usr/lib64/libX11.so.6.2.0
3111800000-3111805000 r-xp 00000000 fd:01 393680                         /usr/lib64/libXdmcp.so.6.0.0
3111805000-3111a04000 ---p 00005000 fd:01 393680                         /usr/lib64/libXdmcp.so.6.0.0
3111a04000-3111a05000 rw-p 00004000 fd:01 393680                         /usr/lib64/libXdmcp.so.6.0.0
3111c00000-3111c02000 r-xp 00000000 fd:01 393678                         /usr/lib64/libXau.so.6.0.0
3111c02000-3111e01000 ---p 00002000 fd:01 393678                         /usr/lib64/libXau.so.6.0.0
3111e01000-3111e02000 rw-p 00001000 fd:01 393678                         /usr/lib64/libXau.so.6.0.0
3112000000-3112001000 r-xp 00000000 fd:01 393684                         /usr/lib64/libxcb-xlib.so.0.0.0
3112001000-3112200000 ---p 00001000 fd:01 393684                         /usr/lib64/libxcb-xlib.so.0.0.0
3112200000-3112201000 rw-p 00000000 fd:01 393684                         /usr/lib64/libxcb-xlib.so.0.0.0
3112400000-3112410000 r-xp 00000000 fd:01 394152                         /usr/lib64/libXext.so.6.4.0
3112410000-3112610000 ---p 00010000 fd:01 394152                         /usr/lib64/libXext.so.6.4.0
3112610000-3112611000 rw-p 00010000 fd:01 394152                         /usr/lib64/libXext.so.6.4.0
3112c00000-3112c07000 r-xp 00000000 fd:00 16527                          /lib64/librt-2.8.so
3112c07000-3112e07000 ---p 00007000 fd:00 16527                          /lib64/librt-2.8.so
3112e07000-3112e08000 r--p 00007000 fd:00 16527                          /lib64/librt-2.8.so
3112e08000-3112e09000 rw-p 00008000 fd:00 16527                          /lib64/librt-2.8.so
3113800000-3113805000 r-xp 00000000 fd:01 394170                         /usr/lib64/libXfixes.so.3.1.0
3113805000-3113a04000 ---p 00005000 fd:01 394170                         /usr/lib64/libXfixes.so.3.1.0
3113a04000-3113a05000 rw-p 00004000 fd:01 394170                         /usr/lib64/libXfixes.so.3.1.0
3113c00000-3113c25000 r-xp 00000000 fd:01 393690                         /usr/lib64/libpng12.so.0.29.0
3113c25000-3113e25000 ---p 00025000 fd:01 393690                         /usr/lib64/libpng12.so.0.29.0
3113e25000-3113e26000 rw-p 00025000 fd:01 393690                         /usr/lib64/libpng12.so.0.29.0
3114800000-3114827000 r-xp 00000000 fd:00 16525                          /lib64/libexpat.so.1.5.2
3114827000-3114a26000 ---p 00027000 fd:00 16525                          /lib64/libexpat.so.1.5.2
3114a26000-3114a29000 rw-p 00026000 fd:00 16525                          /lib64/libexpat.so.1.5.2
3114c00000-3114c03000 r-xp 00000000 fd:01 394268                         /usr/lib64/libSDL_net-1.2.so.0.0.7
3114c03000-3114e03000 ---p 00003000 fd:01 394268                         /usr/lib64/libSDL_net-1.2.so.0.0.7
3114e03000-3114e04000 rw-p 00003000 fd:01 394268                         /usr/lib64/libSDL_net-1.2.so.0.0.7
3116000000-3116009000 r-xp 00000000 fd:01 394104                         /usr/lib64/libXrender.so.1.3.0
3116009000-3116208000 ---p 00009000 fd:01 394104                         /usr/lib64/libXrender.so.1.3.0
3116208000-3116209000 rw-p 00008000 fd:01 394104                         /usr/lib64/libXrender.so.1.3.0
3117c00000-3117c07000 r-xp 00000000 fd:01 394167                         /usr/lib64/libXrandr.so.2.1.0
3117c07000-3117e06000 ---p 00007000 fd:01 394167                         /usr/lib64/libXrandr.so.2.1.0
3117e06000-3117e07000 rw-p 00006000 fd:01 394167                         /usr/lib64/libXrandr.so.2.1.0
3118800000-3118809000 r-xp 00000000 fd:01 394172                         /usr/lib64/libXcursor.so.1.0.2
3118809000-3118a09000 ---p 00009000 fd:01 394172                         /usr/lib64/libXcursor.so.1.0.2
3118a09000-3118a0a000 rw-p 00009000 fd:01 394172                         /usr/lib64/libXcursor.so.1.0.2
3119c00000-3119c16000 r-xp 00000000 fd:00 16533                          /lib64/libgcc_s-4.3.0-20080428.so.1
3119c16000-3119e15000 ---p 00016000 fd:00 16533                          /lib64/libgcc_s-4.3.0-20080428.so.1
3119e15000-3119e16000 rw-p 00015000 fd:00 16533                          /lib64/libgcc_s-4.3.0-20080428.soSaved dump file to '/tmp/warzone2100.gdmp'
Abandon

Code: Select all

$ pwd
/home/Jonathan/.warzone2100-2.1/savegame
$ warzone2100 --savegame warzone_jo.gam 
error   : gameLoadV: error while reading data from file for deserialization (with version number 35): File not found
Saved dump file to '/tmp/warzone2100.gdmp'
Abandon

Code: Select all

hexdump -c warzone_jo.gam 
0000000   g   a   m   e  \0  \0  \0   #                                
0000008

somebody know issue!

thanks
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Crash game when load a save game

Post by Buginator »

Warzone 2100 - Version 2.1 branch r0 - Compilation Apr 22 2008
Where did you get that?

Right now, we are on 2.1 beta 5, or trunk (2.2).

From what version of the savegame were you trying to load anyway? (Which version of the game made the savegame in other words?)


And we know that trunk currently has a savegame issue.
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

from offical fedora's repo
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Crash game when load a save game

Post by Per »

Can you please post the file /tmp/warzone2100.gdmp and find out which version of the game you are running? Thanks.
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

Code: Select all

rpm -qa|grep warzone*
warzone2100-2.1.0-0.5.beta2.fc9.x86_64

Code: Select all

$ cat /tmp/warzone2100.gdmp 
Program: /usr/bin/warzone2100
Version: 2.1_beta2
Distributor: Fedora
Type: Release
Compiled on: Apr 22 2008
Compiled by: GCC 4.3.0 20080416 (Red Hat 4.3.0-7)
Executed on: Thu Oct  2 00:56:15 2008

Operating system: Linux
Node name: localhost.localdomain
Release: 2.6.26.3-29.fc9.x86_64
Version: #1 SMP Wed Sep 3 03:16:37 EDT 2008
Machine: x86_64

Pointers: 64bit

Dump caused by signal: SIGABRT: Process abort signal

Log message 1:gameLoadV: error while reading data from file for deserialization (with version number 35): File not found
Log message 2:

GLIBC raw backtrace:
warzone2100[0x5365bb]
/lib64/libpthread.so.0[0x311040ed30]
/lib64/libc.so.6(gsignal+0x35)[0x310f832215]
/lib64/libc.so.6(abort+0x183)[0x310f833d83]
warzone2100[0x4d4365]
warzone2100[0x4d4ebd]
warzone2100[0x46368d]
warzone2100[0x464605]
/lib64/libc.so.6(__libc_start_main+0xfa)[0x310f81e32a]
warzone2100[0x4073e9]

GDB extended backtrace:
GNU gdb Fedora (6.8-21.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(no debugging symbols found)
Attaching to program: /usr/bin/warzone2100, process 24760
Reading symbols from /usr/lib64/libSDL-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libSDL-1.2.so.0
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7faf45a9e720 (LWP 24760)]
[New Thread 0x42986950 (LWP 24766)]
[New Thread 0x41f85950 (LWP 24765)]
[New Thread 0x40d86950 (LWP 24763)]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /usr/lib64/libSDL_net-1.2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libSDL_net-1.2.so.0
Reading symbols from /usr/lib64/libphysfs-1.0.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libphysfs-1.0.so.1
Reading symbols from /usr/lib64/libpng12.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libpng12.so.0
Reading symbols from /usr/lib64/libvorbisfile.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libvorbisfile.so.3
Reading symbols from /usr/lib64/libvorbis.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libvorbis.so.0
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /usr/lib64/libogg.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libogg.so.0
Reading symbols from /usr/lib64/libopenal.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libopenal.so.0
Reading symbols from /usr/lib64/libGLC.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libGLC.so.0
Reading symbols from /usr/lib64/libGL.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libGL.so.1
Reading symbols from /usr/lib64/libGLU.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libGLU.so.1
Reading symbols from /lib64/libpopt.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libpopt.so.0
Reading symbols from /lib64/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /usr/lib64/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libX11.so.6
Reading symbols from /lib64/libdl.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libz.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /usr/lib64/libesd.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libesd.so.0
Reading symbols from /usr/lib64/libaudiofile.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libaudiofile.so.0
Reading symbols from /usr/lib64/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfontconfig.so.1
Reading symbols from /usr/lib64/freetype-freeworld/libfreetype.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/freetype-freeworld/libfreetype.so.6
Reading symbols from /usr/lib64/libfribidi.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libfribidi.so.0
Reading symbols from /usr/lib64/libXext.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXext.so.6
Reading symbols from /usr/lib64/libXxf86vm.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXxf86vm.so.1
Reading symbols from /usr/lib64/libXdamage.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXdamage.so.1
Reading symbols from /usr/lib64/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXfixes.so.3
Reading symbols from /usr/lib64/libdrm.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libdrm.so.2
Reading symbols from /usr/lib64/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /lib64/libgcc_s.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /usr/lib64/libxcb-xlib.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxcb-xlib.so.0
Reading symbols from /usr/lib64/libxcb.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libxcb.so.1
Reading symbols from /lib64/libasound.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libasound.so.2
Reading symbols from /lib64/libexpat.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib64/libexpat.so.1
Reading symbols from /usr/lib64/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXau.so.6
Reading symbols from /usr/lib64/libXdmcp.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXdmcp.so.6
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /usr/lib64/libXrender.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXrender.so.1
Reading symbols from /usr/lib64/libXrandr.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXrandr.so.2
Reading symbols from /usr/lib64/libXcursor.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXcursor.so.1
Reading symbols from /usr/lib64/dri/swrast_dri.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/dri/swrast_dri.so
Reading symbols from /usr/lib64/dri/libdricore.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/dri/libdricore.so
(no debugging symbols found)
0x000000311040e86f in waitpid () from /lib64/libpthread.so.0
Missing separate debuginfos, use: debuginfo-install warzone2100.x86_64
(gdb) #0  0x000000311040e86f in waitpid () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x0000000000536b44 in glVertex3f ()
No symbol table info available.
#2  <signal handler called>
No symbol table info available.
#3  0x000000310f832215 in raise () from /lib64/libc.so.6
No symbol table info available.
#4  0x000000310f833d83 in abort () from /lib64/libc.so.6
No symbol table info available.
#5  0x00000000004d4365 in glVertex3f ()
No symbol table info available.
#6  0x00000000004d4ebd in glVertex3f ()
No symbol table info available.
#7  0x000000000046368d in glVertex3f ()
No symbol table info available.
#8  0x0000000000464605 in glVertex3f ()
No symbol table info available.
#9  0x000000310f81e32a in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#10 0x00000000004073e9 in glVertex3f ()
No symbol table info available.
#11 0x00007fff4dac8ea8 in ?? ()
No symbol table info available.
#12 0x000000000000001c in ?? ()
No symbol table info available.
#13 0x0000000000000003 in ?? ()
No symbol table info available.
#14 0x00007fff4dac9667 in ?? ()
No symbol table info available.
#15 0x00007fff4dac9673 in ?? ()
No symbol table info available.
#16 0x00007fff4dac967e in ?? ()
No symbol table info available.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /usr/bin/warzone2100, process 24760
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Crash game when load a save game

Post by Per »

beta2 is old, and the bug seems to be happening inside the driver for a very ordinary library call. Not much more I can say about this, since the debug dump is stripped.
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

ok thanks for help, i go build a rpm for fedora with warzone 2100 beta 5
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

I try wyth beta 5 but i have same problem

Code: Select all

$ warzone2100 --version
Warzone 2100 - Version 2.1_beta5
the message error when i try try save game:

Code: Select all

$ warzone2100
error   : [iV_GetCharWidth] iV_GetCharWidth: couldn't retrieve a bounding box for the character
last message repeated 2 times
last message repeated 2 times (total 4 repeats)
last message repeated 4 times (total 8 repeats)
last message repeated 8 times (total 16 repeats)
last message repeated 16 times (total 32 repeats)
*** buffer overflow detected ***: warzone2100 terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x310f8fce77]
/lib64/libc.so.6[0x310f8facb0]
warzone2100[0x4ead87]
warzone2100[0x4d80b2]
warzone2100[0x4d8fde]
warzone2100[0x45014a]
warzone2100[0x46689d]
warzone2100[0x4686bd]
/lib64/libc.so.6(__libc_start_main+0xfa)[0x310f81e32a]
warzone2100(__gxx_personality_v0+0x429)[0x408319]
======= Memory map: ========
00110000-00123000 r-xp 00000000 fd:01 128229                             /usr/lib64/dri/swrast_dri.so
00123000-00323000 ---p 00013000 fd:01 128229                             /usr/lib64/dri/swrast_dri.so
00323000-00326000 rw-p 00013000 fd:01 128229                             /usr/lib64/dri/swrast_dri.so
00326000-00327000 rw-p 00326000 00:00 0 
00400000-00608000 r-xp 00000000 fd:01 33931                              /usr/bin/warzone2100
00807000-00828000 rw-p 00207000 fd:01 33931                              /usr/bin/warzone2100
00828000-00f7a000 rw-p 00828000 00:00 0 
00f7a000-01132000 r-xp 00000000 fd:01 128221                             /usr/lib64/dri/libdricore.so
01132000-01332000 ---p 001b8000 fd:01 128221                             /usr/lib64/dri/libdricore.so
01332000-01349000 rw-p 001b8000 fd:01 128221                             /usr/lib64/dri/libdricore.so
01349000-01354000 rw-p 01349000 00:00 0 
02945000-0852b000 rw-p 02945000 00:00 0                                  [heap]
407a7000-407a8000 ---p 407a7000 00:00 0 
407a8000-411a8000 rw-p 407a8000 00:00 0 
411a8000-411a9000 ---p 411a8000 00:00 0 
411a9000-41ba9000 rw-p 411a9000 00:00 0 
41ba9000-41baa000 ---p 41ba9000 00:00 0 
41baa000-425aa000 rw-p 41baa000 00:00 0 
310f400000-310f41d000 r-xp 00000000 fd:00 16442                          /lib64/ld-2.8.so
310f61c000-310f61d000 r--p 0001c000 fd:00 16442                          /lib64/ld-2.8.so
310f61d000-310f61e000 rw-p 0001d000 fd:00 16442                          /lib64/ld-2.8.so
310f800000-310f962000 r-xp 00000000 fd:00 16461                          /lib64/libc-2.8.so
310f962000-310fb62000 ---p 00162000 fd:00 16461                          /lib64/libc-2.8.so
310fb62000-310fb66000 r--p 00162000 fd:00 16461                          /lib64/libc-2.8.so
310fb66000-310fb67000 rw-p 00166000 fd:00 16461                          /lib64/libc-2.8.so
310fb67000-310fb6c000 rw-p 310fb67000 00:00 0 
310fc00000-310fc84000 r-xp 00000000 fd:00 16524                          /lib64/libm-2.8.so
310fc84000-310fe83000 ---p 00084000 fd:00 16524                          /lib64/libm-2.8.so
310fe83000-310fe84000 r--p 00083000 fd:00 16524                          /lib64/libm-2.8.so
310fe84000-310fe85000 rw-p 00084000 fd:00 16524                          /lib64/libm-2.8.so
3110000000-3110002000 r-xp 00000000 fd:00 16470                          /lib64/libdl-2.8.so
3110002000-3110202000 ---p 00002000 fd:00 16470                          /lib64/libdl-2.8.so
3110202000-3110203000 r--p 00002000 fd:00 16470                          /lib64/libdl-2.8.so
3110203000-3110204000 rw-p 00003000 fd:00 16470                          /lib64/libdl-2.8.so
3110400000-3110416000 r-xp 00000000 fd:00 16526                          /lib64/libpthread-2.8.so
3110416000-3110615000 ---p 00016000 fd:00 16526                          /lib64/libpthread-2.8.so
3110615000-3110616000 r--p 00015000 fd:00 16526                          /lib64/libpthread-2.8.so
3110616000-3110617000 rw-p 00016000 fd:00 16526                          /lib64/libpthread-2.8.so
3110617000-311061b000 rw-p 3110617000 00:00 0 
3110800000-3110813000 r-xp 00000000 fd:01 398067                         /usr/lib64/libphysfs-1.0.so.1.0.0
3110813000-3110a13000 ---p 00013000 fd:01 398067                         /usr/lib64/libphysfs-1.0.so.1.0.0
3110a13000-3110a14000 rw-p 00013000 fd:01 398067                         /usr/lib64/libphysfs-1.0.so.1.0.0
3110c00000-3110c15000 r-xp 00000000 fd:00 16523                          /lib64/libz.so.1.2.3
3110c15000-3110e14000 ---p 00015000 fd:00 16523                          /lib64/libz.so.1.2.3
3110e14000-3110e15000 rw-p 00014000 fd:00 16523                          /lib64/libz.so.1.2.3
3111000000-311101a000 r-xp 00000000 fd:01 393682                         /usr/lib64/libxcb.so.1.0.0
311101a000-311121a000 ---p 0001a000 fd:01 393682                         /usr/lib64/libxcb.so.1.0.0
311121a000-311121b000 rw-p 0001a000 fd:01 393682                         /usr/lib64/libxcb.so.1.0.0
3111400000-3111506000 r-xp 00000000 fd:01 393686                         /usr/lib64/libX11.so.6.2.0
3111506000-3111705000 ---p 00106000 fd:01 393686                         /usr/lib64/libX11.so.6.2.0
3111705000-311170b000 rw-p 00105000 fd:01 393686                         /usr/lib64/libX11.so.6.2.0
3111800000-3111805000 r-xp 00000000 fd:01 393680                         /usr/lib64/libXdmcp.so.6.0.0
3111805000-3111a04000 ---p 00005000 fd:01 393680                         /usr/lib64/libXdmcp.so.6.0.0
3111a04000-3111a05000 rw-p 00004000 fd:01 393680                         /usr/lib64/libXdmcp.so.6.0.0
3111c00000-3111c02000 r-xp 00000000 fd:01 393678                         /usr/lib64/libXau.so.6.0.0
3111c02000-3111e01000 ---p 00002000 fd:01 393678                         /usr/lib64/libXau.so.6.0.0
3111e01000-3111e02000 rw-p 00001000 fd:01 393678                         /usr/lib64/libXau.so.6.0.0
3112000000-3112001000 r-xp 00000000 fd:01 393684                         /usr/lib64/libxcb-xlib.so.0.0.0
3112001000-3112200000 ---p 00001000 fd:01 393684                         /usr/lib64/libxcb-xlib.so.0.0.0
3112200000-3112201000 rw-p 00000000 fd:01 393684                         /usr/lib64/libxcb-xlib.so.0.0.0
3112400000-3112410000 r-xp 00000000 fd:01 394152                         /usr/lib64/libXext.so.6.4.0
3112410000-3112610000 ---p 00010000 fd:01 394152                         /usr/lib64/libXext.so.6.4.0
3112610000-3112611000 rw-p 00010000 fd:01 394152                         /usr/lib64/libXext.so.6.4.0
3112c00000-3112c07000 r-xp 00000000 fd:00 16527                          /lib64/librt-2.8.so
3112c07000-3112e07000 ---p 00007000 fd:00 16527                          /lib64/librt-2.8.so
3112e07000-3112e08000 r--p 00007000 fd:00 16527                          /lib64/librt-2.8.so
3112e08000-3112e09000 rw-p 00008000 fd:00 16527                          /lib64/librt-2.8.so
3113800000-3113805000 r-xp 00000000 fd:01 394170                         /usr/lib64/libXfixes.so.3.1.0
3113805000-3113a04000 ---p 00005000 fd:01 394170                         /usr/lib64/libXfixes.so.3.1.0
3113a04000-3113a05000 rw-p 00004000 fd:01 394170                         /usr/lib64/libXfixes.so.3.1.0
3113c00000-3113c25000 r-xp 00000000 fd:01 393690                         /usr/lib64/libpng12.so.0.29.0
3113c25000-3113e25000 ---p 00025000 fd:01 393690                         /usr/lib64/libpng12.so.0.29.0
3113e25000-3113e26000 rw-p 00025000 fd:01 393690                         /usr/lib64/libpng12.so.0.29.0
3114800000-3114827000 r-xp 00000000 fd:00 16525                          /lib64/libexpat.so.1.5.2
3114827000-3114a26000 ---p 00027000 fd:00 16525                          /lib64/libexpat.so.1.5.2
3114a26000-3114a29000 rw-p 00026000 fd:00 16525                          /lib64/libexpat.so.1.5.2
3114c00000-3114c03000 r-xp 00000000 fd:01 394268                         /usr/lib64/libSDL_net-1.2.so.0.0.7
3114c03000-3114e03000 ---p 00003000 fd:01 394268                         /usr/lib64/libSDL_net-1.2.so.0.0.7
3114e03000-3114e04000 rw-p 00003000 fd:01 394268                         /usr/lib64/libSDL_net-1.2.so.0.0.7
3116000000-3116009000 r-xp 00000000 fd:01 394104                         /usr/lib64/libXrender.so.1.3.0
3116009000-3116208000 ---p 00009000 fd:01 394104                         /usr/lib64/libXrender.so.1.3.0
3116208000-3116209000 rw-p 00008000 fd:01 394104                         /usr/lib64/libXrender.so.1.3.0
3117c00000-3117c07000 r-xp 00000000 fd:01 394167                         /usr/lib64/libXrandr.so.2.1.0
3117c07000-3117e06000 ---p 00007000 fd:01 394167                         /usr/lib64/libXrandr.so.2.1.0
3117e06000-3117e07000 rw-p 00006000 fd:01 394167                         /usr/lib64/libXrandr.so.2.1.0
3118800000-3118809000 r-xp 00000000 fd:01 394172                         /usr/lib64/libXcursor.so.1.0.2
3118809000-3118a09000 ---p 00009000 fd:01 394172                         /usr/lib64/libXcursor.so.1.0.2
3118a09000-3118a0a000 rw-p 00009000 fd:01 394172                         /usr/lib64/libXcursor.so.1.0.2
3119c00000-3119c16000 r-xp 00000000 fd:00 16533                       Saved dump file to '/tmp/warzone2100.gdmp'
Abandon

Code: Select all

$ hexdump -C .warzone2100-2.1/savegame/jon.gam 
00000000  67 61 6d 65 00 00 00 24                           |game...$|
00000008
You do not have the required permissions to view the files attached to this post.
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

after install some package withe the comand line

Code: Select all

debuginfo-install warzone2100.x86_64
the gdmp file contain this:

Code: Select all

Program: /usr/bin/warzone2100(warzone2100)
Command line: "warzone2100" "--cheat" 
Version: Version 2.1_beta5
Distributor: Fedora
Compiled on: Oct  5 2008 15:19:12
Compiled by: GCC 4.3.0 20080428 (Red Hat 4.3.0-8)
Executed on: Sun Oct  5 17:41:09 2008
Operating system: Linux
Node name: localhost.localdomain
Release: 2.6.26.5-45.fc9.x86_64
Version: #1 SMP Sat Sep 20 03:23:12 EDT 2008
Machine: x86_64

Pointers: 64bit

Compiled against PhysicsFS version: 1.0.1
Running with PhysicsFS version: 1.0.1

Dump caused by signal: SIGABRT: Process abort signal

Log message: error   : [getCampaignV] getCampaignV: error while reading file: File not found

GLIBC raw backtrace:
warzone2100[0x576e3f]
/lib64/libpthread.so.0[0x311040ed30]
/lib64/libc.so.6(gsignal+0x35)[0x310f832215]
/lib64/libc.so.6(abort+0x183)[0x310f833d83]
warzone2100[0x4d09a7]
warzone2100[0x4d0a5a]
warzone2100[0x4e17a7]
warzone2100[0x442e57]
warzone2100[0x4bfb5d]
warzone2100[0x4686da]
/lib64/libc.so.6(__libc_start_main+0xfa)[0x310f81e32a]
warzone2100(__gxx_personality_v0+0x429)[0x408319]

GDB extended backtrace:
GNU gdb Fedora (6.8-21.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(no debugging symbols found)
Attaching to program: /usr/bin/warzone2100, process 4248
Reading symbols from /usr/lib64/libSDL-1.2.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libSDL-1.2.so.0.11.2.debug...done.
done.
Loaded symbols for /usr/lib64/libSDL-1.2.so.0
Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/lib64/libpthread-2.8.so.debug...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7ff7cbc3a720 (LWP 4248)]
[New Thread 0x42ce3950 (LWP 4255)]
[New Thread 0x422e2950 (LWP 4254)]
[New Thread 0x418e1950 (LWP 4252)]
done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /usr/lib64/libSDL_net-1.2.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libSDL_net-1.2.so.0.0.7.debug...done.
done.
Loaded symbols for /usr/lib64/libSDL_net-1.2.so.0
Reading symbols from /usr/lib64/libphysfs-1.0.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libphysfs-1.0.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libphysfs-1.0.so.1
Reading symbols from /usr/lib64/libpng12.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libpng12.so.0.29.0.debug...done.
done.
Loaded symbols for /usr/lib64/libpng12.so.0
Reading symbols from /usr/lib64/libvorbisfile.so.3...Reading symbols from /usr/lib/debug/usr/lib64/libvorbisfile.so.3.2.0.debug...done.
done.
Loaded symbols for /usr/lib64/libvorbisfile.so.3
Reading symbols from /usr/lib64/libvorbis.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libvorbis.so.0.4.0.debug...done.
done.
Loaded symbols for /usr/lib64/libvorbis.so.0
Reading symbols from /lib64/libm.so.6...Reading symbols from /usr/lib/debug/lib64/libm-2.8.so.debug...done.
done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /usr/lib64/libogg.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libogg.so.0.5.3.debug...done.
done.
Loaded symbols for /usr/lib64/libogg.so.0
Reading symbols from /usr/lib64/libopenal.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libopenal.so.0.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libopenal.so.0
Reading symbols from /usr/lib64/libGLC.so.0...Reading symbols from /usr/lib/debug/usr/lib64/libGLC.so.0.0.7.debug...done.
done.
Loaded symbols for /usr/lib64/libGLC.so.0
Reading symbols from /usr/lib64/libGL.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libGL.so.1.2.debug...done.
done.
Loaded symbols for /usr/lib64/libGL.so.1
Reading symbols from /usr/lib64/libGLU.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libGLU.so.1.3.070100.debug...done.
done.
Loaded symbols for /usr/lib64/libGLU.so.1
Reading symbols from /lib64/libpopt.so.0...Reading symbols from /usr/lib/debug/lib64/libpopt.so.0.0.0.debug...done.
done.
Loaded symbols for /lib64/libpopt.so.0
Reading symbols from /lib64/libgcc_s.so.1...Reading symbols from /usr/lib/debug/lib64/libgcc_s-4.3.0-20080428.so.1.debug...done.
done.
Loaded symbols for /lib64/libgcc_s.so.1
Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/lib64/libc-2.8.so.debug...done.
done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /usr/lib64/libX11.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libX11.so.6.2.0.debug...done.
done.
Loaded symbols for /usr/lib64/libX11.so.6
Reading symbols from /usr/lib64/libstdc++.so.6...Reading symbols from /usr/lib/debug/usr/lib64/libstdc++.so.6.0.10.debug...done.
done.
Loaded symbols for /usr/lib64/libstdc++.so.6
Reading symbols from /lib64/libdl.so.2...Reading symbols from /usr/lib/debug/lib64/libdl-2.8.so.debug...done.
done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib64/ld-2.8.so.debug...done.
done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libz.so.1...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /usr/lib64/libesd.so.0...done.
Loaded symbols for /usr/lib64/libesd.so.0
Reading symbols from /usr/lib64/libaudiofile.so.0...done.
Loaded symbols for /usr/lib64/libaudiofile.so.0
Reading symbols from /usr/lib64/libfontconfig.so.1...done.
Loaded symbols for /usr/lib64/libfontconfig.so.1
Reading symbols from /usr/lib64/freetype-freeworld/libfreetype.so.6...done.
Loaded symbols for /usr/lib64/freetype-freeworld/libfreetype.so.6
Reading symbols from /usr/lib64/libfribidi.so.0...done.
Loaded symbols for /usr/lib64/libfribidi.so.0
Reading symbols from /usr/lib64/libXext.so.6...done.
Loaded symbols for /usr/lib64/libXext.so.6
Reading symbols from /usr/lib64/libXxf86vm.so.1...done.
Loaded symbols for /usr/lib64/libXxf86vm.so.1
Reading symbols from /usr/lib64/libXdamage.so.1...done.
Loaded symbols for /usr/lib64/libXdamage.so.1
Reading symbols from /usr/lib64/libXfixes.so.3...done.
Loaded symbols for /usr/lib64/libXfixes.so.3
Reading symbols from /usr/lib64/libdrm.so.2...done.
Loaded symbols for /usr/lib64/libdrm.so.2
Reading symbols from /usr/lib64/libxcb-xlib.so.0...done.
Loaded symbols for /usr/lib64/libxcb-xlib.so.0
Reading symbols from /usr/lib64/libxcb.so.1...done.
Loaded symbols for /usr/lib64/libxcb.so.1
Reading symbols from /lib64/libasound.so.2...done.
Loaded symbols for /lib64/libasound.so.2
Reading symbols from /lib64/libexpat.so.1...done.
Loaded symbols for /lib64/libexpat.so.1
Reading symbols from /usr/lib64/libXau.so.6...done.
Loaded symbols for /usr/lib64/libXau.so.6
Reading symbols from /usr/lib64/libXdmcp.so.6...done.
Loaded symbols for /usr/lib64/libXdmcp.so.6
Reading symbols from /lib64/librt.so.1...Reading symbols from /usr/lib/debug/lib64/librt-2.8.so.debug...done.
done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /usr/lib64/libXrender.so.1...done.
Loaded symbols for /usr/lib64/libXrender.so.1
Reading symbols from /usr/lib64/libXrandr.so.2...done.
Loaded symbols for /usr/lib64/libXrandr.so.2
Reading symbols from /usr/lib64/libXcursor.so.1...done.
Loaded symbols for /usr/lib64/libXcursor.so.1
Reading symbols from /usr/lib64/dri/swrast_dri.so...Reading symbols from /usr/lib/debug/usr/lib64/dri/swrast_dri.so.debug...done.
done.
Loaded symbols for /usr/lib64/dri/swrast_dri.so
Reading symbols from /usr/lib64/dri/libdricore.so...Reading symbols from /usr/lib/debug/usr/lib64/dri/libdricore.so.debug...done.
done.
Loaded symbols for /usr/lib64/dri/libdricore.so
0x000000311040e86f in __libc_waitpid (pid=<value optimized out>, 
    stat_loc=<value optimized out>, options=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/waitpid.c:41
41	  int result = INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL);
Missing separate debuginfos, use: debuginfo-install warzone2100.x86_64
(gdb) #0  0x000000311040e86f in __libc_waitpid (pid=<value optimized out>, 
    stat_loc=<value optimized out>, options=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/waitpid.c:41
	oldtype = <value optimized out>
	result = <value optimized out>
#1  0x000000000057738b in std::locale::locale ()
    at ../../../../libstdc++-v3/src/locale_init.cc:212
No symbol table info available.
#2  <signal handler called>
No locals.
#3  0x000000310f832215 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
	pid = <value optimized out>
	selftid = <value optimized out>
#4  0x000000310f833d83 in abort () at abort.c:88
	act = (gdb) #3  0x000000310f832215 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) Dump of assembler code for function raise:
0x000000310f8321e0 <raise+0>:	mov    %fs:0x94,%esi
0x000000310f8321e8 <raise+8>:	mov    %fs:0x90,%edx
0x000000310f8321f0 <raise+16>:	test   %edx,%edx
0x000000310f8321f2 <raise+18>:	jne    0x310f832228 <raise+72>
0x000000310f8321f4 <raise+20>:	mov    $0xba,%eax
0x000000310f8321f9 <raise+25>:	syscall 
0x000000310f8321fb <raise+27>:	mov    %eax,%ecx
0x000000310f8321fd <raise+29>:	mov    %eax,%fs:0x90
0x000000310f832205 <raise+37>:	movslq %edi,%rdx
0x000000310f832208 <raise+40>:	movslq %ecx,%rsi
0x000000310f83220b <raise+43>:	movslq %eax,%rdi
0x000000310f83220e <raise+46>:	mov    $0xea,%eax
0x000000310f832213 <raise+51>:	syscall 
0x000000310f832215 <raise+53>:	cmp    $0xfffffffffffff000,%rax
0x000000310f83221b <raise+59>:	mov    %eax,%edx
0x000000310f83221d <raise+61>:	ja     0x310f832244 <raise+100>
0x000000310f83221f <raise+63>:	mov    %edx,%eax
0x000000310f832221 <raise+65>:	retq   
0x000000310f832222 <raise+66>:	nopw   0x0(%rax,%rax,1)
0x000000310f832228 <raise+72>:	test   %esi,%esi
0x000000310f83222a <raise+74>:	mov    %esi,%eax
0x000000310f83222c <raise+76>:	mov    %edx,%ecx
0x000000310f83222e <raise+78>:	jg     0x310f832205 <raise+37>
0x000000310f832230 <raise+80>:	test   $0x7fffffff,%esi
0x000000310f832236 <raise+86>:	mov    %edx,%eax
0x000000310f832238 <raise+88>:	mov    %edx,%ecx
0x000000310f83223a <raise+90>:	je     0x310f832205 <raise+37>
0x000000310f83223c <raise+92>:	mov    %esi,%eax
0x000000310f83223e <raise+94>:	mov    %edx,%ecx
0x000000310f832240 <raise+96>:	neg    %eax
0x000000310f832242 <raise+98>:	jmp    0x310f832205 <raise+37>
0x000000310f832244 <raise+100>:	mov    %eax,%edx
0x000000310f832246 <raise+102>:	mov    0x333d43(%rip),%rax        # 0x310fb65f90 <free+3440416>
0x000000310f83224d <raise+109>:	neg    %edx
0x000000310f83224f <raise+111>:	mov    %edx,%fs:(%rax)
0x000000310f832252 <raise+114>:	mov    $0xffffffff,%edx
0x000000310f832257 <raise+119>:	jmp    0x310f83221f <raise+63>
End of assembler dump.
(gdb) rax            0x0	0
rbx            0x24	36
rcx            0xffffffffffffffff	-1
rdx            0x6	6
rsi            0x1098	4248
rdi            0x1098	4248
rbp            0x2e66f70	0x2e66f70
rsp            0x7fffd3c65a78	0x7fffd3c65a78
r8             0xffffffff	4294967295
r9             0x310fb679d0	210717014480
r10            0x8	8
r11            0x202	514
r12            0x0	0
r13            0x20	32
r14            0x0	0
r15            0x0	0
rip            0x310f832215	0x310f832215 <raise+53>
eflags         0x202	[ IF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
fctrl          0x37f	895
fstat          0x0	0
ftag           0xffff	65535
fiseg          0x0	0
fioff          0x0	0
foseg          0x0	0
fooff          0x0	0
fop            0x0	0
mxcsr          0x1f80	[ IM DM ZM OM UM PM ]
(gdb) The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /usr/bin/warzone2100, process 4248
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Crash game when load a save game

Post by Per »

The debug dump is still coming from a binary that is stripped of all debug symbols, so it tells me nothing useful. Maybe you can you try to compile it yourself?
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

i have built myself the rpm package to make the update towards beta 5 here the spec:

Code: Select all

Name:           warzone2100
Version:        2.1.0
Release:        0.6.beta5%{?dist}
Summary:        Innovative 3D real-time strategy

Group:          Amusements/Games
License:        GPLv2+
URL:            http://wz2100.net/
Source0:        http://download.gna.org/warzone/releases/2.1/%{name}-2.1_beta5.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: physfs-devel SDL_net-devel openal-devel bison flex zip
BuildRequires: libjpeg-devel libpng-devel libogg-devel libvorbis-devel
BuildRequires: quesoglc-devel popt-devel gettext
BuildRequires: automake >= 1.8
BuildRequires: desktop-file-utils
Obsoletes:     warzone2100-data

%description
Warzone 2100 was an innovative 3D real-time strategy game back in 1999, and
most will agree it didn't enjoy the commercial success it should have had. The
game's source code was liberated on December 6th, 2004, under a GPL license
(see COPYING in this directory for details). Soon after that, the Warzone 2100
ReDev project was formed to take care of its future.

%prep
%setup -q -n %{name}-2.1_beta5

%build
%configure --disable-mp3 --with-distributor="Fedora"
make %{_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}
desktop-file-install --vendor="fedora"                                 \
        --dir=$RPM_BUILD_ROOT%{_datadir}/applications/   \
        $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
rm $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/warzone2100
%{_datadir}/icons/warzone*
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/warzone2100
%doc AUTHORS ChangeLog COPYING COPYING.README


%changelog
* Sun Oct 05 2008 Jonathan MERCIER <bioinfornatics at gmail.com> - 2.1.0-0.5.beta5
- Upadte to v2.1.0-beta5
* Tue Apr 22 2008 Karol Trzcionka <karlikt at gmail.com> - 2.1.0-0.5.beta2
- Update to v2.1.0-beta2
- Add requires
* Mon Mar 03 2008 Karol Trzcionka <karlikt at gmail.com> - 2.1.0-0.4.beta1
- Fix ppc build
* Sun Mar 02 2008 Karol Trzcionka <karlikt at gmail.com> - 2.1.0-0.3.beta1
- add translations
* Sun Mar 02 2008 Karol Trzcionka <karlikt at gmail.com> - 2.1.0-0.2.beta1
- Fix BRs
* Sun Mar 02 2008 Karol Trzcionka <karlikt at gmail.com> - 2.1.0-0.1.beta1
- Update to v2.1.0-beta1
- Remove ExcludeArch
* Sun Dec 30 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.10-1
- Update to v2.0.10
* Mon Dec 03 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.8-2
- Fix desktop-file for fedora 9
* Mon Dec 03 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.8-1
- Update to v2.0.8 and apply fixsound
* Mon Nov 19 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.8-0.1.rc1
- Update to v2.0.8_rc1
* Wed Oct 17 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.7-5
- Fix build on koji ppc (remove smp_flags)
- set ExcludeArch x86_64 ppc64 sparc64 alpha
* Wed Oct 17 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.7-4
- Merge data subpackage with core package
- Replace ExcludeArch with ExclusiveArch
* Sun Aug 19 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.7-3
- Apply upstream patch
* Sun Jun 24 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.7-2
- Add ppc64 to ExcludeArch
* Sun Jun 24 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.7-1
- Update to v2.0.7
* Sun Apr 08 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.6-2
- Fix build-problem in fedora 7
* Sat Apr 07 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.6-1
- Update to v2.0.6
* Fri Jan 26 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.5-4
- Update BRs for FC-5
* Tue Jan 16 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.5-3
- change ExclusiveArch: i386 to ExcludeArch: x86_64
* Tue Jan 09 2007 Karol Trzcionka <karlikt at gmail.com> - 2.0.5-2
- add an ExclusiveArch
* Sun Dec 31 2006 Karol Trzcionka <karlikt at gmail.com> - 2.0.5-1
- Initial Release
And rpmlint:

Code: Select all

rpmlint SRPMS/warzone2100-2.1.0-0.6.beta5.fc9.src.rpm 
warzone2100.src:17: W: unversioned-explicit-obsoletes warzone2100-data
warzone2100.src: W: strange-permission warzone2100.spec 0666
1 packages and 0 specfiles checked; 0 errors, 2 warnings.

Code: Select all

rpmlint RPMS/x86_64/warzone2100-debuginfo-2.1.0-0.6.beta5.fc9.x86_64.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

Code: Select all

rpmlint RPMS/x86_64/warzone2100-2.1.0-0.6.beta5.fc9.x86_64.rpm 
warzone2100.x86_64: W: incoherent-version-in-changelog 2.1.0-0.5.beta5 2.1.0-0.6.beta5.fc9
warzone2100.x86_64: W: obsolete-not-provided warzone2100-data
1 packages and 0 specfiles checked; 0 errors, 2 warnings.
i build rpm package from source at : http://download.gna.org/warzone/release ... a5.tar.bz2
I have build only for arch 64 bit for testing the new release:
- the game is slower as the next release (with free radeon driver not with fglrx driver and nv driver)
- the save game crash..
- very often buffer overflow!
Last edited by bisounours army on 06 Oct 2008, 11:12, edited 3 times in total.
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

here rpm:
- For arch x86_64:
http://bioinformatiques.free.fr/warzone ... x86_64.rpm
- For arch i386:
http://bioinformatiques.free.fr/warzone ... 9.i386.rpm

__________________________________________

Here the src.rpm:
http://bioinformatiques.free.fr/warzone ... c9.src.rpm
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

On Fedora

Code: Select all

$ uname -r
2.6.26.5-45.fc9.x86_64

Code: Select all

$ warzone2100 --version
Warzone 2100 - Version 2.1_beta5
Is impossible to save or load a game.
The game crash:

Code: Select all

$ warzone2100
error   : [getCampaignV] getCampaignV: error while reading file: File not found
Could not find the frame base for "abort".
Saved dump file to '/tmp/warzone2100.gdmp'
the file exist:

Code: Select all

$ ls -al
total 12
drwx------ 2 Jonathan Jonathan 4096 oct  7 13:57 .
drwx------ 7 Jonathan Jonathan 4096 oct  6 15:29 ..
-rw------- 1 Jonathan Jonathan    8 oct  7 13:57 mission 3.gam
[Jonathan@localhost savegame]$ pwd
/home/Jonathan/.warzone2100-2.1/savegame

see the file *.gdmp

the function getCampaignV don't work on linux system?
You do not have the required permissions to view the files attached to this post.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Crash game when load a save game

Post by Per »

I see your binary is still stripped of debug symbols. This makes the gdmp file near useless. If you create a debug RPM, you could try installing that.
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

Code: Select all

$ ls
warzone2100-2.1.0-0.6.beta5.fc9.x86_64.rpm
warzone2100-debuginfo-2.1.0-0.6.beta5.fc9.x86_64.rpm

Code: Select all

rpm -ivh warzone2100-debuginfo-2.1.0-0.6.beta5.fc9.x86_64.rpm
but i have the same symbol in gdmp file :!!!:
thanks