celestia crashes with many planets

Report bugs, bug fixes and workarounds here.
Topic author
Nithilher
Posts: 3
Joined: 26.09.2004
With us: 20 years 2 months

celestia crashes with many planets

Post #1by Nithilher » 26.09.2004, 14:03

Hi and first of all: celestia is an awesome peace of software!!

Unfortunately, I experience lots of crashes with celestia 1.3.2. Examples:
Goto Uranus
Goto Neptune
Going around Mars (e.g. Mars Fly-By)

No error messages, no useful debug output, simply segmentation fault.

Further details: I can go to Mars, but when I try to turn around Mars such that I can see its back side, I can do this almost through, but as soon as I would get round to see part of the front side again, celestia crashes.

I can go to Uranus, if I switch off ring shadows in the Options Menu, but then the crash occurs a little bit later, namely when trying to move around Uranus or to turn round Uranus itself (like Mars).

I run SuSE 9.1 | KDE 3.2.1 | QT 3.3.1 | XFree 4.3.99 | kernel 2.6.5-7.108 (all packages are the most recent updates from SuSE).

My system is an IBM Thinkpad T42p with Dothan 2GHz CPU, 1 GB RAM and ATI FireGL T2 graphics card with 128 MB Video Memory. I use the SuSE version of the ATI linux graphics driver 3.11.1.

Other OpenGL apps work fine (screensavers, PoolBilliard, GL-Chess, ...)

Some further comments:
The Linux drivers from ATI support, at best, OpenGL 1.3. It is not possible to run celestia, when the ARB_vertex_program extension is enabled. This crashes celestia immediately at startup, although the graphics card definitely supports this extension (see below). I can use celestia, when I disable ARB_vertex_program in the celestia.cfg, but the above mentioned crashes with planets remain. Running it with software rendering works fine, but is - of course - very slow. It is worth mentioning that celestia cannot be run with the OpenGL library /usr/X11R6/lib/libGL.so.1.2 supplied with the ATI driver, one has to force celestia to use the original one supplied with the standard SuSE XFree rpms, which I keep on my system under /usr/lib/libGL.so.1.2. Thus, I always have to start celestia with
"env LD_LIBRARY_PATH=/usr/lib celestia" to make it work at all. This I somwhow expected because other apps using QT and OpenGL are known to have difficulties with the fglrx version of libGL.so.1.2

I provide output of glxinfo: "glxinfo"

Code: Select all

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY FIREGL T2 Pentium 4 (SSE2) (FireGL) (GNU_ICD)
OpenGL version string: 1.3 (X4.3.0-3.11.1)
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
    GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_imaging, GL_ARB_multisample,
    GL_ARB_occlusion_query, GL_ARB_point_parameters, 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_mirrored_repeat, GL_ARB_transpose_matrix,
    GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program,
    GL_ARB_window_pos, GL_ATI_draw_buffers, GL_ATI_element_array,
    GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_map_object_buffer,
    GL_ATI_separate_stencil, GL_ATI_texture_env_combine3,
    GL_ATI_texture_float, GL_ATI_texture_mirror_once,
    GL_ATI_vertex_array_object, GL_ATI_vertex_attrib_array_object,
    GL_ATI_vertex_streams, GL_ATIX_texture_env_combine3,
    GL_ATIX_texture_env_route, GL_ATIX_vertex_shader_output_point_size,
    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_clip_volume_hint,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, 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_texgen_reflection, GL_EXT_texture3D,
    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_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_texgen_reflection,
    GL_NV_blend_square, GL_NV_occlusion_query, GL_ARB_point_sprite,
    GL_SGI_color_matrix, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_lod,
    GL_SGIS_generate_mipmap, GL_SGIS_multitexture, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 None
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None


Now the output of glxinfo with the Mesa version of libGL.so.1.2: "env LD_LIBRARY_PATH=/usr/lib glxinfo"

