Crash game when load a save game

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
jimmo78
New user
Posts: 1
Joined: 10 Oct 2008, 18:20

Re: Crash game when load a save game

Post by jimmo78 »

Can't load a save game too this is the output:

Code: Select all

[jeanmaur@localhost ~]$ warzone2100
error   : [getCampaignV] getCampaignV: error while reading file: File not found
Saved dump file to '/tmp/warzone2100.gdmp'
Abandon
Tha game saved is in '/home/jeanmaur/.warzone2100-2.1/savegame/partie-1.gam'

and the gdmp file

Code: Select all

Program: /usr/bin/warzone2100(warzone2100)
Command line: "warzone2100" "--fullscreen" "--resolution" "1280x1024" 
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: Fri Oct 10 18:15:22 2008
Operating system: Linux
Node name: localhost.localdomaine
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[0x37b640ed30]
/lib64/libc.so.6(gsignal+0x35)[0x37b5832215]
/lib64/libc.so.6(abort+0x183)[0x37b5833d83]
warzone2100[0x4d09a7]
warzone2100[0x4d0a5a]
warzone2100[0x4e17a7]
warzone2100[0x442e57]
warzone2100[0x4bfb5d]
warzone2100[0x4686da]
/lib64/libc.so.6(__libc_start_main+0xfa)[0x37b581e32a]
warzone2100(__gxx_personality_v0+0x429)[0x408319]

GDB extended backtrace:
GNU gdb Fedora (6.8-22.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 3201
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 0x7f40f1904760 (LWP 3201)]
[New Thread 0x42729950 (LWP 3208)]
[New Thread 0x40d40950 (LWP 3207)]
[New Thread 0x41d28950 (LWP 3205)]
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/nvidia/libGL.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/nvidia/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/libgcc_s.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib64/libgcc_s.so.1
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 /usr/lib64/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libstdc++.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/libfreetype.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/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/nvidia/libGLcore.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/nvidia/libGLcore.so.1
Reading symbols from /usr/lib64/nvidia/tls/libnvidia-tls.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/nvidia/tls/libnvidia-tls.so.1
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/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/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libXfixes.so.3

(no debugging symbols found)
0x00000037b640e86f in waitpid () from /lib64/libpthread.so.0
Missing separate debuginfos, use: debuginfo-install warzone2100.x86_64
(gdb) #0  0x00000037b640e86f in waitpid () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x000000000057738b in std::locale::locale ()
No symbol table info available.
#2  <signal handler called>
No symbol table info available.
#3  0x00000037b5832215 in raise () from /lib64/libc.so.6
No symbol table info available.
#4  0x00000037b5833d83 in abort () from /lib64/libc.so.6
No symbol table info available.
#5  0x00000000004d09a7 in std::locale::locale ()
No symbol table info available.
#6  0x00000000004d0a5a in std::locale::locale ()
No symbol table info available.
#7  0x00000000004e17a7 in std::locale::locale ()
No symbol table info available.
#8  0x0000000000442e57 in std::locale::locale ()
No symbol table info available.
#9  0x00000000004bfb5d in std::locale::locale ()
No symbol table info available.
#10 0x00000000004686da in std::locale::locale ()
No symbol table info available.
#11 0x00000037b581e32a in __libc_start_main () from /lib64/libc.so.6
No symbol table info available.
#12 0x0000000000408319 in std::locale::locale ()
No symbol table info available.
#13 0x00007ffff9933848 in ?? ()
No symbol table info available.
#14 0x000000000000001c in ?? ()
No symbol table info available.
#15 0x0000000000000004 in ?? ()
No symbol table info available.
#16 0x00007ffff993456d in ?? ()
No symbol table info available.
#17 0x00007ffff9934579 in ?? ()
No symbol table info available.
#18 0x00007ffff9934586 in ?? ()
No symbol table info available.
#19 0x00007ffff9934593 in ?? ()
No symbol table info available.
#20 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) #3  0x00000037b5832215 in raise () from /lib64/libc.so.6
(gdb) Dump of assembler code for function raise:
0x00000037b58321e0 <raise+0>:	mov    %fs:0x94,%esi
0x00000037b58321e8 <raise+8>:	mov    %fs:0x90,%edx
0x00000037b58321f0 <raise+16>:	test   %edx,%edx
0x00000037b58321f2 <raise+18>:	jne    0x37b5832228 <raise+72>
0x00000037b58321f4 <raise+20>:	mov    $0xba,%eax
0x00000037b58321f9 <raise+25>:	syscall 
0x00000037b58321fb <raise+27>:	mov    %eax,%ecx
0x00000037b58321fd <raise+29>:	mov    %eax,%fs:0x90
0x00000037b5832205 <raise+37>:	movslq %edi,%rdx
0x00000037b5832208 <raise+40>:	movslq %ecx,%rsi
0x00000037b583220b <raise+43>:	movslq %eax,%rdi
0x00000037b583220e <raise+46>:	mov    $0xea,%eax
0x00000037b5832213 <raise+51>:	syscall 
0x00000037b5832215 <raise+53>:	cmp    $0xfffffffffffff000,%rax
0x00000037b583221b <raise+59>:	mov    %eax,%edx
0x00000037b583221d <raise+61>:	ja     0x37b5832244 <raise+100>
0x00000037b583221f <raise+63>:	mov    %edx,%eax
0x00000037b5832221 <raise+65>:	retq   
0x00000037b5832222 <raise+66>:	nopw   0x0(%rax,%rax,1)
0x00000037b5832228 <raise+72>:	test   %esi,%esi
0x00000037b583222a <raise+74>:	mov    %esi,%eax
0x00000037b583222c <raise+76>:	mov    %edx,%ecx
0x00000037b583222e <raise+78>:	jg     0x37b5832205 <raise+37>
0x00000037b5832230 <raise+80>:	test   $0x7fffffff,%esi
0x00000037b5832236 <raise+86>:	mov    %edx,%eax
0x00000037b5832238 <raise+88>:	mov    %edx,%ecx
0x00000037b583223a <raise+90>:	je     0x37b5832205 <raise+37>
0x00000037b583223c <raise+92>:	mov    %esi,%eax
0x00000037b583223e <raise+94>:	mov    %edx,%ecx
0x00000037b5832240 <raise+96>:	neg    %eax
0x00000037b5832242 <raise+98>:	jmp    0x37b5832205 <raise+37>
0x00000037b5832244 <raise+100>:	mov    %eax,%edx
0x00000037b5832246 <raise+102>:	mov    0x333d43(%rip),%rax        # 0x37b5b65f90 <free+3440416>
0x00000037b583224d <raise+109>:	neg    %edx
0x00000037b583224f <raise+111>:	mov    %edx,%fs:(%rax)
0x00000037b5832252 <raise+114>:	mov    $0xffffffff,%edx
0x00000037b5832257 <raise+119>:	jmp    0x37b583221f <raise+63>
End of assembler dump.
(gdb) rax            0x0	0
rbx            0x24	36
rcx            0xffffffffffffffff	-1
rdx            0x6	6
rsi            0xc81	3201
rdi            0xc81	3201
rbp            0x16d4550	0x16d4550
rsp            0x7ffff9933248	0x7ffff9933248
r8             0xffffffff	4294967295
r9             0x37b5b679d0	239271836112
r10            0x8	8
r11            0x206	518
r12            0x0	0
r13            0x20	32
r14            0x0	0
r15            0x0	0
rip            0x37b5832215	0x37b5832215 <raise+53>
eflags         0x206	[ PF 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 3201
my hadware: 2x Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
2062MB RAM - Fedora 9 - GeForce 7300 GT/PCI/SSE2
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Crash game when load a save game

Post by Buginator »

That is still mostly worthless. You sure you compiled with:
./configure --enable-debug=yes

(though, that should be the default)

Come to think of it, what language are you using? That may be part of the issue, since I do see locale stuff in that dump....


Try this, launch the game via --debug all

And post that information. (redirect console output to a file, since I suspect, it will be pretty big)
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

$ warzone2100 --savegame .warzone2100-2.1/savegame/mission\ 3.gam 
error   : [openLoadFile] file savegame//.warzone2100-2.1/savegame/mission 3.gam could not be opened: File not found
error   : [openLoadFile] Assert in Warzone: frame.c:308 (!"unable to open file"), last script event: ''

warning: the debug information found in "/usr/lib/debug//usr/bin/warzone2100.debug" does not match "/usr/bin/warzone2100" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/bin/warzone2100.debug" does not match "/usr/bin/warzone2100" (CRC mismatch).

Missing separate debuginfo for /usr/bin/warzone2100
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/e3/74553f1aecfd7d64b930486ece14d52b80cb20.debug
Could not find the frame base for "__libc_start_main".
Could not find the frame base for "__libc_start_main".
Saved dump file to '/tmp/warzone2100.gdmp'

Code: Select all

# yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/e3/74553f1aecfd7d64b930486ece14d52b80cb20.debug
Modules complémentaires chargés : fedorakmod, refresh-packagekit
livna-development-debuginfo                              | 1.9 kB     00:00     
primary.sqlite.bz2                                       |  35 kB     00:00     
livna                                                    | 2.1 kB     00:00     
livna-debuginfo                                          | 1.9 kB     00:00     
primary.sqlite.bz2                                       |  70 kB     00:00     
playonlinux                                              |  951 B     00:00     
fedora                                                   | 2.4 kB     00:00     
updates-testing-newkey-debuginfo                         | 1.9 kB     00:00     
primary.sqlite.bz2                                       | 108 kB     00:00     
rawhide-debuginfo                                        | 1.9 kB     00:00     
primary.sqlite.bz2                                       | 1.0 MB     00:02     
updates-newkey                                           | 2.3 kB     00:00     
fedora-debuginfo                                         | 1.9 kB     00:00     
updates-newkey-debuginfo                                 | 1.9 kB     00:00     
primary.sqlite.bz2                                       | 651 kB     00:01     
updates-testing-debuginfo                                | 1.9 kB     00:00     
primary.sqlite.bz2                                       | 124 kB     00:00     
updates                                                  | 2.6 kB     00:00     
updates-debuginfo                                        | 2.1 kB     00:00     
Configuration du processus d'installation
Traitement des options d'installation des paquetages
Import d'informations additionnelles sur la liste de fichiers
filelists.sqlite.bz2                                     | 155 kB     00:00     
filelists.sqlite.bz2                                     | 217 kB     00:00     
filelists.sqlite.bz2                                     | 556 kB     00:01     
filelists.sqlite.bz2                                     | 6.0 MB     00:09     
filelists.sqlite.bz2                                     | 5.6 MB     00:08     
filelists.sqlite.bz2                                     | 3.3 MB     00:05     
filelists.sqlite.bz2                                     | 720 kB     00:01     
filelists.sqlite.bz2                                     | 4.6 kB     00:00     
Le paquetage warzone2100-debuginfo-2.1.0-0.6.beta5.fc9.x86_64 est déjà installé dans sa dernière version
Rien à faire

Code: Select all

# /usr/lib/debug/usr/bin/warzone2100.debug
-bash: /usr/lib/debug/usr/bin/warzone2100.debug: : bad ELF interpreter: Aucun fichier ou dossier de ce type
# ls -al /usr/lib/debug/usr/bin/warzone2100.debug
-rwxr-xr-x 1 root root 6033464 oct  5 15:19 /usr/lib/debug/usr/bin/warzone2100.debug

Code: Select all

$ file /usr/lib/debug/usr/bin/warzone2100.debug
/usr/lib/debug/usr/bin/warzone2100.debug: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not 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 »

with option --debug all

Code: Select all

$ warzone2100 --debug all
wz      : [main] Using language: 
wz      : [initialize_ConfigDir] Write dir: /home/Jonathan/.warzone2100-2.1/
wz      : [initialize_ConfigDir] Base dir: /usr/bin/
wz      : [main] Warzone 2100 - Version 2.1_beta5
fog     : [war_SetFog] Visual fog turned OFF
fog     : [setRevealStatus] avSetRevealStatus: Setting reveal to ON
main    : [main] initializing
wz      : [registry_load] Loading the registry from config
wz      : [registry_load] Parsing the registry from config
wz      : [setLanguage] Setting language to "System locale" ()
wz      : [setLocaleUnix] Requested locale "", got "fr_FR.UTF-8" instead
fog     : [war_SetFog] Visual fog turned OFF
fog     : [setRevealStatus] avSetRevealStatus: Setting reveal to ON
fog     : [avSetStatus] avSetStatus: Setting fog of war ON
3d      : [setTextureSize] texture size set to 64
wz      : [registry_save] Saving the registry to config
wz      : [saveFile] We are to write (config) of size 633
wz      : [saveFile] Successfully wrote to /home/Jonathan/.warzone2100-2.1//config with 633 bytes
wz      : [registry_save] Saving the registry to config
wz      : [saveFile] We are to write (config) of size 633
wz      : [saveFile] Successfully wrote to /home/Jonathan/.warzone2100-2.1//config with 633 bytes
net     : [NETinit] NETinit
net     : [NETinit] NETPLAY: Init called, MORNIN'
wz      : [saveConfig] Writing prefs to registry
wz      : [registry_save] Saving the registry to config
wz      : [saveFile] We are to write (config) of size 633
wz      : [saveFile] Successfully wrote to /home/Jonathan/.warzone2100-2.1//config with 633 bytes
wz      : [registerSearchPath] registerSearchPath: Registering /home/Jonathan/.warzone2100-2.1/ at priority 2
wz      : [rebuildSearchPath] rebuildSearchPath: Cleaning up
wz      : [rebuildSearchPath] rebuildSearchPath: Switching to multiplay mods
wz      : [registerSearchPath] registerSearchPath: Registering /usr/data/ at priority 3
wz      : [rebuildSearchPath] rebuildSearchPath: Cleaning up
wz      : [rebuildSearchPath] rebuildSearchPath: Switching to multiplay mods
wz      : [registerSearchPath] registerSearchPath: Registering /usr/share/warzone2100/ at priority 4
wz      : [rebuildSearchPath] rebuildSearchPath: Cleaning up
wz      : [rebuildSearchPath] rebuildSearchPath: Switching to multiplay mods
wz      : [printSearchPath] Search paths:
wz      : [printSearchPath]     [/home/Jonathan/.warzone2100-2.1/]
wz      : [printSearchPath]     [/usr/share/warzone2100/mp.wz]
wz      : [printSearchPath]     [/usr/share/warzone2100/]
wz      : [printSearchPath]     [/usr/share/warzone2100/warzone.wz]
wz      : [scanDataDirs] gamedesc.lev found at /usr/share/warzone2100/warzone.wz
3d      : [screenInitialise] OpenGL extensions supported:
3d      : [screenInitialise]   * OpenGL 1.2 is supported!
3d      : [screenInitialise]   * OpenGL 1.3 is supported!
3d      : [screenInitialise]   * OpenGL 1.4 is supported!
3d      : [screenInitialise]   * OpenGL 1.5 is supported!
3d      : [screenInitialise]   * OpenGL 2.0 is supported!
3d      : [screenInitialise]   * OpenGL 2.1 is supported!
3d      : [screenInitialise]   * Texture compression supported.
3d      : [screenInitialise]   * Stencil wrap supported.
wz      : [loadLevFile] Loading lev file: gamedesc.lev
wz      : [loadLevFile] Loading lev file: addon.lev
fog     : [war_SetFog] Visual fog turned OFF
fog     : [setRevealStatus] avSetRevealStatus: Setting reveal to ON
texture : [pie_TexInit] pie_TexInit successful - initialized 128 texture pages
texture : [pie_Initialise] Texture compression: Yes
3d      : [iV_RenderAssign] iV_RenderAssign: flags 1; xcentre 416; ycentre 312; buffer (nil)
video   : [pie_SetGammaValue] pie_SetGammaValue(1.000000)
sound   : [PrintOpenALVersion] OpenAL Vendor: OpenAL Community
sound   : [PrintOpenALVersion] OpenAL Version: 1.1
sound   : [PrintOpenALVersion] OpenAL Renderer: Software
sound   : [PrintOpenALVersion] OpenAL Extensions: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel 
never   : [PlayList_Read] sound_LoadTrackFromFile: PHYSFS_openRead("music/music.wpl") failed with error: File not found
never   : [iV_initializeGLC] glcGenContext() succesful: _glcContext = 1
never   : [iV_initializeGLC] iV_initializeGLC: Successfully selected font family DejaVu Sans Mono as regular font
never   : [iV_initializeGLC] iV_initializeGLC: Successfully selected the "Book" font face of font family DejaVu Sans Mono
never   : [iV_initializeGLC] iV_initializeGLC: Successfully selected font family DejaVu Sans Mono for the bold font
never   : [iV_initializeGLC] iV_initializeGLC: Successfully selected the "Bold" font face of font family DejaVu Sans Mono
never   : [iV_initializeGLC] finished initializing GLC
main    : [frontendInitialise] Initialising frontend : wrf/frontend.wrf
never   : [driveInitVars] driveInitVars: Driving
main    : [frontendInitialise] frontEndInitialise: loading resource file .....
wz      : [resLoad] resLoad: loading wrf/frontend.wrf
never   : [res_parse] directory: images
never   : [res_parse] Current resource directory: images/
never   : [res_parse] file: IMGPAGE frontend0.png
never   : [loadingScreenCallback] loadingScreenCallback: pause 1216
never   : [res_parse] file: IMGPAGE frontend1.png
never   : [res_parse] file: IMGPAGE frontend2.png
never   : [res_parse] file: IMGPAGE frontend3.png
never   : [res_parse] file: IMGPAGE frontend4.png
never   : [res_parse] file: IMGPAGE intfac0.png
never   : [res_parse] file: IMGPAGE intfac1.png
never   : [res_parse] file: IMGPAGE intfac2.png
never   : [res_parse] file: IMGPAGE intfac3.png
never   : [res_parse] file: IMGPAGE intfac4.png
never   : [res_parse] file: IMGPAGE intfac5.png
never   : [res_parse] file: IMG intfac.img
texture : [LoadTextureFile] Load texture from resource cache: intfac0.png (256, 256)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: intfac0.png page=1
texture : [LoadTextureFile] Load texture from resource cache: intfac1.png (256, 256)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: intfac1.png page=2
texture : [LoadTextureFile] Load texture from resource cache: intfac2.png (256, 256)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: intfac2.png page=3
texture : [LoadTextureFile] Load texture from resource cache: intfac3.png (256, 256)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: intfac3.png page=4
texture : [LoadTextureFile] Load texture from resource cache: intfac4.png (256, 256)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: intfac4.png page=5
texture : [LoadTextureFile] Load texture from resource cache: intfac5.png (256, 256)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: intfac5.png page=6
never   : [res_parse] file: IMG frontend.img
texture : [LoadTextureFile] Load texture from resource cache: frontend0.png (512, 512)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: frontend0.png page=7
texture : [LoadTextureFile] Load texture from resource cache: frontend1.png (256, 256)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: frontend1.png page=8
texture : [LoadTextureFile] Load texture from resource cache: frontend2.png (256, 256)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: frontend2.png page=9
texture : [LoadTextureFile] Load texture from resource cache: frontend3.png (256, 256)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: frontend3.png page=10
texture : [LoadTextureFile] Load texture from resource cache: frontend4.png (256, 256)
texture : [LoadTextureFile] LoadTextureFile: had to upload texture!
texture : [pie_AddTexPage] pie_AddTexPage: frontend4.png page=11
never   : [res_parse] directory: texpages
never   : [res_parse] Current resource directory: texpages/
never   : [res_parse] file: TEXPAGE page-6-features-arizona.png
texture : [dataTexPageLoad] adding page page-6 with texture texpages/page-6-features-arizona.png
texture : [pie_AddTexPage] pie_AddTexPage: page-6 page=12
never   : [res_parse] file: TEXPAGE page-7-barbarians-arizona.png
texture : [dataTexPageLoad] adding page page-7 with texture texpages/page-7-barbarians-arizona.png
texture : [pie_AddTexPage] pie_AddTexPage: page-7 page=13
never   : [res_parse] file: TEXPAGE page-8-player-buildings-bases.png
texture : [dataTexPageLoad] adding page page-8 with texture texpages/page-8-player-buildings-bases.png
texture : [pie_AddTexPage] pie_AddTexPage: page-8 page=14
never   : [res_parse] file: TEXPAGE page-9-player-buildings-bases.png
texture : [dataTexPageLoad] adding page page-9 with texture texpages/page-9-player-buildings-bases.png
texture : [pie_AddTexPage] pie_AddTexPage: page-9 page=15
never   : [res_parse] file: TEXPAGE page-10-laboratories.png
texture : [dataTexPageLoad] adding page page-10 with texture texpages/page-10-laboratories.png
texture : [pie_AddTexPage] pie_AddTexPage: page-10 page=16
never   : [res_parse] file: TEXPAGE page-11-player-buildings.png
texture : [dataTexPageLoad] adding page page-11 with texture texpages/page-11-player-buildings.png
texture : [pie_AddTexPage] pie_AddTexPage: page-11 page=17
never   : [res_parse] file: TEXPAGE page-12-player-buildings.png
texture : [dataTexPageLoad] adding page page-12 with texture texpages/page-12-player-buildings.png
texture : [pie_AddTexPage] pie_AddTexPage: page-12 page=18
never   : [res_parse] file: TEXPAGE page-13-player-buildings.png
texture : [dataTexPageLoad] adding page page-13 with texture texpages/page-13-player-buildings.png
texture : [pie_AddTexPage] pie_AddTexPage: page-13 page=19
never   : [res_parse] file: TEXPAGE page-14-droid-hubs.png
texture : [dataTexPageLoad] adding page page-14 with texture texpages/page-14-droid-hubs.png
texture : [pie_AddTexPage] pie_AddTexPage: page-14 page=20
never   : [res_parse] file: TEXPAGE page-15-droid-hubs.png
texture : [dataTexPageLoad] adding page page-15 with texture texpages/page-15-droid-hubs.png
texture : [pie_AddTexPage] pie_AddTexPage: page-15 page=21
never   : [res_parse] file: TEXPAGE page-16-droid-drives.png
texture : [dataTexPageLoad] adding page page-16 with texture texpages/page-16-droid-drives.png
texture : [pie_AddTexPage] pie_AddTexPage: page-16 page=22
never   : [res_parse] file: TEXPAGE page-17-droid-weapons.png
texture : [dataTexPageLoad] adding page page-17 with texture texpages/page-17-droid-weapons.png
texture : [pie_AddTexPage] pie_AddTexPage: page-17 page=23
never   : [res_parse] file: TEXPAGE page-18-fx.png
texture : [dataTexPageLoad] adding page page-18 with texture texpages/page-18-fx.png
texture : [pie_AddTexPage] pie_AddTexPage: page-18 page=24
never   : [res_parse] file: TEXPAGE page-19-fx.png
texture : [dataTexPageLoad] adding page page-19 with texture texpages/page-19-fx.png
texture : [pie_AddTexPage] pie_AddTexPage: page-19 page=25
never   : [res_parse] file: TEXPAGE page-20-fx.png
texture : [dataTexPageLoad] adding page page-20 with texture texpages/page-20-fx.png
texture : [pie_AddTexPage] pie_AddTexPage: page-20 page=26
never   : [res_parse] file: TEXPAGE page-21-fx.png
texture : [dataTexPageLoad] adding page page-21 with texture texpages/page-21-fx.png
texture : [pie_AddTexPage] pie_AddTexPage: page-21 page=27
never   : [res_parse] file: TEXPAGE page-22-fx.png
texture : [dataTexPageLoad] adding page page-22 with texture texpages/page-22-fx.png
texture : [pie_AddTexPage] pie_AddTexPage: page-22 page=28
never   : [res_parse] file: TEXPAGE page-23-fx.png
texture : [dataTexPageLoad] adding page page-23 with texture texpages/page-23-fx.png
texture : [pie_AddTexPage] pie_AddTexPage: page-23 page=29
never   : [res_parse] file: TEXPAGE page-24-fx.png
texture : [dataTexPageLoad] adding page page-24 with texture texpages/page-24-fx.png
texture : [pie_AddTexPage] pie_AddTexPage: page-24 page=30
never   : [res_parse] directory: audio/sfx/interfce
never   : [res_parse] Current resource directory: audio/sfx/interfce/
never   : [res_parse] file: WAV beep1.ogg
never   : [res_parse] file: WAV beep2.ogg
never   : [res_parse] file: WAV beep4.ogg
never   : [res_parse] file: WAV beep5.ogg
never   : [res_parse] file: WAV beep6.ogg
never   : [res_parse] file: WAV beep7.ogg
never   : [res_parse] file: WAV beep8.ogg
never   : [res_parse] file: WAV beep9.ogg
never   : [res_parse] file: WAV gmeshtdn.ogg
never   : [res_parse] directory: audio
never   : [res_parse] Current resource directory: audio/
never   : [res_parse] file: AUDIOCFG frontaud.cfg
never   : [res_parse] directory: messages/strings
never   : [res_parse] Current resource directory: messages/strings/
never   : [res_parse] file: STR_RES names.txt
main    : [main] Entering main loop
wz      : [_addLoadSave] _addLoadSave(1, savegame/, gam, Charger une partie Enregistrée)
wz      : [_addLoadSave] _addLoadSave: Searching "savegame/" for savegames
wz      : [_addLoadSave] _addLoadSave: We found [mission 3.gam]
wz      : [getCampaign] getCampaign: savegame/mission 3.gam
save    : [deserializeSaveGameHeader] Version 36 = (big-endian)
never   : [getCampaign] gl .gam file is version 36
wz      : [getCampaignV] getCampaignV: version = 36
error   : [getCampaignV] getCampaignV: error while reading file: File not found

warning: the debug information found in "/usr/lib/debug//usr/bin/warzone2100.debug" does not match "/usr/bin/warzone2100" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/bin/warzone2100.debug" does not match "/usr/bin/warzone2100" (CRC mismatch).

Missing separate debuginfo for /usr/bin/warzone2100
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/e3/74553f1aecfd7d64b930486ece14d52b80cb20.debug
Could not find the frame base for "abort".
Saved dump file to '/tmp/warzone2100.gdmp'
Abandon
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

And an another try

Code: Select all

$ warzone2100 --debug all warzone2100 --savegame .warzone2100-2.1/savegame/mission\ 3.gam 
wz      : [main] Using language: 
wz      : [initialize_ConfigDir] Write dir: /home/Jonathan/.warzone2100-2.1/
wz      : [initialize_ConfigDir] Base dir: /usr/bin/
wz      : [main] Warzone 2100 - Version 2.1_beta5
fog     : [war_SetFog] Visual fog turned OFF
fog     : [setRevealStatus] avSetRevealStatus: Setting reveal to ON
main    : [main] initializing
wz      : [registry_load] Loading the registry from config
wz      : [registry_load] Parsing the registry from config
wz      : [setLanguage] Setting language to "System locale" ()
wz      : [setLocaleUnix] Requested locale "", got "fr_FR.UTF-8" instead
fog     : [war_SetFog] Visual fog turned OFF
fog     : [setRevealStatus] avSetRevealStatus: Setting reveal to ON
fog     : [avSetStatus] avSetStatus: Setting fog of war ON
3d      : [setTextureSize] texture size set to 64
wz      : [registry_save] Saving the registry to config
wz      : [saveFile] We are to write (config) of size 633
wz      : [saveFile] Successfully wrote to /home/Jonathan/.warzone2100-2.1//config with 633 bytes
wz      : [registry_save] Saving the registry to config
wz      : [saveFile] We are to write (config) of size 633
wz      : [saveFile] Successfully wrote to /home/Jonathan/.warzone2100-2.1//config with 633 bytes
net     : [NETinit] NETinit
net     : [NETinit] NETPLAY: Init called, MORNIN'
wz      : [saveConfig] Writing prefs to registry
wz      : [registry_save] Saving the registry to config
wz      : [saveFile] We are to write (config) of size 633
wz      : [saveFile] Successfully wrote to /home/Jonathan/.warzone2100-2.1//config with 633 bytes
wz      : [registerSearchPath] registerSearchPath: Registering /home/Jonathan/.warzone2100-2.1/ at priority 2
wz      : [rebuildSearchPath] rebuildSearchPath: Cleaning up
wz      : [rebuildSearchPath] rebuildSearchPath: Switching to multiplay mods
wz      : [registerSearchPath] registerSearchPath: Registering /usr/data/ at priority 3
wz      : [rebuildSearchPath] rebuildSearchPath: Cleaning up
wz      : [rebuildSearchPath] rebuildSearchPath: Switching to multiplay mods
wz      : [registerSearchPath] registerSearchPath: Registering /usr/share/warzone2100/ at priority 4
wz      : [rebuildSearchPath] rebuildSearchPath: Cleaning up
wz      : [rebuildSearchPath] rebuildSearchPath: Switching to multiplay mods
wz      : [printSearchPath] Search paths:
wz      : [printSearchPath]     [/home/Jonathan/.warzone2100-2.1/]
wz      : [printSearchPath]     [/usr/share/warzone2100/mp.wz]
wz      : [printSearchPath]     [/usr/share/warzone2100/]
wz      : [printSearchPath]     [/usr/share/warzone2100/warzone.wz]
wz      : [scanDataDirs] gamedesc.lev found at /usr/share/warzone2100/warzone.wz
3d      : [screenInitialise] OpenGL extensions supported:
3d      : [screenInitialise]   * OpenGL 1.2 is supported!
3d      : [screenInitialise]   * OpenGL 1.3 is supported!
3d      : [screenInitialise]   * OpenGL 1.4 is supported!
3d      : [screenInitialise]   * OpenGL 1.5 is supported!
3d      : [screenInitialise]   * OpenGL 2.0 is supported!
3d      : [screenInitialise]   * OpenGL 2.1 is supported!
3d      : [screenInitialise]   * Texture compression supported.
3d      : [screenInitialise]   * Stencil wrap supported.
wz      : [loadLevFile] Loading lev file: gamedesc.lev
wz      : [loadLevFile] Loading lev file: addon.lev
fog     : [war_SetFog] Visual fog turned OFF
fog     : [setRevealStatus] avSetRevealStatus: Setting reveal to ON
texture : [pie_TexInit] pie_TexInit successful - initialized 128 texture pages
texture : [pie_Initialise] Texture compression: Yes
3d      : [iV_RenderAssign] iV_RenderAssign: flags 1; xcentre 416; ycentre 312; buffer (nil)
video   : [pie_SetGammaValue] pie_SetGammaValue(1.000000)
sound   : [PrintOpenALVersion] OpenAL Vendor: OpenAL Community
sound   : [PrintOpenALVersion] OpenAL Version: 1.1
sound   : [PrintOpenALVersion] OpenAL Renderer: Software
sound   : [PrintOpenALVersion] OpenAL Extensions: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel 
never   : [PlayList_Read] sound_LoadTrackFromFile: PHYSFS_openRead("music/music.wpl") failed with error: File not found
never   : [iV_initializeGLC] glcGenContext() succesful: _glcContext = 1
never   : [iV_initializeGLC] iV_initializeGLC: Successfully selected font family DejaVu Sans Mono as regular font
never   : [iV_initializeGLC] iV_initializeGLC: Successfully selected the "Book" font face of font family DejaVu Sans Mono
never   : [iV_initializeGLC] iV_initializeGLC: Successfully selected font family DejaVu Sans Mono for the bold font
never   : [iV_initializeGLC] iV_initializeGLC: Successfully selected the "Bold" font face of font family DejaVu Sans Mono
never   : [iV_initializeGLC] finished initializing GLC
error   : [openLoadFile] file savegame//.warzone2100-2.1/savegame/mission 3.gam could not be opened: File not found
error   : [openLoadFile] Assert in Warzone: frame.c:308 (!"unable to open file"), last script event: ''
main    : [main] Entering main loop

warning: the debug information found in "/usr/lib/debug//usr/bin/warzone2100.debug" does not match "/usr/bin/warzone2100" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/bin/warzone2100.debug" does not match "/usr/bin/warzone2100" (CRC mismatch).

Missing separate debuginfo for /usr/bin/warzone2100
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/e3/74553f1aecfd7d64b930486ece14d52b80cb20.debug
Could not find the frame base for "__libc_start_main".
Could not find the frame base for "__libc_start_main".
Saved dump file to '/tmp/warzone2100.gdmp'
Erreur de segmentation
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

and when i try to load a save game:

Code: Select all

warzone2100 --debug all
...
never   : [gameTimeStop] Clock paused at 34481
sound   : [__sound_GetError] OpenAL raised an error: "AL_INVALID_NAME: Invalid name parameter passed"; at openal_track.c:277
sound   : [__sound_GetError] OpenAL raised an error: "AL_INVALID_NAME: Invalid name parameter passed"; at openal_track.c:227
wz      : [_addLoadSave] _addLoadSave(0, savegame/, gam, Sauvegarder)
never   : [gameTimeStop] Clock paused at 38014
wz      : [_addLoadSave] _addLoadSave: Searching "savegame/" for savegames
wz      : [_addLoadSave] _addLoadSave: We found [mission 3.gam]
wz      : [_addLoadSave] _addLoadSave: We found [savegame1.gam]
never   : [inputHandleKeyEvent] Code: 73
never   : [inputHandleKeyEvent] Code: 61
never   : [inputHandleKeyEvent] Code: 76
never   : [inputHandleKeyEvent] Code: 65
never   : [inputHandleKeyEvent] Code: 5f
never   : [inputHandleKeyEvent] Code: 67
never   : [inputHandleKeyEvent] Code: 61
never   : [inputHandleKeyEvent] Code: 6d
never   : [inputHandleKeyEvent] Code: 65
never   : [inputHandleKeyEvent] Code: 101
never   : [inputHandleKeyEvent] Code: d
never   : [gameLoop] Returned savegame/save_game1.gam
wz      : [saveGame] saveGame: savegame/save_game1.gam
never   : [gameTimeStop] Clock paused at 51163
*** 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[0x46713c]
warzone2100[0x4686bd]
/lib64/libc.so.6(__libc_start_main+0xfa)[0x310f81e32a]
warzone2100(__gxx_personality_v0+0x429)[0x408319]
======= Memory map: ========
....
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Crash game when load a save game

Post by Buginator »

O_o
Hmm

Can you attach your savegamename directory (and everything in it), and savegamename.* files ?
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

yes, the directory is here.
You do not have the required permissions to view the files attached to this post.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Crash game when load a save game

Post by Buginator »

The savegames, are invalid/incomplete.

Where did you get those from?

I advise you to delete them.

Start a SP game, and then save as soon as your in. Do that with --debug all and post that info again, if you have issues.
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 i have attach the big file
You do not have the required permissions to view the files attached to this post.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Crash game when load a save game

Post by Buginator »

bisounours army wrote:ok i have attach the big file
error : [deleteSaveGame] Warning directory[savegame/campaign1] could not be deleted because Aucun fichier ou dossier de ce type
never : [gameLoop] Returned savegame/campaign1.gam
wz : [saveGame] saveGame: savegame/campaign1.gam
Um, I said delete all you files in the savegame directory, and THEN try to save a file.

Looks like you tried to overwrite something, but I am unsure what that message says.
bisounours army
Trained
Trained
Posts: 35
Joined: 01 Oct 2008, 23:01

Re: Crash game when load a save game

Post by bisounours army »

An another test, look the file:

Code: Select all

$ cd .warzone2100-2.1/
$ ls -a
.  ..  config  keymap.map  maps  multiplay  music  netplay.log  savegame  screendumps
$ cd savegame/
$ ls -a
.  ..  campaign1.gam
$ rm -I campaign1.gam 
$ ls -a
.  ..
$ pwd
/home/Jonathan/.warzone2100-2.1/savegame
$ warzone2100 --debug all
wz      : [main] Using language: 
wz      : [initialize_ConfigDir] Write dir: /home/Jonathan/.warzone2100-2.1/
wz      : [initialize_ConfigDir] Base dir: /usr/bin/
wz      : [main] Warzone 2100 - Version 2.1_beta5
fog     : [war_SetFog] Visual fog turned OFF
........
You do not have the required permissions to view the files attached to this post.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Crash game when load a save game

Post by Buginator »

Can you checkout & compile trunk?
svn co http://svn.gna.org/svn/warzone/trunk

I know it should work on fedora, since one of the devs use fedora, and don't have any of the issues you do.
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 go try the svn but i'm not only.
All people who use official rpm from fedora have the same bug!

I have try with svn trunk and i can save the game!!

Code: Select all

$ warzone2100 --version
Warzone 2100 - Version TRUNK r6101 (modified locally) - Built Oct 15 2008 - DEBUG
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Crash game when load a save game

Post by Buginator »

bisounours army wrote:i go try the svn but i'm not only.
All people who use official rpm from fedora have the same bug!

I have try with svn trunk and i can save the game!!

Code: Select all

$ warzone2100 --version
Warzone 2100 - Version TRUNK r6101 (modified locally) - Built Oct 15 2008 - DEBUG
Well, I guess whoever made the rpm screwed up then, and a bug report needs to be filed against the rpm.

At least you got it to work now. :)