project-navigation
Personal tools

Author Topic: svn r28546 crashes  (Read 3415 times)

Offline stent0r

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
svn r28546 crashes
« on: February 12, 2010, 09:51:16 am »
game crashes when I load any save

system:
Code: [Select]
sten@sten:~/ufo/ufoai$ cat /etc/debian_version
squeeze/sid
sten@sten:~/ufo/ufoai$

kernel:
Code: [Select]
sten@sten:~/ufo/ufoai$ uname -a
Linux sten 2.6.32-1-686 #1 SMP Mon Feb 1 01:37:26 UTC 2010 i686 GNU/Linux
sten@sten:~/ufo/ufoai$

error:
Code: [Select]
sten@sten:~/ufo/ufoai$ ./ufo

---- filesystem initialization -----
Adding game dir: /usr/local/lib/ufoai/base
Adding game dir: /usr/local/share/ufoai/base
Adding game dir: ./base                     
Added packfile ./base/0base.pk3 (8 files)   
Added packfile ./base/0maps.pk3 (509 files)
Added packfile ./base/0materials.pk3 (41 files)
Added packfile ./base/0media.pk3 (10 files)   
Added packfile ./base/0models.pk3 (1660 files)
Added packfile ./base/0music.pk3 (48 files)   
Added packfile ./base/0pics.pk3 (2544 files)   
Added packfile ./base/0shaders.pk3 (12 files) 
Added packfile ./base/0snd.pk3 (214 files)     
Added packfile ./base/0ufos.pk3 (98 files)     
Added packfile ./base/0videos.pk3 (1 files)   
Adding game dir: /home/sten/.ufoai/2.3-dev/base
using /home/sten/.ufoai/2.3-dev/base for writing
executing default.cfg                           
executing config.cfg                           

----- network initialization -------
libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.4 libidn/1.15 libssh2/1.2.1 initialized.

------ server initialization -------
added 7 maps to the mapcycle       

----- console initialization -------
Console initialized.               

------- video initialization -------
SDL version: 1.2.14                 
I: desktop depth: 32bpp             
I: video memory: 0                 
I: video driver: x11               
I: setting mode 6                   
I: set swap control to 0           
I: 1024x768 (fullscreen: no)       
I: got 8 bits of stencil           
I: got 24 bits of depth buffer     
I: got double buffer               
I: got 8 bits for red               
I: got 8 bits for green             
I: got 8 bits for blue             
I: got 0 bits for alpha             
I: got 0 multisample buffers       
GL_VENDOR: Tungsten Graphics, Inc   
GL_RENDERER: Mesa DRI Intel(R) 965GM GEM 20090712 2009Q2 RC3 x86/MMX/SSE2
GL_VERSION: 2.1 Mesa 7.6.1                                               
GL_EXTENSIONS: GL_ARB_copy_buffer GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_half_float_pixel GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shading_language_120 GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_cull_vertex GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ATI_blend_equation_separate GL_ATI_envmap_bumpmap GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_texture_signed_rgba GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays                                                                                                                             
Activate texture compression for Intel chips - see cvar r_intel_hack                                                                       
using GL_ARB_texture_compression                                                                                                           
using GL_ARB_texture_non_power_of_two                                                                                                     
max texture units: 8                                                                                                                       
max texture size: detected 4096                                                                                                           
but using 1024 as requested                                                                                                               
R_LoadProgram: 'world' loaded.                                                                                                             
R_LoadProgram: 'mesh' loaded.                                                                                                             
R_LoadProgram: 'warp' loaded.                                                                                                             
SDL_ttf version 2.0.9 - we need at least 2.0.7                                                                                             

------- sound initialization -------
SDL_mixer version: 1.2.8           
... driver: 'pulse'                 
... audio rate: 44100               
... audio channels: 2               

------- input initialization -------
0 possible joysticks               
no joystick found.                 