Code: Select all

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_EXT_import_context, GLX_EXT_visual_info,
    GLX_EXT_visual_rating
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY FIREGL T2 Pentium 4 (SSE2) (FireGL) (GNU_ICD)
OpenGL version string: 1.3 (X4.3.0-3.11.1)
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
    GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_imaging, GL_ARB_multisample,
    GL_ARB_occlusion_query, GL_ARB_point_parameters, 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_mirrored_repeat, GL_ARB_transpose_matrix,
    GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program,
    GL_ARB_window_pos, GL_ATI_draw_buffers, GL_ATI_element_array,
    GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_map_object_buffer,
    GL_ATI_separate_stencil, GL_ATI_texture_env_combine3,
    GL_ATI_texture_float, GL_ATI_texture_mirror_once,
    GL_ATI_vertex_array_object, GL_ATI_vertex_attrib_array_object,
    GL_ATI_vertex_streams, GL_ATIX_texture_env_combine3,
    GL_ATIX_texture_env_route, GL_ATIX_vertex_shader_output_point_size,
    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_clip_volume_hint,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, 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_texgen_reflection, GL_EXT_texture3D,
    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_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_texgen_reflection,
    GL_NV_blend_square, GL_NV_occlusion_query, GL_ARB_point_sprite,
    GL_SGI_color_matrix, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_lod,
    GL_SGIS_generate_mipmap, GL_SGIS_multitexture, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None


Here is output of any attempt to start celestia with the ATI fglrx version of libGL.so.1.2, running with "env LIBGL_DEBUG=1 celestia"

Code: Select all

fglrx: libGL version undetermined - OpenGL module is using glapi fallback
nStars: 112524
GL User Error: calling glGetString(0x1f03); without a current context
GL User Error: calling glGenTextures(1, 0x82c1534); without a current context
GL User Error: calling ; without a current context
GL User Error: calling glGetString(0x1f03); without a current context
GL User Error: calling glGetString(0x1f03); without a current context
GL User Error: calling glGetString(0x1f03); without a current context
GL User Error: calling glEnable(0xde1); without a current context
GL User Error: calling ; without a current context
GL User Error: calling ; without a current context
GL User Error: calling glGetTexParameterfv(0xde1, 0x813d, 0xbfffe5bc); without a
 current context
GL User Error: calling glDisable(0xde1); without a current context
GL User Error: calling glGetIntegerv(0xd33, 0x8194b68); without a current context
GL User Error: calling ; without a current context
GL User Error: calling ; without a current context
GL User Error: calling ; without a current context
GL User Error: calling ; without a current context
GL User Error: calling glGetString(0x1f02); without a current context
celestia: ERROR: Communication problem with celestia, it probably crashed.
KCrash: Application 'celestia' crashing...


The output is the same, whether ARB_vertex_program is enabled or not.
Running celestia with theoriginal SuSE libGL.so.1.2 yields no debug output other than

Code: Select all

fglrx: libGL version undetermined - OpenGL module is using glapi fallback


If I can provide more information, I am happy to do so, but please let me know, what precisely I could do to further pin down the problem. I finally add that the behaviour war more or less the same with celestia 1.3.1 as it came with SuSE 9.1, while I compiled 1.3.2 myself.

Nithilher
Pentium M Dothan 2 GHz * 1GB RAM * ATI FireGL T2 128 MB
SuSE 9.1 * kernel 2.6.5-7.108 * XFree 4.3.99 fglrx 3.11.1

Topic author
Nithilher
Posts: 3
Joined: 26.09.2004
With us: 20 years 2 months

Post #2by Nithilher » 29.09.2004, 13:29

Sorry for replying to my own post.

I tried to investigate a bit further. celestia 1.3.1 runs stable and does not crash at all (except when quitting, which has been described before elsewhere and doesn't bother me too much). What is annoying, however, is that the bookmarks don't work at all on my system. Neither from the toolbar shortcuts nor from the bookmark manager. If I paste a bookmark in the pop-up window I get when I choose "go to url ...", nothing happens. I should add that the bookmark problem persists when I use a self-compiled version instead of the rpm from SuSE 9.1.

On the other hand, celestia 1.3.2, crashes at almost all planets or moons -- sooner or later. Its bookmarks work, but that doesn't help too much since it so often crashes. The KDE crash handler cannot backtrace the segfault, "strace -f" also doen'T give a clue. I could try to let celestia ignore various of my GL-extensions (I already have to ignore ARB_vertex_program), but since there are so many, a hint where to start would be most appreciated.

Any help?
Pentium M Dothan 2 GHz * 1GB RAM * ATI FireGL T2 128 MB

SuSE 9.1 * kernel 2.6.5-7.108 * XFree 4.3.99 fglrx 3.11.1


Return to “Bugs”