Bug#307992: Here is the backtrace

2007-09-20 Thread Enrico Zini
Hello,

I managed to get the backtrace.  This bug is annoying, as it means that
I cannot do any mission in the game.  I'll have to do some trading and
exploration while you have a look :)

Note that when vegastrike is in that state, killing it normally wouldn't
work.  I tried a number of signals, but SIGKILL seemed to be the only
one that did the job.


Vega Strike  
See http://www.gnu.org/copyleft/gpl.html for license details.

GOT SUBDIR ARG = 
Found data in /usr/share/games/vegastrike
Using /usr/share/games/vegastrike as data directory
Using .vegastrike.4.x as the home directory
Found MODDIR = /usr/share/games/vegastrike/mods
USING HOMEDIR : /home/enrico/.vegastrike.4.x As the home directory 
CONFIGFILE - Found a config file in home directory, using : 
/home/enrico/.vegastrike.4.x/vegastrike.config
DATADIR - No datadir specified in config file, using ; 
/usr/share/games/vegastrike
SIMULATION_ATOM: 0.07
MISSION_NAME is empty using : explore_universe.mission
running import sys
print sys.path
sys.path = 
[r/usr/share/games/vegastrike/modules/builtin/,r/usr/share/games/vegastrike/modules/,r/usr/share/games/vegastrike/bases/]
testing VS randomrunning import sys
print sys.path
['/usr/lib/python24.zip', '/usr/lib/python2.4', 
'/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', 
'/usr/lib/python2.4/lib-dynload', '/usr/local/lib/python2.4/site-packages', 
'/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', 
'/usr/lib/python2.4/site-packages/PIL', 
'/usr/lib/python2.4/site-packages/cairo', '/var/lib/python-support/python2.4', 
'/var/lib/python-support/python2.4/gtk-2.0', 
'/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode']
['/usr/share/games/vegastrike/modules/builtin/', 
'/usr/share/games/vegastrike/modules/', '/usr/share/games/vegastrike/bases/']
OpenGL Extensions supported: 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
OpenGL::GL_EXT_compiled_vertex_array unsupported
OpenGL::Accurate Fog Distance unsupported
OpenGL::Generic Texture Compression unsupported
OpenGL::S3TC Texture Compression unsupported
OpenGL::Multitexture unsupported
OpenGL::TextureCubeMapExt unsupported
OpenGL::EXTColorTable unsupported
Setting Screen to w 1024 h 768 and pitch of 4096 and 32 bpp 4 bytes per pix mode
0 joysticks were found.

The names of the joysticks are:
FactionXML:LoadXML factions.xml
xyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzwxyzw
logos/mechanistSec.png, not found


Bug#307992: More info, and a hackish patch

2007-09-19 Thread Enrico Zini
Hello,

I played what if a bit, and tried adding some safety checks to the
backtrace location in campaign_lib.py:
  
def tohex(r,g,b):
def bytehex(num):
if num  0:
import sys
print sys.stderr, OVERRIDE, num, with 0
num = 0
if num  255:
import sys
print sys.stderr, OVERRIDE, num, with 255
num = 255
def bytehex2(num):
if num10:
return chr(num+ord('0'))
else:
return chr(num+ord('a')-10)
return bytehex2(num/16)+bytehex2(num%16)
return '#'+bytehex(int(r*255))+bytehex(int(g*255))+bytehex(int(b*255))

This is what I got in the logs:

[...]
neutral_meson.png, not found
xyzwupgrading dodo.blank dumbfire_3pack_ammo 1 1 true
upgrading dodo.blank swarm_3pack_ammo 2 2 true
dot 0.956419xyzwxyzwxyzwxyzwOVERRIDE -636475304764 with 0
OVERRIDE -1900922166538 with 0
OVERRIDE -636475304764 with 0
OVERRIDE -1900922166538 with 0
OVERRIDE -636475304764 with 0
OVERRIDE -1900922166538 with 0
OVERRIDE -636475304764 with 0
OVERRIDE -1900922166538 with 0
OVERRIDE -2046153245590 with 0
xyzwSITUATION IS 1force change 0 bool False
peace
 adding 5 of Coffee cargo for 1.20449195996
 decrementing bounty to 1
reading company names 
generating cargo briefing
reading company names 
generating cargo briefing
[...]

With that patch it also doesn't crash anymore after landing from a
mission; I'm not however proposing the patch as a solution, as those
ugly values are surely coming from someplace broken.

I can't help noticing that both me and the other submitter are on amd64.


Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini [EMAIL PROTECTED]


signature.asc
Description: Digital signature
___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel

Bug#307992:

2007-07-03 Thread Andres Mejia
reopen 307992
thanks

Need to properly test bug and then close, so I'm reopening it.

-- 
Regards,
Andres Mejia


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel