project-navigation
Personal tools

Author Topic: Ubuntu Crash svn  (Read 3528 times)

BiggAl

  • Guest
Ubuntu Crash svn
« on: May 06, 2008, 09:52:51 am »
Reproducable crash:

Code: [Select]
---- filesystem initialization -----
Adding game dir: /usr/local/lib/ufoai/base
Adding game dir: /usr/local/share/ufoai/base
Adding game dir: ./base
using /home/alistair/.ufoai/2.3-dev/base for writing
Adding game dir: /home/alistair/.ufoai/2.3-dev/base
execing default.cfg
execing config.cfg
execing keys.cfg

----- network initialization -------
libcurl/7.18.0 GnuTLS/2.0.4 zlib/1.2.3.3 libidn/1.1 initialized.

------ server initialization -------
added 7 maps to the mapcycle
...using language: en_GB.UTF-8

----- console initialization -------
loaded console history commands: 1
Console initialized.

------- video initialization -------
SDL version: 1.2.12
I: desktop depth: 32bpp
I: video memory: 0
I: video driver: x11
I: setting mode 6: 1024x768 (fullscreen: no)
I: set swap control to 0
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 8 bits for alpha
I: got 0 multisample buffers
GL_VENDOR: Tungsten Graphics, Inc
GL_RENDERER: Mesa DRI Intel(R) 915GM 20061017 x86/MMX/SSE2
GL_VERSION: 1.3 Mesa 7.0.3-rc2
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_shadow 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_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program 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_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_cull_vertex GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs 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_vertex_array GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_ATI_blend_equation_separate 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_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SUN_multi_draw_arrays
using GL_ARB_texture_compression
using GL_EXT_texture_filter_anisotropic [ 2 max] [ 1 selected]
using GL_EXT_texture_lod_bias
using GL_ARB_fragment_program
GL_ARB_shading_language_100 not found
ignoring GL_ARB_vertex_buffer_object
max texture units: 8
max texture size: detected 2048
but using 256 as requested
SDL_ttf version 2.0.9 - we need at least 2.0.7

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

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

--- save subsystem initialization --
added size subsystem (check ff)
added base subsystem (check 0)
added campaign subsystem (check 1)
added hospital subsystem (check 2)
added market subsystem (check 3)
added research subsystem (check 4)
added employee subsystem (check 5)
added aliencont subsystem (check 6)
added production subsystem (check 7)
added aircraft subsystem (check 8)
added messagesystem subsystem (check 9)
added stats subsystem (check a)
added nations subsystem (check b)
added transfer subsystem (check c)
added alien base subsystem (check d)
added xvirate subsystem (check e)

----------- parse scripts ----------
Shared Client/Server Info loaded
... 99 items parsed
... 32 damage types parsed
... 57 map definitions parsed
... 26 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
music change to van_theme (from PsymongN3)
execing autoexec.cfg
"version" is "UFO: Alien Invasion 2.3-dev i386 May  3 2008 Linux DEBUG"
S_Music_Start: Playing music: 'music/van_theme'
CL_LanguageInit()... language settings are stored in configuration: en_GB.UTF-8
Could not find locale with id 'en_GB.UTF-8'
117 static models loaded
...uploaded 5 shaders
====== UFO Initialized ======

Switch grab input off
I: setting mode 6: 1024x768 (fullscreen: yes)
Loading savegame
...version: 3
...game version: 2.3-dev
Changing to Singleplayer
Global data loaded - size 4446420 bytes
...techs: 177
...buildings: 22
...ranks: 16
...nations: 8

