project-navigation
Personal tools

Author Topic: Random crashing  (Read 2401 times)

Offline fritzbunwalla

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Random crashing
« on: January 12, 2011, 04:02:57 pm »
Hey,

My game randomly crashes at various points, sometimes during the battle screen, sometimes during the global screen, sometimes while loading. No pattern, just a heavy CPU load and then it quits out.

Console of the last crash reads:

2011/01/12 16:36:44 ----- network initialization -------
2011/01/12 16:36:44 libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18 initialized.
2011/01/12 16:36:45 ------ server initialization -------
2011/01/12 16:36:45 added 7 maps to the mapcycle
2011/01/12 16:36:45 ----- console initialization -------
2011/01/12 16:36:45 Console initialized.
2011/01/12 16:36:45 ------- video initialization -------
2011/01/12 16:36:45 SDL version: 1.2.14
2011/01/12 16:36:45 I: desktop depth: 32bpp
2011/01/12 16:36:45 I: video memory: 0
2011/01/12 16:36:45 I: Available resolutions: 1024x600 800x600 640x480 (3)
2011/01/12 16:36:45 I: video driver: x11
2011/01/12 16:36:45 I: setting mode 0
2011/01/12 16:36:45 I: set swap control to 0
2011/01/12 16:36:45 I: 1024x600 (fullscreen: no)
2011/01/12 16:36:45 I: got 8 bits of stencil
2011/01/12 16:36:45 I: got 24 bits of depth buffer
2011/01/12 16:36:45 I: got double buffer
2011/01/12 16:36:45 I: got 8 bits for red
2011/01/12 16:36:45 I: got 8 bits for green
2011/01/12 16:36:45 I: got 8 bits for blue
2011/01/12 16:36:45 I: got 0 bits for alpha
2011/01/12 16:36:45 I: got 0 multisample buffers
GL_VENDOR: Tungsten Graphics, Inc2011/01/12 16:36:45 GL_RENDERER: Mesa DRI Intel(R) 945GME GEM 20100330 DEVELOPMENT x86/MMX/SSE22011/01/12 16:36:45 GL_VERSION: 1.4 Mesa 7.9-devel2011/01/12 16:36:45 GL_EXTENSIONS: GL_ARB_copy_buffer GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_fragment_program GL_ARB_half_float_pixel GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_shader_objects GL_ARB_shading_language_100 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_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_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object 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_cube_map 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_vertex_array GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_APPLE_object_purgeable GL_ATI_blend_equation_separate 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_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle 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 GL_OES_EGL_image2011/01/12 16:36:45 2011/01/12 16:36:45 Activate texture compression for Intel chips - see cvar r_intel_hack
2011/01/12 16:36:45 using GL_ARB_texture_compression
2011/01/12 16:36:45 using GL_ARB_texture_non_power_of_two
2011/01/12 16:36:45 using GL_ARB_shading_language_100
2011/01/12 16:36:45 GLSL Version: 1.20
2011/01/12 16:36:45 using GL_ARB_framebuffer_object
2011/01/12 16:36:45 max draw buffers: 1
2011/01/12 16:36:45 max render buffer size: 2048
2011/01/12 16:36:45 max color attachments: 8
2011/01/12 16:36:45 max supported lights: 8
2011/01/12 16:36:45 max texture units: 8
2011/01/12 16:36:45 max texture coords: 8
2011/01/12 16:36:45 max vertex attributes: 16
2011/01/12 16:36:45 max texture size: detected 2048
2011/01/12 16:36:45 ...but using 1024 as requested
2011/01/12 16:36:45 Using low resolution globe textures as requested.
2011/01/12 16:36:45 not using GLSL shaders
2011/01/12 16:36:45 SDL_image version 1.2.10
2011/01/12 16:36:47 SDL_ttf version 2.0.9 - we need at least 2.0.7
2011/01/12 16:36:47 ------- sound initialization -------
2011/01/12 16:36:47 not initializing.
2011/01/12 16:36:47 ------- input initialization -------
2011/01/12 16:36:47 0 possible joysticks
2011/01/12 16:36:47 no joystick found.
2011/01/12 16:36:47 ----------- parse scripts ----------
2011/01/12 16:36:47 50 script files
2011/01/12 16:36:48 47 ui script files
2011/01/12 16:36:52 Shared Client/Server Info loaded
2011/01/12 16:36:52 ... 99 items parsed
2011/01/12 16:36:52 ... 32 damage types parsed
2011/01/12 16:36:52 ... 80 map definitions parsed
2011/01/12 16:36:52 ... 29 equipment definitions parsed
2011/01/12 16:36:52 ... 10 inventory definitions parsed
2011/01/12 16:36:52 ... 20 team definitions parsed
2011/01/12 16:36:52 executing keys.cfg
2011/01/12 16:37:30 CL_LanguageInit: language settings are stored in configuration: en
2011/01/12 16:37:30 ...using language: en_ZW.utf8
2011/01/12 16:37:30 SDL_ttf version 2.0.9 - we need at least 2.0.7
2011/01/12 16:37:30 ...registering 10 fonts
2011/01/12 16:37:31 134 static models loaded
2011/01/12 16:37:31 ====== UFO Initialized ======
2011/01/12 16:37:31 =============================
2011/01/12 16:37:31 Switch grab input off
2011/01/12 16:37:42 I: setting mode 0
2011/01/12 16:37:42 I: set swap control to 0
2011/01/12 16:37:42 I: 1024x600 (fullscreen: yes)
2011/01/12 16:37:46 Change gametype to 'Campaign mode'
2011/01/12 16:37:46 --- save subsystem initialization --
2011/01/12 16:37:46 added base subsystem
2011/01/12 16:37:46 added research subsystem
2011/01/12 16:37:46 added campaign subsystem
2011/01/12 16:37:46 added hospital subsystem
2011/01/12 16:37:46 added market subsystem
2011/01/12 16:37:46 added employee subsystem
2011/01/12 16:37:46 added aliencont subsystem
2011/01/12 16:37:46 added aircraft subsystem
2011/01/12 16:37:46 added installation subsystem
2011/01/12 16:37:46 added ufostores subsystem
2011/01/12 16:37:46 added production subsystem
2011/01/12 16:37:46 added messagesystem subsystem
2011/01/12 16:37:46 added stats subsystem
2011/01/12 16:37:46 added nations subsystem
2011/01/12 16:37:46 added transfer subsystem
2011/01/12 16:37:46 added alien base subsystem
2011/01/12 16:37:46 added xvirate subsystem
2011/01/12 16:37:46 added messageoptions subsystem
2011/01/12 16:37:46 Campaign data loaded - size 4458784 bytes
2011/01/12 16:37:46 ...techs: 189
2011/01/12 16:37:46 ...buildings: 19
2011/01/12 16:37:46 ...ranks: 16
2011/01/12 16:37:46 ...nations: 8
2011/01/12 16:37:46 ...cities: 457
2011/01/12 16:37:46 2011/01/12 16:37:49 Loading savegame xml (size 32545)
2011/01/12 16:37:49 Loading savegame
...version: 4
...game version: 2.3.1
...xml Size: 414559, compressed? y
2011/01/12 16:37:50 Shutdown gametype 'Campaign mode'
2011/01/12 16:37:50 Change gametype to 'Campaign mode'
2011/01/12 16:37:50 --- save subsystem initialization --
2011/01/12 16:37:50 added base subsystem
2011/01/12 16:37:50 added research subsystem
2011/01/12 16:37:50 added campaign subsystem
2011/01/12 16:37:50 added hospital subsystem
2011/01/12 16:37:50 added market subsystem
2011/01/12 16:37:50 added employee subsystem
2011/01/12 16:37:50 added aliencont subsystem
2011/01/12 16:37:50 added aircraft subsystem
2011/01/12 16:37:50 added installation subsystem
2011/01/12 16:37:50 added ufostores subsystem
2011/01/12 16:37:50 added production subsystem
2011/01/12 16:37:50 added messagesystem subsystem
2011/01/12 16:37:50 added stats subsystem
2011/01/12 16:37:50 added nations subsystem
2011/01/12 16:37:50 added transfer subsystem
2011/01/12 16:37:50 added alien base subsystem
2011/01/12 16:37:50 added xvirate subsystem
2011/01/12 16:37:50 added messageoptions subsystem
2011/01/12 16:37:50 Campaign data loaded - size 4458784 bytes
2011/01/12 16:37:50 ...techs: 189
2011/01/12 16:37:50 ...buildings: 19
2011/01/12 16:37:50 ...ranks: 16
2011/01/12 16:37:50 ...nations: 8
2011/01/12 16:37:50 ...cities: 457
2011/01/12 16:37:50 2011/01/12 16:37:50 Load 'slot0' 18 subsystems
2011/01/12 16:37:50 ...Running subsystem 'base'
2011/01/12 16:37:50 ...subsystem 'base' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'research'
2011/01/12 16:37:50 ...subsystem 'research' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'campaign'
2011/01/12 16:37:50 ...subsystem 'campaign' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'hospital'
2011/01/12 16:37:50 ...subsystem 'hospital' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'market'
2011/01/12 16:37:50 ...subsystem 'market' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'employee'
2011/01/12 16:37:50 ...subsystem 'employee' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'aliencont'
2011/01/12 16:37:50 ...subsystem 'aliencont' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'aircraft'
2011/01/12 16:37:50 ...subsystem 'aircraft' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'installation'
2011/01/12 16:37:50 ...subsystem 'installation' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'ufostores'
2011/01/12 16:37:50 ...subsystem 'ufostores' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'production'
2011/01/12 16:37:50 ...subsystem 'production' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'messagesystem'
2011/01/12 16:37:50 ...subsystem 'messagesystem' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'stats'
2011/01/12 16:37:50 ...subsystem 'stats' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'nations'
2011/01/12 16:37:50 ...subsystem 'nations' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'transfer'
2011/01/12 16:37:50 ...subsystem 'transfer' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'alien base'
2011/01/12 16:37:50 ...subsystem 'alien base' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'xvirate'
2011/01/12 16:37:50 ...subsystem 'xvirate' - loaded.
2011/01/12 16:37:50 ...Running subsystem 'messageoptions'
2011/01/12 16:37:50 ...subsystem 'messageoptions' - loaded.
2011/01/12 16:37:50 File 'slot0' successfully loaded from compressed xml savegame.
2011/01/12 16:39:56 Calling subsystems
2011/01/12 16:39:56 ...subsystem 'base' - saved
2011/01/12 16:39:56 ...subsystem 'research' - saved
2011/01/12 16:39:56 ...subsystem 'campaign' - saved
2011/01/12 16:39:56 ...subsystem 'hospital' - saved
2011/01/12 16:39:56 ...subsystem 'market' - saved
2011/01/12 16:39:56 ...subsystem 'employee' - saved
2011/01/12 16:39:56 ...subsystem 'aliencont' - saved
2011/01/12 16:39:56 ...subsystem 'aircraft' - saved
2011/01/12 16:39:56 ...subsystem 'installation' - saved
2011/01/12 16:39:56 ...subsystem 'ufostores' - saved
2011/01/12 16:39:56 ...subsystem 'production' - saved
2011/01/12 16:39:56 ...subsystem 'messagesystem' - saved
2011/01/12 16:39:56 ...subsystem 'stats' - saved
2011/01/12 16:39:56 ...subsystem 'nations' - saved
2011/01/12 16:39:56 ...subsystem 'transfer' - saved
2011/01/12 16:39:56 ...subsystem 'alien base' - saved
2011/01/12 16:39:56 ...subsystem 'xvirate' - saved
2011/01/12 16:39:56 ...subsystem 'messageoptions' - saved
2011/01/12 16:39:56 XML Written to buffer (417273 Bytes)
2011/01/12 16:48:16 Free inventory slots: 901
2011/01/12 16:48:16 Calling subsystems
2011/01/12 16:48:17 ...subsystem 'base' - saved
2011/01/12 16:48:17 ...subsystem 'research' - saved
2011/01/12 16:48:17 ...subsystem 'campaign' - saved
2011/01/12 16:48:17 ...subsystem 'hospital' - saved
2011/01/12 16:48:17 ...subsystem 'market' - saved
2011/01/12 16:48:17 ...subsystem 'employee' - saved
2011/01/12

