Re: [Dri-devel] libGL(U?) problem

2002-02-20 Thread Brian Paul
Gareth Hughes wrote: > > Brian Paul wrote: > > > > OK, it looks like the templatized code for texture image conversion is > > the problem. It's using the CONVERT_TEXEL_DWORD macro even when the > > texture width is one, causing an out-of-bounds write. > > > > I'll fix this up, Gareth :) > > Hmm

Re: [Dri-devel] libGL(U?) problem

2002-02-20 Thread Gareth Hughes
Brian Paul wrote: > > OK, it looks like the templatized code for texture image conversion is > the problem. It's using the CONVERT_TEXEL_DWORD macro even when the > texture width is one, causing an out-of-bounds write. > > I'll fix this up, Gareth :) Hmmm, looks like my assumption that allocat

Re: [Dri-devel] libGL(U?) problem

2002-02-20 Thread Brian Paul
Robin Redeker wrote: > > On Wed, Feb 20, 2002 at 09:08:22AM -0700, Brian Paul wrote: > > Robin Redeker wrote: > [.snip-snap.] > > > > Could you link your app with "electric fence" (-lefence) and see if > > it detects the out-of-bounds write? > > > > -Brian > > Heh, it crashes earlier when linkin

Re: [Dri-devel] libGL(U?) problem

2002-02-20 Thread Brian Paul
Robin Redeker wrote: > > Hi, > > i am just writing on a Gtk-application which uses > the GtkGLWidget for displaying OpenGL stuff. > When using the DRI-OpenGL-library which is delivered with > Xfree 4.1.0 and too tested with xfree 4.2.0, the programm crashes. > With a memory-debugger its saying "

[Dri-devel] libGL(U?) problem

2002-02-20 Thread Robin Redeker
Hi, i am just writing on a Gtk-application which uses the GtkGLWidget for displaying OpenGL stuff. When using the DRI-OpenGL-library which is delivered with Xfree 4.1.0 and too tested with xfree 4.2.0, the programm crashes. With a memory-debugger its saying "memory clobbered past end of allocate