Load 'slot2'
...subsystem 'size' - loaded 109 bytes
...subsystem 'base' - loaded 92224 bytes
...subsystem 'campaign' - loaded 271 bytes
...subsystem 'hospital' - loaded 0 bytes
...subsystem 'market' - loaded 3062 bytes
...subsystem 'research' - loaded 8448 bytes
...subsystem 'employee' - loaded 40104 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 337 bytes
...subsystem 'aircraft' - loaded 542 bytes
...subsystem 'messagesystem' - loaded 37992 bytes
...subsystem 'stats' - loaded 28 bytes
...subsystem 'nations' - loaded 1248 bytes
...subsystem 'transfer' - loaded 86384 bytes
...subsystem 'alien base' - loaded 130 bytes
...subsystem 'xvirate' - loaded 131076 bytes
......warning: base 0 has a wrong capacities[5].cur (-1 instead of 0)
File 'slot2' loaded.
music change to van_geoscape (from van_theme)
Changing to Singleplayer
S_Music_Start: Playing music: 'music/van_geoscape'
Save 'slotquick'
...subsystem 'size' - saved 109 bytes
...subsystem 'base' - saved 92206 bytes
...subsystem 'campaign' - saved 367 bytes
...subsystem 'hospital' - saved 0 bytes
...subsystem 'market' - saved 3062 bytes
...subsystem 'research' - saved 8448 bytes
...subsystem 'employee' - saved 40047 bytes
...subsystem 'aliencont' - saved 0 bytes
...subsystem 'production' - saved 337 bytes
...subsystem 'aircraft' - saved 542 bytes
...subsystem 'messagesystem' - saved 37992 bytes
...subsystem 'stats' - saved 28 bytes
...subsystem 'nations' - saved 1248 bytes
...subsystem 'transfer' - saved 86384 bytes
...subsystem 'alien base' - saved 130 bytes
...subsystem 'xvirate' - saved 131076 bytes
Campaign 'QuickSave' saved.
------- Loading game.so -------
LoadLibrary (./base/game.so)
==== InitGame ====
CM_LoadMap: "-ufocrash/uc_ +drop_firebird +craft_crash_fighter +h04 +h05 +h05 +h01 +h02 +h02 +h01 +h02" "-24 -16 0 -16 0 0 8 -16 0 0 -16 0 24 8 0 16 -16 0 -24 0 0 -24 8 0 -24 16 0 -8 16 0"
checksum for the map '+ufocrash': 810815361
ufo script checksum 2393589303
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
Map: +ufocrash
music change to PsymongN4 (from van_geoscape)
Starting the game...
alistair has joined team 0
(player 0) It's team 1's round
alistair has taken control over team 1.
music change to PsymongO3 (from PsymongN4)
S_Music_Start: Playing music: 'music/PsymongO3'
Team 1 ended round, team 7's round started!
music change to van_mission2 (from PsymongO3)
Team 7 ended round, team 0's round started!
Team 0 ended round, team 1's round started!
==== ShutdownGame ====
------- Loading game.so -------
LoadLibrary (./base/game.so)
==== InitGame ====
CM_LoadMap: "-ufocrash/uc_ +drop_firebird +craft_crash_fighter +h06 +h03 +h06 +h01 +h01 +h02 +h02" "8 -8 0 -24 0 0 16 8 0 -24 -16 0 -8 -16 0 -24 16 0 8 -16 0 0 0 0 24 -16 0"
checksum for the map '+ufocrash': 1324457554
ufo script checksum 2393589303
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
Map: +ufocrash
music change to dbsea (from van_mission2)
S_Music_Start: Playing music: 'music/dbsea'
Starting the game...
alistair has joined team 0
(player 0) It's team 1's round
alistair has taken control over team 1.
music change to PsymongO6 (from dbsea)
S_Music_Start: Playing music: 'music/PsymongO6'
Team 1 ended round, team 7's round started!
Team 7 ended round, team 0's round started!
Team 0 ended round, team 1's round started!
Team 1 ended round, team 7's round started!
Team 7 ended round, team 0's round started!
Team 0 ended round, team 1's round started!
Team 1 ended round, team 7's round started!
Team 7 ended round, team 0's round started!
Team 0 ended round, team 1's round started!
Ebnuzuk Zt Hrmokuk is consumed by mad rage!
Team 1 ended round, team 7's round started!
Team 7 ended round, team 0's round started!
Team 0 ended round, team 1's round started!
[STATS] 2008/05/06 08:35:00 - End of game - Team 1 is the winner
[STATS] 2008/05/06 08:35:00 - End of game - Team 1 is the winner
==== ShutdownGame ====
S_Music_Start: Playing music: 'music/ufo2'
Wrote keys.cfg
Error: Received signal 11.

