https://bugs.freedesktop.org/show_bug.cgi?id=76252
Priority: medium Bug ID: 76252 Assignee: mesa-dev@lists.freedesktop.org Summary: Dynamic loading/unloading of opengl32.dll results in a deadlock Severity: major Classification: Unclassified OS: Windows (All) Reporter: cgerlac...@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. Stacktrace: 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 ntdll.dll!LdrpUnloadDll() Unknown ntdll.dll!LdrUnloadDll() Unknown KernelBase.dll!FreeLibrary() 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.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev