project-navigation
Personal tools

Author Topic: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."  (Read 5597 times)

luke86

  • Guest
Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« on: April 14, 2008, 04:35:39 pm »
Hi,

Im using Ubuntu-Linux-Hardy-beta and ive tryed to play Ufoai. But after some hours of playing this amazing game i found a bug wich kills the process of the Game completely. And ive got this bug every time now when i load my savegame. After loading my savegame there is a enemy ufo on the radar and my ship is going to attack it. When i now let the ship attack the ufo, the ufo destroyś my little ship, but wenn i give my ship the order to fly back to the base, the bug occours when my ship arrives on my base.

Cosole output:
Code: [Select]
luke86@luke86-desktop:~/Games/ufoai$ sh ufoai

---- filesystem initialization -----
Adding game dir: ./base
Added packfile ./base/0base.pk3 (4 files)
Added packfile ./base/0maps.pk3 (461 files)
Added packfile ./base/0media.pk3 (8 files)
Added packfile ./base/0models.pk3 (1231 files)
Added packfile ./base/0music.pk3 (35 files)
Added packfile ./base/0pics.pk3 (1577 files)
Added packfile ./base/0snd.pk3 (131 files)
Added packfile ./base/0ufos.pk3 (73 files)
using /home/luke86/.ufoai/2.2/base for writing
Adding game dir: /home/luke86/.ufoai/2.2/base
execing default.cfg
execing config.cfg
execing keys.cfg

----- network initialization -------
libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1 initialized.

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

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

------- video initialization -------
SDL version: 1.2.11
I: desktop depth: 32bpp
I: setting mode 6: 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
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: Radeon X1800 Series
GL_VERSION: 2.1.7412 Release
GL_EXTENSIONS: GL_AMD_performance_monitor GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader 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_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient 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_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters 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_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc 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_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_vertex_array GL_KTX_buffer_region GL_NV_blend_square GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_WIN_swap_hint WGL_EXT_swap_control
ignoring GL_EXT_LockArrays
using GL_ARB_multitexture
using GL_EXT_texture_env_combine
GL_SGIS_multitexture not found
ignoring GL_ARB_texture_compression
using GL_EXT_texture_filter_anisotropic [16 max] [16 selected]
using GL_EXT_texture_lod_bias
using GL_EXT_stencil_wrap
using GL_EXT_fog_coord
using GL_ATI_separate_stencil
GL_EXT_stencil_two_side not found
max texture size: detected 4096
SDL_ttf version 2.0.9 - we need at least 2.0.7

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

--- 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)

----------- parse scripts ----------
Shared Client/Server Info loaded
... 94 items parsed
... 31 damage types parsed
... 52 map definitions parsed
... 25 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
CL_LanguageInit()... language settings are stored in configuration: de
123 static models loaded
====== UFO Initialized ======

Switch grab input off
S_Music_Start: Playing music: 'music/PsymongN3'
Loading savegame
...version: 2
...game version: 2.2
Changing to Singleplayer
Global data loaded - size 5204572 bytes
...techs: 165
...buildings: 21
...ranks: 16
...nations: 8