----------- parse scripts ----------
Shared Client/Server Info loaded   
...118 items parsed                 
... 32 damage types parsed         
... 73 map definitions parsed       
... 29 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed     
executing keys.cfg                 
music change to van_theme (from PsymongN3)
executing autoexec.cfg                   
"version" is "UFO: Alien Invasion 2.3-dev i386 Feb 12 2010 Linux DEBUG"
CL_LanguageInit: language settings are stored in configuration: ru     
...using language: ru_RU.utf8                                         
SDL_ttf version 2.0.9 - we need at least 2.0.7                         
...registering 10 fonts                                               
130 static models loaded                                               
====== UFO Initialized ======                                         
=============================                                         
Switch grab input off                                                 
Change gametype to 'Campaign mode'                                     

--- save subsystem initialization --
added base subsystem               
added research subsystem           
added campaign subsystem           
added hospital subsystem           
added market subsystem             
added employee subsystem           
added aliencont subsystem           
added aircraft subsystem           
added installation subsystem       
added ufostores subsystem           
added production subsystem         
added messagesystem subsystem       
added stats subsystem               
added nations subsystem             
added transfer subsystem           
added alien base subsystem         
added xvirate subsystem             
added messageoptions subsystem     
Campaign data loaded - size 4467040 bytes
...techs: 205                           
...buildings: 23                         
...ranks: 16                             
...nations: 8                           
...cities: 457                           

Loading savegame xml (size 69059)
Loading savegame                 
...version: 3                   
...game version: 2.3-dev         
...xml Size: 992000, compressed? y
Shutdown gametype 'Campaign mode'
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added base subsystem               
added research subsystem           
added campaign subsystem           
added hospital subsystem           
added market subsystem             
added employee subsystem           
added aliencont subsystem           
added aircraft subsystem           
added installation subsystem       
added ufostores subsystem           
added production subsystem         
added messagesystem subsystem       
added stats subsystem               
added nations subsystem             
added transfer subsystem           
added alien base subsystem         
added xvirate subsystem             
added messageoptions subsystem     
Campaign data loaded - size 4467040 bytes
...techs: 205                           
...buildings: 23                         
...ranks: 16                             
...nations: 8                           
...cities: 457                           

Load 'slot1' 18 subsystems
...Running subsystem 'base'
...subsystem 'base' - loaded.
...Running subsystem 'research'
...subsystem 'research' - loaded.
...Running subsystem 'campaign' 
...subsystem 'campaign' - loaded.
...Running subsystem 'hospital' 
...subsystem 'hospital' - loaded.
...Running subsystem 'market'   
...subsystem 'market' - loaded. 
...Running subsystem 'employee' 
...subsystem 'employee' - loaded.
...Running subsystem 'aliencont'
...subsystem 'aliencont' - loaded.
...Running subsystem 'aircraft'   
Error: UFO 'craft_ufo_harvester' is not linked to any mission
Error: UFO 'craft_ufo_harvester' is not linked to any mission
Error: UFO 'craft_ufo_harvester' is not linked to any mission
...subsystem 'aircraft' - loaded.                           
...Running subsystem 'installation'                         
...subsystem 'installation' - loaded.                       
...Running subsystem 'ufostores'                             
...subsystem 'ufostores' - loaded.                           
...Running subsystem 'production'                           
...subsystem 'production' - loaded.                         
...Running subsystem 'messagesystem'                         
...subsystem 'messagesystem' - loaded.                       
...Running subsystem 'stats'                                 
...subsystem 'stats' - loaded.                               
...Running subsystem 'nations'                               
...subsystem 'nations' - loaded.                             
...Running subsystem 'transfer'                             
...subsystem 'transfer' - loaded.                           
...Running subsystem 'alien base'                           
...subsystem 'alien base' - loaded.                         
...Running subsystem 'xvirate'                               
...subsystem 'xvirate' - loaded.                             
...Running subsystem 'messageoptions'                       
...subsystem 'messageoptions' - loaded.                     
File 'slot1' successfully loaded from compressed xml savegame.
music change to van_geoscape (from van_theme)                 
music change to karlmacklin_geoscape (from van_geoscape)     
ufo: src/client/campaign/cp_ufo.c:496: UFO_CampaignRunUFOs: ??????????? ??????????? <<ufo->mission>> ?? ?????????.
./ufo(Sys_Backtrace+0x1f)[0x8196899]                                                                             
./ufo[0x8196904]                                                                                                 
[0xb7822400]
/lib/i686/cmov/libc.so.6(abort+0x185)[0xb73fce15]
/lib/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb73f2ace]
./ufo(UFO_CampaignRunUFOs+0x9c)[0x80f4aff]
./ufo[0x80c7046]
./ufo(CL_CampaignRun+0x191)[0x80c7215]
./ufo(GAME_CP_Frame+0x37)[0x806ecc5]
./ufo(GAME_Frame+0x26)[0x806df6b]
./ufo(CL_Frame+0xbf)[0x807a217]
./ufo[0x8142cc8]
./ufo(Qcommon_Frame+0x7b)[0x814312c]
./ufo(main+0x5c)[0x8195807]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb73e5b55]
./ufo[0x806bd61]
./ufo(Sys_Backtrace+0x1f)[0x8196899]
./ufo(Sys_Error+0xe)[0x8195b81]
./ufo(Sys_InitSignals+0x0)[0x8196917]
[0xb7822400]
/lib/i686/cmov/libc.so.6(abort+0x185)[0xb73fce15]
/lib/i686/cmov/libc.so.6(__assert_fail+0xee)[0xb73f2ace]
./ufo(UFO_CampaignRunUFOs+0x9c)[0x80f4aff]
./ufo[0x80c7046]
./ufo(CL_CampaignRun+0x191)[0x80c7215]
./ufo(GAME_CP_Frame+0x37)[0x806ecc5]
./ufo(GAME_Frame+0x26)[0x806df6b]
./ufo(CL_Frame+0xbf)[0x807a217]
./ufo[0x8142cc8]
./ufo(Qcommon_Frame+0x7b)[0x814312c]
./ufo(main+0x5c)[0x8195807]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb73e5b55]
./ufo[0x806bd61]
Error: Received signal 6.

