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

Bug#430020: I think i've found it

Hello. I've been trying to close kinfocenter bugs upstream, and I've
tried to track down this one. I think the problem is on opengl.cpp,
around line 582:

   if (glXMakeCurrent(dpy, win, ctx)) {
        // some code
   else {
      kDebug() << "Error: glXMakeCurrent failed\n";
      glXDestroyContext(dpy, ctx);

   glXDestroyContext(dpy, ctx); <<--- crash

This path should very rarely be hit, and that should explain why it's
hard to reproduce. I'll commit the fix to kde trunk, but I don't know
what the rules are for backporting for 3.5.x (or if a new 3.5.x
release is ever going out). Can anyone else confirm that with this the
bug goes away?

Ivo Anjo

Reply to: