[Libreoffice-bugs] [Bug 107730] CRASH when opening simple document containing shapes with OpenGL enabled

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 5 09:36:20 UTC 2017


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

--- Comment #6 from Caolán McNamara <caolanm at redhat.com> ---
The wgl dispatch table thing on windows is sort of demand loaded IIRC and
doesn't exist until at the first wglMakeCurrent (or something like that) is
called. There's a "g_bAnyCurrent" variable on that line 81 to short circuit the
case that the dispatch table hasn't been created so nothing could be current. I
guess its thread specific or something and this thread hasn't had
wglMakeCurrent called but a previous one has and so g_bAnyCurrent is true.
Maybe a std::thread_local could be used to test this theory

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170905/af451690/attachment-0001.html>


More information about the Libreoffice-bugs mailing list