[Mesa-dev] [Bug 76252] New: Dynamic loading/unloading of opengl32.dll results in a deadlock

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 17 00:39:35 PDT 2014


          Priority: medium
            Bug ID: 76252
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Dynamic loading/unloading of opengl32.dll results in a
          Severity: major
    Classification: Unclassified
                OS: Windows (All)
          Reporter: cgerlach42 at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 10.1
         Component: Mesa core
           Product: Mesa

I'm using llvmpipe for software rendering under windows. To switch easily
between hardware and software rendering I loaded the opengl32.dll dynamically.
Unloading the hardware OpenGL library works fine, but unloading mesa results in
a deadlock.

opengl32.dll!lp_rast_destroy(lp_rasterizer * rast) Line 948    C
opengl32.dll!llvmpipe_destroy_screen(pipe_screen * _screen) Line 439    C
opengl32.dll!stw_cleanup() Line 180    C
opengl32.dll!DllMain(HINSTANCE__ * hinstDLL, unsigned long fdwReason, void *
lpReserved) Line 168    C
opengl32.dll!__DllMainCRTStartup(void * hDllHandle, unsigned long dwReason,
void * lpreserved) Line 508    C
()    Unknown
()    Unknown
()    Unknown
QtCore4.dll!QLibraryPrivate::unload_sys() Line 157    C++
QtCore4.dll!QLibraryPrivate::unload() Line 488    C++

Setting LP_NUM_THREADS=0 workarounds this problem.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140317/9e550f81/attachment.html>

More information about the mesa-dev mailing list