project-navigation
Personal tools

Author Topic: Archlinux 64 UFO AI 2.3 Segmentation fault?  (Read 4539 times)

Offline eNTi

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Archlinux 64 UFO AI 2.3 Segmentation fault?
« on: June 19, 2010, 03:20:58 pm »
hi everyone.

i just wanted to give this game another run, but sadly it doesn't want to. :)


http://paste.pocoo.org/show/227274/

Code: [Select]
./ufo(Sys_Backtrace+0x15)[0x56b135]
./ufo(Sys_Error+0x77)[0x56b1c7]
./ufo(Com_Error+0x129)[0x505fb9]
./ufo(R_InitImages+0x18d)[0x53d52d]
./ufo(R_Init+0x11cf)[0x54201f]
./ufo(CL_Init+0x134)[0x435c74]
./ufo(Qcommon_Init+0x38e)[0x50667e]
./ufo(main+0x1e)[0x56a5fe]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f654447dc4d]
./ufo[0x426ef9]
Error: Shutdow

Linux eNTi 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 11:32:37 CEST 2010 x86_64 Intel(R) Core(TM) i3 CPU 530 @ 2.93GHz GenuineIntel GNU/Linux

http://paste.pocoo.org/show/227277/

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Archlinux 64 UFO AI 2.3 Segmentation fault?
« Reply #1 on: June 19, 2010, 05:56:50 pm »
did you compile yourself?

the base/pics/envmaps files are missing

Offline eNTi

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: Archlinux 64 UFO AI 2.3 Segmentation fault?
« Reply #2 on: June 19, 2010, 06:17:47 pm »
actually no... i've installed the package from a user repository in archlinux (aur). maybe the author of the package missed something. i'll tell him about it. thx for the help.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Archlinux 64 UFO AI 2.3 Segmentation fault?
« Reply #3 on: June 19, 2010, 06:19:24 pm »
maybe the pk3 files aren't found

Offline eNTi

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: Archlinux 64 UFO AI 2.3 Segmentation fault?
« Reply #4 on: June 19, 2010, 06:21:54 pm »
maybe the pk3 files aren't found
well as you can see in my first pastebin link, they are found actually.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Archlinux 64 UFO AI 2.3 Segmentation fault?
« Reply #5 on: June 20, 2010, 08:15:39 am »
they are in fact even found twice - do you have an old version installed, too?

Offline eNTi

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: Archlinux 64 UFO AI 2.3 Segmentation fault?
« Reply #6 on: June 20, 2010, 12:27:11 pm »
hmm... it seems my clever package management system has installed the data portion of the game from 2.2. that doesn't explain why the pak0 files are found twice, but it probably explains why it didn't work in the first place.

so i can start game and it's looking good so far. :)

Offline Lake-end

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: Archlinux 64 UFO AI 2.3 Segmentation fault?
« Reply #7 on: June 27, 2010, 05:09:29 pm »
hi everyone.

i just wanted to give this game another run, but sadly it doesn't want to. :)



I seem to have similiar problems, although I am using openSUSE 11.2. I think I might be missing some files, although I have installed the default ufoai packages from the repository. So this might be a packaging problem, can anyone help me decihper the error messages below?

Code: [Select]
petjarve@petrin:~> ufoai

---- filesystem initialization -----
Adding game dir: /usr/share/ufoai/base
Adding game dir: ./base
Adding game dir: /home/petjarve/.ufoai/2.3/base
using /home/petjarve/.ufoai/2.3/base for writing
couldn't execute default.cfg
couldn't execute config.cfg

----- network initialization -------
libcurl/7.19.6 OpenSSL/0.9.8k zlib/1.2.3 libidn/1.10 initialized.

------ server initialization -------

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

------- video initialization -------
SDL version: 1.2.14
I: desktop depth: 32bpp
I: video memory: 0
I: Available resolutions: 1920x1200 1680x1050 1600x1200 1400x1050 1280x1024 1280x960 1152x864 1024x768 960x720 928x696 896x672 832x624 800x600 720x400 700x525 640x512 640x480 640x400 640x350 576x432 512x384 416x312 400x300 360x200 320x240 320x200 320x175 (27)
I: video driver: x11
I: setting mode -1
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: NVIDIA Corporation
GL_RENDERER: GeForce GTX 275/PCI/SSE2
GL_VERSION: 3.2.0 NVIDIA 195.36.15
GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging 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_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_compression GL_ARB_texture_compression_rgtc 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_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object 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_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_buffer_load GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_rogram1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
using GL_ARB_texture_non_power_of_two
using GL_ARB_shading_language_100
GLSL Version: 1.50 NVIDIA via Cg compiler
using GL_ARB_framebuffer_object
max draw buffers: 8
max render buffer size: 8192
max color attachments: 8
using GL_ARB_draw_buffers
max supported lights: 8
max texture units: 4
max texture coords: 8
max vertex attributes: 16
max texture size: detected 8192
...but using 2048 as requested
Using low resolution globe textures as requested.
R_LoadProgram: world: Link info
---------
No shader objects attached.
R_LoadProgram: warp: Link info
---------
No shader objects attached.
R_LoadProgram: geoscape: Link info
---------
No shader objects attached.
R_LoadProgram: combine2: Link info
---------
No shader objects attached.
R_LoadProgram: convolve3: Link info
---------
No shader objects attached.
R_LoadProgram: atmosphere: Link info
---------
No shader objects attached.
R_LoadProgram: simple_glow: Link info
---------
No shader objects attached.
SDL_image version 1.2.10
Could not load environment map 0
FS_RemoveFile: remove /home/petjarve/.ufoai/2.3/base/keys.cfg
/usr/lib64/ufoai/ufoai(Sys_Backtrace+0x1f)[0x586962]
/usr/lib64/ufoai/ufoai(Sys_Error+0x85)[0x585791]
/usr/lib64/ufoai/ufoai(Com_Drop+0x0)[0x51707f]
/usr/lib64/ufoai/ufoai(R_InitImages+0x106)[0x553c70]
/usr/lib64/ufoai/ufoai(R_Init+0x100)[0x55876f]
/usr/lib64/ufoai/ufoai(VID_Init+0x1a7)[0x441ca9]
/usr/lib64/ufoai/ufoai(CL_Init+0x194)[0x43c392]
/usr/lib64/ufoai/ufoai(Qcommon_Init+0x400)[0x5185fa]
/usr/lib64/ufoai/ufoai(main+0x25)[0x5852d7]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f4310a46a7d]
/usr/lib64/ufoai/ufoai[0x42bf19]
Error: Shutdown

Offline eNTi

  • Cannon Fodder
  • **
  • Posts: 5
    • View Profile
Re: Archlinux 64 UFO AI 2.3 Segmentation fault?
« Reply #8 on: June 27, 2010, 06:16:40 pm »
you better download the game from the site. as i said, my package manager installed the 2.3 binaries and 2.2 data (maps), which it couldn't load/find. after i had manually overridden the repository directive it installed the right package and i could get into the game.