Re: [GtkGLExt] Is it a bug of gtkglext?



On Fri, 2009-05-15 at 11:58 +0800, 明覺 wrote:
> On Wed, May 13, 2009 at 11:14 PM, Braden McDaniel <braden endoframe com> wrote:
> > On Wed, 2009-05-13 at 15:09 +0800, 明覺 wrote:
> >> I compiled  the example gtkglextmm program gears.cc(attached)
> >
> > There's no reason to attach source code that is part of the GtkGLExt
> > distribtion to mailing list messages.  We know where to find it. :-)
> >
> >>  to
> >> a.out, it can start and display successfully, but if i resize the
> >> window, a segmentation fault error will occur, here is the error info
> >> from valgrind. any advice to solve it? thanks
> >
> > The actual failure is happening inside of Mesa (presumably) code.
> > glXWaitX isn't reasonably close to line 659 in trunk Mesa; so you'll
> > need to track this down in the source to whatever version you're using.
> >
> > You should probably try turning up the verbosity in valgrind to see if
> > it will tell you *what* value was uninitialized; though looking at the
> > right line 659 might make that apparent.
> 
> thank you for the information, here is the ouput of valgrind, how
> could i solve it? and someone said that it's caused by video driver
> error, is that possible?

As I suggest above, inspect the source for whatever version of Mesa
you're using.  Find the variable that valgrind is claiming is
uninitialized.

-- 
Braden McDaniel <braden endoframe com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]