Bug#441765: sauerbraten: segfaults with on intel xorg OpenGL drivers

Paul Wise pabs at debian.org
Tue Sep 11 01:44:45 UTC 2007


Package: sauerbraten 
Version: 0.0.20070819.dfsg-1
Severity: normal

When I run sauerbraten, it makes the screen black for a few seconds,
then segfaults. When I run it in gdb, it doesn't segfault, but it
doesn't respond either, so I can't get back to my desktop without going
to a console and killing it manually (which is scary for me because I've
experienced X crashes doing that with other apps). Turning off shaders
(-f 0) prevents the segfault though and makes the game work OK (slow
though, but that is just the GPU). It should probably detect if shaders
are available before using them. I'm using an intel graphics card:

lspci:

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)

lspci -n:

00:02.0 0300: 8086:27a2 (rev 03)

Program output:

$ sauerbraten 
init: sdl
init: enet
init: video: mode
init: video: misc
init: gl
Renderer: Mesa DRI Intel(R) 945GM 20061017 x86/MMX/SSE2 (Tungsten Graphics, Inc)
Driver: 1.3 Mesa 7.0.1
WARNING: Using floating point vertexes. (use "/floatvtx 0" to disable)
Rendering using the OpenGL 1.5 assembly shader path.
WARNING: No occlusion query support! (large maps may be SLOW)
WARNING: No framebuffer object support. (reflective water may be slow)
WARNING: Non-power-of-two textures not supported!
COMPILE ERROR (VS:caustic) - Unknown token in parse_src_reg
!!ARBvp1.0
    OPTION ARB_position_invariant;
    ATTRIB opos = vertex.position; 

        DP3 result.texcoord[0].x, opos, state.texgen.object.s;
        DP3 result.texcoord[0].y, opos, state.texgen.object.t;
        
    TEMP fogplane;
    MAD fogplane, state.matrix.modelview.row[2], program.env[8], program.env[9];
    DP4 result.fogcoord, -opos, fogplane;

        END

<snip tons and tons of non-printable junk>

    OPTION ARB_position_invariant;
    ATTRIB opos = vertex.position; 

        DP3 result.texcoord[0].x, opos, state.texgen.object.s;
        DP3 result.texcoord[0].y, opos, state.texgen.object.t;
        
    TEMP fogplane;
    MAD fogplane, state.matrix.modelview.row[2], program.env[8], program.env[9];
    DP4 result.fogcoord, -opos, fogplane;

        END
        Segmentation fault

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sauerbraten depends on:
ii  libc6                   2.6.1-2          GNU C Library: Shared libraries
ii  libgcc1                 1:4.2.1-5        GCC support library
ii  libgl1-mesa-glx [libgl1 7.0.1-2          A free implementation of the OpenG
ii  libglu1-mesa [libglu1]  7.0.1-2          The OpenGL utility library (GLU)
ii  libsdl-image1.2         1.2.6-1          image loading library for Simple D
ii  libsdl-mixer1.2         1.2.6-3          mixer library for Simple DirectMed
ii  libsdl1.2debian         1.2.11-9         Simple DirectMedia Layer
ii  libstdc++6              4.2.1-5          The GNU Standard C++ Library v3
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  sauerbraten-data        0.0.20070819-1   Game content for the Sauerbraten g
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20070911/ac66e5fc/attachment.pgp 


More information about the Pkg-games-devel mailing list