https://bugs.documentfoundation.org/show_bug.cgi?id=93867

            Bug ID: 93867
           Summary: using GL threads across threads incorrectly ...
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: [email protected]
          Reporter: [email protected]

The unit tests threw up this nice one:

info:vcl.opengl:1052:3204:vcl/source/opengl/OpenGLHelper.cxx:701: Attaching
texture 14 to framebuffer 1- no GL context
info:vcl.opengl:1052:3204:vcl/source/opengl/OpenGLHelper.cxx:701:
~OpenGLTexture 14- no GL context
info:vcl.opengl:1052:3204:vcl/source/opengl/OpenGLHelper.cxx:701: ::drawRect-
no GL context
info:vcl.opengl:1052:3204:vcl/source/opengl/OpenGLHelper.cxx:701: OpenGLTexture
14 1x1 allocate- no GL context
info:vcl.opengl:1052:3204:vcl/source/opengl/OpenGLHelper.cxx:701: Attaching
texture 14 to framebuffer 1- no GL context
info:vcl.opengl:1052:3204:vcl/source/opengl/OpenGLHelper.cxx:701:
~OpenGLTexture 13- no GL context
info:vcl.opengl:1052:3204:vcl/source/opengl/OpenGLHelper.cxx:701:
~OpenGLTexture 14- no GL context
info:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:701: ::drawRect
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLContext.cxx:1353:
OpenGLContext::makeCurrent(): wglMakeCurrent failed: 170
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:430: GL Error
#1282(invalid operation) in File C:/sources/master/vcl/opengl/gdiimpl.cxx at
line: 176
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:430: GL Error
#1282(invalid operation) in File C:/sources/master/vcl/opengl/gdiimpl.cxx at
line: 176
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:430: GL Error
#1282(invalid operation) in File C:/sources/master/vcl/opengl/gdiimpl.cxx at
line: 176
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:430: GL Error
#1282(invalid operation) in File C:/sources/master/vcl/opengl/gdiimpl.cxx at
line: 176
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:430: GL Error
#1282(invalid operation) in File C:/sources/master/vcl/opengl/gdiimpl.cxx at
line: 176
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:430: GL Error
#1282(invalid operation) in File C:/sources/master/vcl/opengl/gdiimpl.cxx at
line: 176
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:430: GL Error
#1282(invalid operation) in File C:/sources/master/vcl/opengl/gdiimpl.cxx at
line: 176
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:430: GL Error
#1282(invalid operation) in File C:/sources/master/vcl/opengl/gdiimpl.cxx at
line: 176
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:437: Breaking
potentially recursive glGetError loop

The key lines are:

info:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:701: ::drawRect
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLContext.cxx:1353:
OpenGLContext::makeCurrent(): wglMakeCurrent failed: 170
warn:vcl.opengl:1052:4396:vcl/source/opengl/OpenGLHelper.cxx:430: GL Error
#1282(invalid operation) in File C:/sources/master/vcl/opengl/gdiimpl.cxx at
line: 176

Which shows we have switched thread happily - without (apparently) releasing
the GL context properly - which is bad (TM).

This happens in CppuniTest_sc_filters_test - amusingly. In theory we have code
for releasing the context here so ...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to