Load 'slot1'
...subsystem 'size' - loaded 101 bytes
...subsystem 'base' - loaded 25793 bytes
Activate stage intro
......warning: Set with no missions (stop)
...subsystem 'campaign' - loaded 290 bytes
...subsystem 'hospital' - loaded 0 bytes
...subsystem 'market' - loaded 2899 bytes
...subsystem 'research' - loaded 7882 bytes
...subsystem 'employee' - loaded 9084 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 8 bytes
...subsystem 'aircraft' - loaded 1100 bytes
...subsystem 'messagesystem' - loaded 4380 bytes
...subsystem 'stats' - loaded 28 bytes
...subsystem 'nations' - loaded 1248 bytes
...subsystem 'transfer' - loaded 86400 bytes
File 'slot1' loaded.
Changing to Singleplayer
S_Music_Start: Playing music: 'music/van_geoscape'
ufo: src/client/cl_aliencont.c:203: AL_AddAliens: Assertion `*cargo[i].alientype' failed.
Aborted (core dumped)
luke86@luke86-desktop:~/Games/ufoai$

And here is my System Detailed:
Code: [Select]
-Computer-
Processor : AMD Athlon(tm) 64 Processor 3700+
Memory : 1035MB (587MB used)
Operating System : Ubuntu hardy (development branch)
User Name : luke86 (luke)
Date/Time : Mon 14 Apr 2008 16:31:33 CEST
-Display-
Resolution : 1280x1024 pixels
OpenGL Renderer : Radeon X1800 Series
X11 Vendor : The X.Org Foundation
-Multimedia-
Audio Adapter : NFORCE - NVidia CK804
-Input Devices-
 Macintosh mouse button emulation
 Razer Razer Diamondback Optical Mouse
 HID 1267:0103
 HID 1267:0103
 PC Speaker
 Power Button (FF)
 Power Button (CM)
-Printers (CUPS)-
PDF
Photosmart_C4100_series
-IDE Disks-
-SCSI Disks-
HL-DT-ST DVD-ROM GDR8164B
PHILIPS DVD8631
ATA WDC WD2000JD-55H
ATA WDC WD2000JD-55H
Generic STORAGE DEVICE
Generic STORAGE DEVICE
Generic STORAGE DEVICE
Generic STORAGE DEVICE
Generic STORAGE DEVICE

I hope thats enough information for the ufoai dev's to help to fix this bug.
ufoai is one of the best open source games i know so good luck :)

luke86

Offline Doctor J

  • Squad Leader
  • ****
  • Posts: 265
    • View Profile
Re: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« Reply #1 on: April 14, 2008, 07:05:11 pm »
I hope thats enough information for the ufoai dev's to help to fix this bug.
ufoai is one of the best open source games i know so good luck :)

It's a good start.  Next thing would be to run gdb: "gdb ./ufo".  After gdb loads the game, tell it "run".  After the game crashes, tell gdb "bt full".

luke86

  • Guest
Re: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« Reply #2 on: April 14, 2008, 08:55:25 pm »
Okay, so here is the extended bugreport:
Code: [Select]
luke86@luke86-desktop:~/Games/ufoai$ gdb ./ufo
GNU gdb 6.8-debian
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 "i486-linux-gnu"...
(gdb) run
Starting program: /home/luke86/Games/ufoai/ufo
[Thread debugging using libthread_db enabled]

---- filesystem initialization -----
Adding game dir: ./base
Added packfile ./base/0base.pk3 (4 files)
Added packfile ./base/0maps.pk3 (461 files)
Added packfile ./base/0media.pk3 (8 files)
Added packfile ./base/0models.pk3 (1231 files)
Added packfile ./base/0music.pk3 (35 files)
Added packfile ./base/0pics.pk3 (1577 files)
Added packfile ./base/0snd.pk3 (131 files)
Added packfile ./base/0ufos.pk3 (73 files)
using /home/luke86/.ufoai/2.2/base for writing
Adding game dir: /home/luke86/.ufoai/2.2/base
execing default.cfg
execing config.cfg
execing keys.cfg

----- network initialization -------
libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1 initialized.

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

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

------- video initialization -------
[New Thread 0xb760b6d0 (LWP 12808)]
SDL version: 1.2.11
I: desktop depth: 32bpp
I: setting mode 6: 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
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: Radeon X1800 Series
GL_VERSION: 2.1.7412 Release
GL_EXTENSIONS: GL_AMD_performance_monitor GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader 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_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient 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_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters 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_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc 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_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_vertex_array GL_KTX_buffer_region GL_NV_blend_square GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_WIN_swap_hint WGL_EXT_swap_control
ignoring GL_EXT_LockArrays
using GL_ARB_multitexture
using GL_EXT_texture_env_combine
GL_SGIS_multitexture not found
ignoring GL_ARB_texture_compression
using GL_EXT_texture_filter_anisotropic [16 max] [16 selected]
using GL_EXT_texture_lod_bias
using GL_EXT_stencil_wrap
using GL_EXT_fog_coord
using GL_ATI_separate_stencil
GL_EXT_stencil_two_side not found
max texture size: detected 4096
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.6
[New Thread 0xa49f1b90 (LWP 12811)]
...audio rate: 44100
...audio channels: 2
...driver: 'alsa'

--- 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)

----------- parse scripts ----------
Shared Client/Server Info loaded
... 94 items parsed
... 31 damage types parsed
... 52 map definitions parsed
... 25 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
CL_LanguageInit()... language settings are stored in configuration: de
123 static models loaded
====== UFO Initialized ======

Switch grab input off
S_Music_Start: Playing music: 'music/PsymongN3'
Loading savegame
...version: 2
...game version: 2.2
Changing to Singleplayer
Global data loaded - size 5204572 bytes
...techs: 165
...buildings: 21
...ranks: 16
...nations: 8

Load 'slot1'
...subsystem 'size' - loaded 101 bytes
...subsystem 'base' - loaded 25793 bytes
Activate stage intro
......warning: Set with no missions (stop)
...subsystem 'campaign' - loaded 290 bytes
...subsystem 'hospital' - loaded 0 bytes
...subsystem 'market' - loaded 2899 bytes
...subsystem 'research' - loaded 7882 bytes
...subsystem 'employee' - loaded 9084 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 8 bytes
...subsystem 'aircraft' - loaded 1100 bytes
...subsystem 'messagesystem' - loaded 4380 bytes
...subsystem 'stats' - loaded 28 bytes
...subsystem 'nations' - loaded 1248 bytes
...subsystem 'transfer' - loaded 86400 bytes
File 'slot1' loaded.
Changing to Singleplayer
S_Music_Start: Playing music: 'music/van_geoscape'
ufo: src/client/cl_aliencont.c:203: AL_AddAliens: Assertion `*cargo[i].alientype' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb760b6d0 (LWP 12808)]
0xb7f03410 in __kernel_vsyscall ()
(gdb) bt full
#0  0xb7f03410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7bee085 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7befa01 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb7be710e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#4  0x0805688a in AL_AddAliens (aircraft=0x11ccd38c) at src/client/cl_aliencont.c:203
i = 0
j = 0
k = 315214928
albridx = 24
tobase = (base_t *) 0x11ccce84
cargo = (aliensTmp_t *) 0x11ccd7e0
messageAlreadySet = qfalse
alienBreathing = qfalse
tech = (technology_t *) 0xffffffff
limit = qfalse
__PRETTY_FUNCTION__ = "AL_AddAliens"
#5  0x08067ee4 in CL_AircraftReturnedToHomeBase (aircraft=0x11ccd38c) at src/client/cl_basemanagement.c:3134
No locals.
#6  0x0805a9e4 in CL_CampaignRunAircraft (dt=43) at src/client/cl_aircraft.c:938
end = (float *) 0x11ccd5d4
aircraft = (aircraft_t *) 0x11ccd38c
base = (base_t *) 0x11ccce84
i = 0
j = 0
k = 1030
__PRETTY_FUNCTION__ = "CL_CampaignRunAircraft"
#7  0x0806fc7c in CL_CampaignRun () at src/client/cl_campaign.c:1618
dt = 43
day = 672
month = 0
currenthour = 7
#8  0x080a23ff in MN_DrawMenus () at src/client/cl_menu.c:3199
mi = {model = 0xb6fe121f, name = 0x11 <Address 0x11 out of bounds>, origin = 0x0, angles = 0xbff6e70c, scale = 0x15, center = 0x0, frame = 0,
  oldframe = 0, backlerp = 1.27214837e-27, skin = 0, color = 0xbff6e7b0}
