Comment 4 for bug 19890

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 28 Jul 2005 23:52:16 +0200
From: Petter Reinholdtsen <email address hidden>
To: <email address hidden>
Subject: Re: conquest-gl: fail to start (Assertion `window->Window.VisualInfo != ((void *)0)'
 failed.)

Package: conquest-gl
Version: 8.1-2
Severity: grave
Justification: renders package unusable

When I try to start conquestgl on my sarge installation, I only get an
assertion error. This render the package completely useless. As I
suspect this will be the case for all users of the package, I set the
severity to grave. If it works for others, please lover the severity
to important or normal.

This it the output I get:

  % conquestgl
  conquestgl: freeglut_window.c:300: fgOpenWindow: Assertion
    `window->Window.VisualInfo != ((void *)0)' failed.
  Abort (SIGABRT)
  %

Running it in gdb give me this backtrace:

  (gdb) bt
  #0 0x404c683b in raise () from /lib/tls/libc.so.6
  #1 0x404c7fa2 in abort () from /lib/tls/libc.so.6
  #2 0x404c02df in __assert_fail () from /lib/tls/libc.so.6
  #3 0x40198523 in fgOpenWindow () from /usr/lib/libglut.so.3
  #4 0x40196d69 in fgCreateWindow () from /usr/lib/libglut.so.3
  #5 0x40198674 in glutCreateWindow () from /usr/lib/libglut.so.3
  #6 0x40032b42 in uiGLInit () from /usr/lib/libUiGL.so.1
  #7 0x080494a1 in ?? ()
  #8 0xbffff840 in ?? ()
  #9 0xbffff8c4 in ?? ()
  #10 0x08049c01 in _IO_stdin_used ()
  #11 0x08048ae5 in _init ()
  #12 0x404b3974 in __libc_start_main () from /lib/tls/libc.so.6
  #13 0x08048d11 in ?? ()

Running it in valgrind to now show any interesting messages. I
include the end of the strace as well at the end.

In case this has anything to do with my OpenGL support, here is the
output from glxinfo. I do get glxgears and most other OpenGL
applications working, so I believe the OpenGL support should be OK.

% glxinfo
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_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: VA Linux, Inc
OpenGL renderer string: Mesa DRI Intel(R) 830M 20021115
OpenGL version string: 1.2 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_transpose_matrix, 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_convolution, GL_EXT_compiled_vertex_array, GL_EXT_fog_coord,
    GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_polygon_offset,
    GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_texture3D,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_object,
    GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_IBM_rasterpos_clip,
    GL_MESA_window_pos, GL_NV_texgen_reflection, GL_SGI_color_matrix,
    GL_SGI_color_table
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
----------------------------------------------------------------------
0x22 16 tc 1 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x23 16 tc 1 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x24 16 tc 1 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x25 16 tc 1 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x26 16 tc 1 16 0 r y . 5 6 5 0 0 16 0 16 16 16 16 0 0 Slow
0x27 16 tc 1 16 0 r . . 5 6 5 0 0 16 0 16 16 16 16 0 0 Slow
0x28 16 tc 1 16 0 r y . 5 6 5 0 0 16 8 16 16 16 16 0 0 Slow
0x29 16 tc 1 16 0 r . . 5 6 5 0 0 16 8 16 16 16 16 0 0 Slow
%

This is the last 50 lines from strace:

write(3, "\200\4\2\0\0\0\0\0", 8) = 8
read(3, "\1\245\16\0\1\0\0\0\1\0\0\0\3\0\0\0\0\0\0\0\4\0\0\0\300"..., 32) = 32
readv(3, [{"i830", 4}, {"", 0}], 2) = 4
write(3, "\221\16\2\0\0\0\0\0", 8) = 8
read(3, "\1\0\17\0\0\1\0\0\10\0\0\0 \0\0\0\30\0\0\0\250\245\336"..., 32) = 32
read(3, "\"\0\0\0\4\0\0\0\1\0\0\0\5\0\0\0\6\0\0\0\5\0\0\0\0\0\0"..., 128) = 128
read(3, "#\0\0\0\4\0\0\0\1\0\0\0\5\0\0\0\6\0\0\0\5\0\0\0\0\0\0\0"..., 128) = 128
read(3, "$\0\0\0\4\0\0\0\1\0\0\0\5\0\0\0\6\0\0\0\5\0\0\0\0\0\0\0"..., 128) = 128
read(3, "%\0\0\0\4\0\0\0\1\0\0\0\5\0\0\0\6\0\0\0\5\0\0\0\0\0\0\0"..., 128) = 128
read(3, "&\0\0\0\4\0\0\0\1\0\0\0\5\0\0\0\6\0\0\0\5\0\0\0\0\0\0\0"..., 128) = 128
read(3, "\'\0\0\0\4\0\0\0\1\0\0\0\5\0\0\0\6\0\0\0\5\0\0\0\0\0\0"..., 128) = 128
read(3, "(\0\0\0\4\0\0\0\1\0\0\0\5\0\0\0\6\0\0\0\5\0\0\0\0\0\0\0"..., 128) = 128
read(3, ")\0\0\0\4\0\0\0\1\0\0\0\5\0\0\0\6\0\0\0\5\0\0\0\0\0\0\0"..., 128) = 128
write(3, "\200\1\2\0\0\0\0\0", 8) = 8
read(3, "\1\0\20\0\0\0\0\0\1\0\0\0\0\0\0\0\1\0\0\0\30\0\0\0\300"..., 32) = 32
write(3, "\200\2\2\0\0\0\0\0", 8) = 8
read(3, "\1\245\21\0\3\0\0\0\0\200@\320\0\0\0\0\t\0\0\0\30\0\0\0"..., 32) = 32
readv(3, [{"PCI:0:2:0", 9}, {"\0\0\0", 3}], 2) = 12
geteuid32() = 10001
stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
stat64("/dev/dri/card0", {st_mode=S_IFCHR|0666, st_rdev=makedev(226, 0), ...}) = 0
open("/dev/dri/card0", O_RDWR) = 4
ioctl(4, DECODER_GET_CAPABILITIES, 0xbffff1e0) = 0
ioctl(4, DECODER_GET_CAPABILITIES, 0xbffff1e0) = 0
ioctl(4, DECODER_GET_STATUS or DEVFSDIOC_SET_EVENT_MASK, 0xbffff21c) = 0
ioctl(4, DEVFSDIOC_GET_PROTO_REV, 0x8051df0) = 0
ioctl(4, DEVFSDIOC_GET_PROTO_REV, 0x8051df0) = 0
write(3, "\200\v\3\0\0\0\0\0\16\0\0\0", 12) = 12
read(3, "\1\245\22\0\0\0\0\0\1\0\0\0eIB\10\300-\5\t\30\0\0\0\300"..., 32) = 32
write(3, "\200\4\2\0\0\0\0\0", 8) = 8
read(3, "\1\245\23\0\1\0\0\0\1\0\0\0\3\0\0\0\0\0\0\0\4\0\0\0\300"..., 32) = 32
readv(3, [{"i830", 4}, {"", 0}], 2) = 4
write(3, "\200\n\2\0\0\0\0\0", 8) = 8
read(3, "\1\245\24\0\36\0\0\0\0\0\0\340\0\0\0\0\0\0\0\0\0\0\30\0"..., 32) = 32
read(3, "\0\0\0\320\0\0\10\0\0\0\0\0\0\0\30\0\0\0\300\347\0\0\30"..., 120) = 120
mmap2(NULL, 1572864, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0xe0000) = 0x4086f000
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0xd0408) = 0x409ef000
write(3, "\200\0\1\0", 4) = 4
read(3, "\1\0\25\0\0\0\0\0\4\0\1\0\0\0\0\0\1\0\0\0\30\0\0\0\300"..., 32) = 32
ioctl(4, 0x6448, 0) = 0
mmap2(NULL, 1572864, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0xe7c00) = 0x409f1000
mmap2(NULL, 1572864, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0xe7a00) = 0x40b71000
mmap2(NULL, 25690112, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0xe0346) = 0x40cf1000
ioctl(4, 0xc008644c, 0xbffff200) = 0
write(2, "conquestgl: freeglut_window.c:30"..., 110conquestgl: freeglut_window.c:300: fgOpenWindow: Assertion `window->Window.VisualInfo != ((void *)0)' failed.
) = 110
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(1339, 1339, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=nb_NO, LC_CTYPE=nb_NO (charmap=ISO-8859-1)

Versions of packages conquest-gl depends on:
ii conquest-data 8.1-2 a real-time, multi-player space wa
ii conquest-libs 8.1-2 a real-time, multi-player space wa
ii freeglut3 2.2.0-8 OpenGL Utility Toolkit
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libice6 4.3.0.dfsg.1-14 Inter-Client Exchange library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libsm6 4.3.0.dfsg.1-14 X Window System Session Management
ii libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-14 X Window System miscellaneous exte
ii libxi6 4.3.0.dfsg.1-14 X Window System Input extension li
ii libxmu6 4.3.0.dfsg.1-14 X Window System miscellaneous util
ii libxt6 4.3.0.dfsg.1-14 X Toolkit Intrinsics
ii xlibmesa-gl [libgl1] 4.3.0.dfsg.1-14 Mesa 3D graphics library [XFree86]
ii xlibmesa-glu [libglu1] 4.3.0.dfsg.1-14 Mesa OpenGL utility library [XFree
ii xlibs 4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information