Any ideas?

Thanks.

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: Random crashing
« Reply #1 on: January 12, 2011, 04:38:42 pm »
Hi,

Can you please tell us:

- What type of machine (brand, type, some hardware specs) you are trying to run the game on?

- Exactly what distro and version of Linux you are running?

- Exactly what version of the game you have (2.3.1?  2.4 dev? Did you compile/build it yourself?)

- If you downloaded a pre-compiled package, where did you get it from?

Looking quickly at some of the lines, I do see a few things that might be a little off, but one of the project coders will really have to give an answer as to where the issue really is.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Random crashing
« Reply #2 on: January 12, 2011, 07:46:45 pm »
if you are on linux, please install gdb, run ufo in a gdb session (see wiki debugging) and post a backtrace - without such a backtrace it's almost impossible to help you.

Offline fritzbunwalla

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: Random crashing
« Reply #3 on: January 12, 2011, 09:07:40 pm »
Hey,

I'm on Egypt time (GMT+2) so it is getting late here. I'll try the gdb in the morning and let you know what that comes out with.

For now -

I am running 2.3.1 off Playdeb.

I am on an Asus Aspire 1 netbook, so relatively minimal graphics etc, but I have upped my RAM to 1.5gb.

I am running Ubuntu 10.10 with a gnome shell over the top.

It did run a lot better when I closed all other programs, which might explain it as a pure CPU issue.

I am also having a secondary (albeit minor issue) in that is does not remember my graphics preferences when I start up the program, so I have to change the settings to full screen and my resolution each time. This is probably unrelated but I am not sure why it is happening.

Thanks for the help.