pioneerspacesim/pioneer — Issue #1002: Segfault at 13.7bn years
Author: Brianetta
Created: 2012-02-22 09:27:29+00:00
State: open
Labels: Crash or hang

This machine has no shaders support; both shades and AA are disabled in the config.

Version:

```
commit 73aa2f1d8b4ff970632dc27286a6290b24ac1cd4
Author: Robert Norris
Date: Wed Feb 22 19:24:32 2012 +1100
```
(master branch at 73aa2f1d8b4ff970632dc27286a6290b24ac1cd4)

Output and backtrace:

```
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /home/TCNTS1/brianr/pioneer/src/pioneer...done.
(gdb) run
Starting program: /home/TCNTS1/brianr/pioneer/src/pioneer
[Thread debugging using libthread_db enabled]
SDL_GetVideoInfo says 32 bpp
Failed to set video mode. (Couldn't find matching GLX visual). Re-trying without multisampling.
Requested AA mode: 2x, actual: 0x
OpenGL system information saved to /home/TCNTS1/brianr/.pioneer/opengl.txt
GLSL shaders on.
Rebuilding model cache...
REMEMBER TO PORT ship6model!!!
If you see Error IMG_Load below, delete your ~/.pioneer/model_cache folder.
ShipType: 30 ships with tag 'ship'
ShipType: 2 ships with tag 'static_ship'
ShipType: 4 ships with tag 'missile'
[New Thread 0xb5a27b70 (LWP 6200)]
[New Thread 0xb1225b70 (LWP 6201)]
[Thread 0xb1225b70 (LWP 6201) exited]
[New Thread 0xb1225b70 (LWP 6202)]

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x081c0ea3 in BufferBase (this=0x88afe30, mesh=0xb088fa0)
at RendererGLBuffers.h:41
#2 VertexBuffer (this=0x88afe30, mesh=0xb088fa0) at RendererGLBuffers.h:92
#3 UnlitVertexBuffer (this=0x88afe30, mesh=0xb088fa0)
at RendererGLBuffers.h:156
#4 Graphics::RendererLegacy::BufferStaticMesh (this=0x88afe30, mesh=0xb088fa0)
at RendererLegacy.cpp:580
#5 0x081c26aa in Graphics::RendererLegacy::DrawStaticMesh (this=0x88afe30,
t=0xb088fa0) at RendererLegacy.cpp:431
#6 0x08050f85 in Background::Container::Draw (this=0xb094888,
renderer=0x88afe30, transform=...) at Background.cpp:240
#7 0x080ff51c in draw_intro () at Pi.cpp:883
#8 Pi::Start () at Pi.cpp:1160
#9 0x0819bc55 in main (argc=1) at main.cpp:18
```

opengl.txt:

```
OpenGL version 1.4 Mesa 7.7.1, running on Tungsten Graphics, Inc Mesa DRI Intel(R) G33 GEM 20091221 2009Q4 x86/MMX/SSE2
Available extensions:
GL_EXT_compiled_vertex_array
GL_EXT_texture_env_add
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_shading_language_120
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_copy_texture
GL_EXT_draw_range_elements
GL_EXT_framebuffer_blit
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_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_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_texture_env_combine4
GL_NV_texture_rectangle
GL_NV_texgen_reflection
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
```