[attachment deleted by admin]

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Ubuntu Crash svn
« Reply #1 on: May 06, 2008, 11:36:25 am »
please try to use gdb to show us a backtrace - see the debugging section in our wiki for more info

the gdb info is needed to fix this bug - otherwise we can't do much much this output

BiggAl

  • Guest
Re: Ubuntu Crash svn
« Reply #2 on: May 06, 2008, 10:06:59 pm »
Code: [Select]
(gdb) run
Starting program: /usr/local/src/ufoai_trunk/trunk/ufo
[Thread debugging using libthread_db enabled]

---- filesystem initialization -----
Adding game dir: /usr/local/lib/ufoai/base
Adding game dir: /usr/local/share/ufoai/base
Adding game dir: ./base
using /home/alistair/.ufoai/2.3-dev/base for writing
Adding game dir: /home/alistair/.ufoai/2.3-dev/base
execing default.cfg
execing config.cfg
execing keys.cfg

----- network initialization -------
libcurl/7.18.0 GnuTLS/2.0.4 zlib/1.2.3.3 libidn/1.1 initialized.

------ server initialization -------
added 7 maps to the mapcycle
...using language: en_GB.UTF-8

----- console initialization -------
loaded console history commands: 1
Console initialized.

------- video initialization -------
[New Thread 0xb7350740 (LWP 31271)]
SDL version: 1.2.12
I: desktop depth: 32bpp
I: video memory: 0
I: video driver: x11
I: setting mode 6: 1024x768 (fullscreen: no)
I: set swap control to 0
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 8 bits for alpha
I: got 0 multisample buffers
GL_VENDOR: Tungsten Graphics, Inc
GL_RENDERER: Mesa DRI Intel(R) 915GM 20061017 x86/MMX/SSE2
GL_VERSION: 1.3 Mesa 7.0.3-rc2
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_shadow 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_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program 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_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_cull_vertex GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs 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_vertex_array GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_ATI_blend_equation_separate 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_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SUN_multi_draw_arrays
using GL_ARB_texture_compression
using GL_EXT_texture_filter_anisotropic [ 2 max] [ 1 selected]
using GL_EXT_texture_lod_bias
using GL_ARB_fragment_program
GL_ARB_shading_language_100 not found
ignoring GL_ARB_vertex_buffer_object
max texture units: 8
max texture size: detected 2048
but using 256 as requested
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.8
[New Thread 0xb2b52b90 (LWP 31278)]
... audio rate: 44100
... audio channels: 2
... driver: 'alsa'

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

--- save subsystem initialization --
added size subsystem (check ff)
added base subsystem (check 0)
added campaign subsystem (check 1)
added hospital subsystem (check 2)
added market subsystem (check 3)
added research subsystem (check 4)
added employee subsystem (check 5)
added aliencont subsystem (check 6)
added production subsystem (check 7)
added aircraft subsystem (check 8)
added messagesystem subsystem (check 9)
added stats subsystem (check a)
added nations subsystem (check b)
added transfer subsystem (check c)
added alien base subsystem (check d)
added xvirate subsystem (check e)

----------- parse scripts ----------
Shared Client/Server Info loaded
... 99 items parsed
... 32 damage types parsed
... 57 map definitions parsed
... 26 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
music change to van_theme (from PsymongN3)
execing autoexec.cfg
"version" is "UFO: Alien Invasion 2.3-dev i386 May  3 2008 Linux DEBUG"
S_Music_Start: Playing music: 'music/van_theme'
CL_LanguageInit()... language settings are stored in configuration: en_GB.UTF-8
Could not find locale with id 'en_GB.UTF-8'
117 static models loaded
...uploaded 5 shaders
====== UFO Initialized ======

Switch grab input off
Loading savegame
...version: 3
...game version: 2.3-dev
Changing to Singleplayer
Global data loaded - size 4446420 bytes
...techs: 177
...buildings: 22
...ranks: 16
...nations: 8

Load 'slot2'
...subsystem 'size' - loaded 109 bytes
...subsystem 'base' - loaded 92224 bytes
...subsystem 'campaign' - loaded 271 bytes
...subsystem 'hospital' - loaded 0 bytes
...subsystem 'market' - loaded 3062 bytes
...subsystem 'research' - loaded 8448 bytes
...subsystem 'employee' - loaded 40104 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 337 bytes
...subsystem 'aircraft' - loaded 542 bytes
...subsystem 'messagesystem' - loaded 37992 bytes
...subsystem 'stats' - loaded 28 bytes
...subsystem 'nations' - loaded 1248 bytes
...subsystem 'transfer' - loaded 86384 bytes
...subsystem 'alien base' - loaded 130 bytes
...subsystem 'xvirate' - loaded 131076 bytes
......warning: base 0 has a wrong capacities[5].cur (-1 instead of 0)
File 'slot2' loaded.
music change to karlmacklin_geoscape (from van_theme)
Changing to Singleplayer
S_Music_Start: Playing music: 'music/karlmacklin_geoscape'
Save 'slotquick'
...subsystem 'size' - saved 109 bytes
...subsystem 'base' - saved 92206 bytes
...subsystem 'campaign' - saved 367 bytes
...subsystem 'hospital' - saved 0 bytes
...subsystem 'market' - saved 3062 bytes
...subsystem 'research' - saved 8448 bytes
...subsystem 'employee' - saved 40047 bytes
...subsystem 'aliencont' - saved 0 bytes
...subsystem 'production' - saved 337 bytes
...subsystem 'aircraft' - saved 542 bytes
...subsystem 'messagesystem' - saved 37992 bytes
...subsystem 'stats' - saved 28 bytes
...subsystem 'nations' - saved 1248 bytes
...subsystem 'transfer' - saved 86384 bytes
...subsystem 'alien base' - saved 130 bytes
...subsystem 'xvirate' - saved 131076 bytes
Campaign 'QuickSave' saved.
------- Loading game.so -------
LoadLibrary (./base/game.so)
==== InitGame ====
CM_LoadMap: "-ufocrash/uc_ +drop_firebird +craft_crash_fighter +h05 +h03 +h06 +h01 +h05 +h01 +h02 +h02" "8 -8 0 -16 0 0 24 8 0 -8 -16 0 -24 -16 0 8 -16 0 -24 0 0 -24 16 0 -8 16 0 24 -16 0"
checksum for the map '+ufocrash': 3685186403
ufo script checksum 2393589303
Created AI player (team 0)
Created AI player (team 7)
-------------------------------------
Connecting to localhost...
Map: +ufocrash
music change to PsymongO3 (from karlmacklin_geoscape)
Starting the game...
alistair has joined team 0
(player 0) It's team 1's round
alistair has taken control over team 1.
music change to van_mission (from PsymongO3)
S_Music_Start: Playing music: 'music/van_mission'
]stunteam 7
[STATS] 2008/05/06 21:03:11 - End of game - Team 1 is the winner
[STATS] 2008/05/06 21:03:11 - End of game - Team 1 is the winner
==== ShutdownGame ====
S_Music_Start: Playing music: 'music/ufo2'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7350740 (LWP 31271)]
0x080a614f in MAP_DrawMap (node=0xde38948) at src/client/cl_map.c:1411
1411 mn.menuText[TEXT_STANDARD] = va(_("Location: %s\nType: %s\nObjective: %s"), selectedMission->location, CP_MissionToTypeString(selectedMission), _(selectedMission->mapDef->description));
(gdb)

There it just hangs and doesn't quit - I made the mistake of doing that fullscreen and had to reboot, it simply would not respond. So what sort of thing could cause it to segfault?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Ubuntu Crash svn
« Reply #3 on: May 07, 2008, 06:44:39 am »
yes, please run it windowed and type "bt full"
and "p selectedMission" and "p selectedMission->mapDef"