sten@sten:~/ufo/ufoai$

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: svn r28546 crashes
« Reply #1 on: February 12, 2010, 10:58:41 am »
could you upload your save (xml) and the debug output (lint) ? (Probably you'll need to compress them)

The save seems to be corrupt/incompatible at first glance:
Code: [Select]
...Running subsystem 'aircraft'  
Error: UFO 'craft_ufo_harvester' is not linked to any mission
Error: UFO 'craft_ufo_harvester' is not linked to any mission
Error: UFO 'craft_ufo_harvester' is not linked to any mission

-geever
« Last Edit: February 12, 2010, 11:06:12 am by geever »

Offline stent0r

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: svn r28546 crashes
« Reply #2 on: February 12, 2010, 11:17:08 am »
could you upload your save (xml) and the debug output (lint) ? (Probably you'll need to compress them)
saves attached
how can I see debug output?

The save seems to be corrupt/incompatible at first glance:
Code: [Select]
...Running subsystem 'aircraft'  
Error: UFO 'craft_ufo_harvester' is not linked to any mission
Error: UFO 'craft_ufo_harvester' is not linked to any mission
Error: UFO 'craft_ufo_harvester' is not linked to any mission
possible, but svn up dont't reports about any problems
can I check/fix it except 1.8Gb download via svn? ;)

Offline stent0r

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: svn r28546 crashes
« Reply #3 on: February 12, 2010, 11:17:53 am »
and quicksave from same folder

Offline O01eg

  • Rookie
  • ***
  • Posts: 73
    • View Profile
Re: svn r28546 crashes
« Reply #4 on: February 22, 2010, 09:27:15 am »
I also have this bug. r38676
It is accompanied with wrong values of linking to mission at 'debug_listufo'.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: svn r28546 crashes
« Reply #5 on: February 22, 2010, 11:12:47 am »
I also have this bug. r38676
It is accompanied with wrong values of linking to mission at 'debug_listufo'.


This issue was already fixed, old saves can be corrupted though. I wrote how to fix it in the forum, look for it if you wanna continue that save.

-geever