Package: gl-117
Version: 1.3.2-1.1
Severity: important

Running gl-117 in amd64 causes a segmentation fault, I'm not really sure if
the problem is architecture dependant or video card dependant. Just in case, my
video card is an ATI 9200, and I'm using the xorg "ati" driver.

The program dies calling gluBuild2DMipmaps (line 159 of gl.cpp), with what
appears to be a valid call, so the bug may be in libglu1-mesa. Trying to dig a
little deeper I've found that the segmentation fault is caused by a call to
strtod with a null parameter.

The file in question is src/glu/sgi/libutil/mipmap.c from the mesa source
package, the problematic function is closesFit at line 3397.

The null parameter is returned by a gl function glGetString, of which I could
not find the definition. I'm not sure, but maybe this function is implemented
in the dri api or something like that.

Anyway, it would be a good idea to have a check to prevent the libc from
segfaulting, in the strtod function.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)

Versions of packages gl-117 depends on:
ii  freeglut3                   2.4.0-5      OpenGL Utility Toolkit
ii  gl-117-data                 1.3.2-1.1    Data files for gl-117
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libgl1-mesa-glx [libgl1]    6.5.1-0.5    A free implementation of the OpenG
ii  libglu1-mesa [libglu1]      6.5.1-0.5    The OpenGL utility library (GLU)
ii  libsdl-mixer1.2             1.2.6-1.1+b1 mixer library for Simple DirectMed
ii  libsdl1.2debian             1.2.11-7     Simple DirectMedia Layer
ii  libstdc++6                  4.1.1-21     The GNU Standard C++ Library v3

gl-117 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to