pmi = {model = 0xf6e708, name = 0xbff6e760 "x\224�\022", origin = 0x11, angles = 0x0, scale = 0x0, center = 0xbff6e6bc, frame = 0, oldframe = 0,
  backlerp = 2.38220739e-44, skin = 315200632, color = 0xbff6e758}
node = (menuNode_t *) 0x8347380
menu = (menu_t *) 0x867d4d4
as = (animState_t *) 0x0
ref = 0x0
font = 0x0
anim = 0x0
source = '\0' <repeats 63 times>
sp = 1
pp = 0
item = {a = 1, m = -1, t = -1, amount = 0, rotated = 0}
color = {0.800000012, 0.800000012, 0.800000012, 1}
mouseOver = 0
y = 0
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) quit
The program is running.  Exit anyway? (y or n) y
luke86@luke86-desktop:~/Games/ufoai$

bobbens

  • Guest
Re: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« Reply #3 on: April 14, 2008, 09:44:52 pm »
I would like to know a few more things.  Does the bug happen only with that ship when you send him back (you don't send him to a mission right?).  Could you "print aircraft->alientypes" from AL_AddAliens in gdb?  Should the aircraft have dead aliens on it?

Thanks, I think I have it down, because it's very similar to a bug I had with cargo.

luke86

  • Guest
Re: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« Reply #4 on: April 14, 2008, 11:08:16 pm »
Hey,

Im not sure if there should be dead aliens on my ship, because ive saved the game yesterday.

I also cant get any information about the aircraft alien types.

Code: [Select]
ufo: src/client/cl_aliencont.c:203: AL_AddAliens: Assertion `*cargo[i].alientype' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb76616d0 (LWP 10428)]
0xb7f59410 in __kernel_vsyscall ()
(gdb) print aircraft->alientypes
No symbol "aircraft" in current context.

bobbens

  • Guest
Re: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« Reply #5 on: April 14, 2008, 11:12:04 pm »
Try setting a break and then running that.

Code: [Select]
break src/client/cl_aliencont.c:202
run
print aircraft->alientypes

Ship just leaves and comes back to base right?

Also try running afterwards:

Code: [Select]
break AL_AddAliens
run
set var aircraft->alientypes=0
continue

If it's what I'm thinking of, that should fix it, and you should be able to save your game and have it working until you trigger the bug again.  It'll be fixed in svn if my hunch is correct though.
« Last Edit: April 14, 2008, 11:22:24 pm by bobbens »

luke86

  • Guest
Re: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« Reply #6 on: April 15, 2008, 04:22:48 pm »
Hey,

Here is the output of your first idea:
Code: [Select]
luke86@luke86-desktop:~/Games/ufoai$ gdb ./ufo
GNU gdb 6.8-debian
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 "i486-linux-gnu"...
(gdb) break src/client/cl_aliencont.c:202
Breakpoint 1 at 0x805680c: file src/client/cl_aliencont.c, line 202.
(gdb) run
Starting program: /home/luke86/Games/ufoai/ufo
[Thread debugging using libthread_db enabled]

---- filesystem initialization -----
Adding game dir: ./base
Added packfile ./base/0base.pk3 (4 files)
Added packfile ./base/0maps.pk3 (461 files)
Added packfile ./base/0media.pk3 (8 files)
Added packfile ./base/0models.pk3 (1231 files)
Added packfile ./base/0music.pk3 (35 files)
Added packfile ./base/0pics.pk3 (1577 files)
Added packfile ./base/0snd.pk3 (131 files)
Added packfile ./base/0ufos.pk3 (73 files)
using /home/luke86/.ufoai/2.2/base for writing
Adding game dir: /home/luke86/.ufoai/2.2/base
execing default.cfg
execing config.cfg
execing keys.cfg

----- network initialization -------
libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1 initialized.

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

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

------- video initialization -------
[New Thread 0xb76436d0 (LWP 7616)]
SDL version: 1.2.11
I: desktop depth: 32bpp
I: setting mode 6: 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
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: Radeon X1800 Series
GL_VERSION: 2.1.7412 Release
GL_EXTENSIONS: GL_AMD_performance_monitor GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader 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_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient 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_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters 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_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc 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_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_vertex_array GL_KTX_buffer_region GL_NV_blend_square GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_WIN_swap_hint WGL_EXT_swap_control
ignoring GL_EXT_LockArrays
using GL_ARB_multitexture
using GL_EXT_texture_env_combine
GL_SGIS_multitexture not found
ignoring GL_ARB_texture_compression
using GL_EXT_texture_filter_anisotropic [16 max] [16 selected]
using GL_EXT_texture_lod_bias
using GL_EXT_stencil_wrap
using GL_EXT_fog_coord
using GL_ATI_separate_stencil
GL_EXT_stencil_two_side not found
max texture size: detected 4096
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.6
[New Thread 0xa4a29b90 (LWP 7621)]
...audio rate: 44100
...audio channels: 2
...driver: 'alsa'

--- 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)

----------- parse scripts ----------
Shared Client/Server Info loaded
... 94 items parsed
... 31 damage types parsed
... 52 map definitions parsed
... 25 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
CL_LanguageInit()... language settings are stored in configuration: de
123 static models loaded
====== UFO Initialized ======

Switch grab input off
S_Music_Start: Playing music: 'music/PsymongN3'
Loading savegame
...version: 2
...game version: 2.2
Changing to Singleplayer
Global data loaded - size 5204572 bytes
...techs: 165
...buildings: 21
...ranks: 16
...nations: 8

Load 'slot1'
...subsystem 'size' - loaded 101 bytes
...subsystem 'base' - loaded 25793 bytes
Activate stage intro
......warning: Set with no missions (stop)
...subsystem 'campaign' - loaded 290 bytes
...subsystem 'hospital' - loaded 0 bytes
...subsystem 'market' - loaded 2899 bytes
...subsystem 'research' - loaded 7882 bytes
...subsystem 'employee' - loaded 9084 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 8 bytes
...subsystem 'aircraft' - loaded 1100 bytes
...subsystem 'messagesystem' - loaded 4380 bytes
...subsystem 'stats' - loaded 28 bytes
...subsystem 'nations' - loaded 1248 bytes
...subsystem 'transfer' - loaded 86400 bytes
File 'slot1' loaded.
Changing to Singleplayer
S_Music_Start: Playing music: 'music/van_geoscape'
[Switching to Thread 0xb76436d0 (LWP 7616)]

Breakpoint 1, AL_AddAliens (aircraft=0x11ccd38c)
    at src/client/cl_aliencont.c:202
202 src/client/cl_aliencont.c: No such file or directory.
in src/client/cl_aliencont.c
(gdb) bt full
#0  AL_AddAliens (aircraft=0x11ccd38c) at src/client/cl_aliencont.c:202
i = 0
j = 0
k = 315214928
albridx = 24
tobase = (base_t *) 0x11ccce84
cargo = (aliensTmp_t *) 0x11ccd7e0
messageAlreadySet = qfalse
alienBreathing = qfalse
tech = (technology_t *) 0xffffffff
limit = qfalse
__PRETTY_FUNCTION__ = "AL_AddAliens"
#1  0x08067ee4 in CL_AircraftReturnedToHomeBase (aircraft=0x11ccd38c)
    at src/client/cl_basemanagement.c:3134
No locals.
#2  0x0805a9e4 in CL_CampaignRunAircraft (dt=4) at src/client/cl_aircraft.c:938
end = (float *) 0x11ccd5d4
aircraft = (aircraft_t *) 0x11ccd38c
base = (base_t *) 0x11ccce84
i = 0
j = 0
k = 1030
__PRETTY_FUNCTION__ = "CL_CampaignRunAircraft"
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) quit
The program is running.  Exit anyway? (y or n) y
luke86@luke86-desktop:~/Games/ufoai$

And here is the second output and it works, I can continue the Game now :) thx
Code: [Select]
luke86@luke86-desktop:~/Games/ufoai$ gdb ./ufo
GNU gdb 6.8-debian
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 "i486-linux-gnu"...
(gdb) break AL_AddAliens
Breakpoint 1 at 0x80566ec: file src/client/cl_aliencont.c, line 179.
(gdb) run
Starting program: /home/luke86/Games/ufoai/ufo
[Thread debugging using libthread_db enabled]

---- filesystem initialization -----
Adding game dir: ./base
Added packfile ./base/0base.pk3 (4 files)
Added packfile ./base/0maps.pk3 (461 files)
Added packfile ./base/0media.pk3 (8 files)
Added packfile ./base/0models.pk3 (1231 files)
Added packfile ./base/0music.pk3 (35 files)
Added packfile ./base/0pics.pk3 (1577 files)
Added packfile ./base/0snd.pk3 (131 files)
Added packfile ./base/0ufos.pk3 (73 files)
using /home/luke86/.ufoai/2.2/base for writing
Adding game dir: /home/luke86/.ufoai/2.2/base
execing default.cfg
execing config.cfg
execing keys.cfg

----- network initialization -------
libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1 initialized.

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

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

------- video initialization -------
[New Thread 0xb76eb6d0 (LWP 7709)]
SDL version: 1.2.11
I: desktop depth: 32bpp
I: setting mode 6: 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
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: Radeon X1800 Series
GL_VERSION: 2.1.7412 Release
GL_EXTENSIONS: GL_AMD_performance_monitor GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader 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_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient 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_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters 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_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc 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_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_vertex_array GL_KTX_buffer_region GL_NV_blend_square GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_WIN_swap_hint WGL_EXT_swap_control
ignoring GL_EXT_LockArrays
using GL_ARB_multitexture
using GL_EXT_texture_env_combine
GL_SGIS_multitexture not found
ignoring GL_ARB_texture_compression
using GL_EXT_texture_filter_anisotropic [16 max] [16 selected]
using GL_EXT_texture_lod_bias
using GL_EXT_stencil_wrap
using GL_EXT_fog_coord
using GL_ATI_separate_stencil
GL_EXT_stencil_two_side not found
max texture size: detected 4096
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.6
[New Thread 0xa4ad1b90 (LWP 7714)]
...audio rate: 44100
...audio channels: 2
...driver: 'alsa'

--- 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)

----------- parse scripts ----------
Shared Client/Server Info loaded
... 94 items parsed
... 31 damage types parsed
... 52 map definitions parsed
... 25 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
CL_LanguageInit()... language settings are stored in configuration: de
123 static models loaded
====== UFO Initialized ======

Switch grab input off
S_Music_Start: Playing music: 'music/PsymongN3'
Loading savegame
...version: 2
...game version: 2.2
Changing to Singleplayer
Global data loaded - size 5204572 bytes
...techs: 165
...buildings: 21
...ranks: 16
...nations: 8

Load 'slot1'
...subsystem 'size' - loaded 101 bytes
...subsystem 'base' - loaded 25793 bytes
Activate stage intro
......warning: Set with no missions (stop)
...subsystem 'campaign' - loaded 290 bytes
...subsystem 'hospital' - loaded 0 bytes
...subsystem 'market' - loaded 2899 bytes
...subsystem 'research' - loaded 7882 bytes
...subsystem 'employee' - loaded 9084 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 8 bytes
...subsystem 'aircraft' - loaded 1100 bytes
...subsystem 'messagesystem' - loaded 4380 bytes
...subsystem 'stats' - loaded 28 bytes
...subsystem 'nations' - loaded 1248 bytes
...subsystem 'transfer' - loaded 86400 bytes
File 'slot1' loaded.
Changing to Singleplayer
S_Music_Start: Playing music: 'music/van_geoscape'
set var aircraft->alientypes=0
[Switching to Thread 0xb76eb6d0 (LWP 7709)]

Breakpoint 1, AL_AddAliens (aircraft=0x11ccd38c)
    at src/client/cl_aliencont.c:179
179 src/client/cl_aliencont.c: No such file or directory.
in src/client/cl_aliencont.c
(gdb) set var aircraft->alientypes=0
(gdb) set var aircraft->alientypes=0
(gdb) continue
Continuing.
Save 'slot1'
...subsystem 'size' - saved 101 bytes
...subsystem 'base' - saved 25737 bytes
...subsystem 'campaign' - saved 290 bytes
...subsystem 'hospital' - saved 0 bytes
...subsystem 'market' - saved 2899 bytes
...subsystem 'research' - saved 7882 bytes
...subsystem 'employee' - saved 9084 bytes
...subsystem 'aliencont' - saved 0 bytes
...subsystem 'production' - saved 8 bytes
...subsystem 'aircraft' - saved 1372 bytes
...subsystem 'messagesystem' - saved 4464 bytes
...subsystem 'stats' - saved 28 bytes
...subsystem 'nations' - saved 1248 bytes
...subsystem 'transfer' - saved 86400 bytes
Campaign 'asdf' saved.
Save user settings to /home/luke86/.ufoai/2.2/base/config.cfg
[Thread 0xa4ad1b90 (LWP 7714) exited]
recursive shutdown

Program exited normally.
(gdb) quit
luke86@luke86-desktop:~/Games/ufoai$

bobbens

  • Guest
Re: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« Reply #7 on: April 15, 2008, 07:34:09 pm »
I'm considering this fixed in 2.2.1 and later.

Offline gargy2002

  • Rookie
  • ***
  • Posts: 55
    • View Profile
Re: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« Reply #8 on: April 17, 2008, 02:37:07 pm »
I had exactly the same problem. Two saves couldn't run. I shot down an UFO, saved it and when I came in to the mission, the game crashed down so I chose an another save and it works. I just played a mission twice and saved the game later.. :)
System Gutsy Gibbon..
HH 7 days to go.. :)

bobbens

  • Guest
Re: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« Reply #9 on: April 17, 2008, 07:38:33 pm »
I had exactly the same problem. Two saves couldn't run. I shot down an UFO, saved it and when I came in to the mission, the game crashed down so I chose an another save and it works. I just played a mission twice and saved the game later.. :)
System Gutsy Gibbon..
HH 7 days to go.. :)
If you still have that save, try the gdb hack.  I'm almost positive it's the same issue, but it could not be.

Offline gargy2002

  • Rookie
  • ***
  • Posts: 55
    • View Profile
Re: Linux-Ubuntu-hardy-8.04-beta "*cargo[i].alientype' failed."
« Reply #10 on: April 18, 2008, 03:01:44 am »
If you still have that save, try the gdb hack.  I'm almost positive it's the same issue, but it could not be.
It's late. I've already deleted them and now I just try to play a compiled trunk 2.3... :)