<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Dynamic loading/unloading of opengl32.dll results in a deadlock"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76252#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Dynamic loading/unloading of opengl32.dll results in a deadlock"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76252">bug 76252</a>
              from <span class="vcard"><a class="email" href="mailto:cgerlach42@gmail.com" title="cgerlach42@gmail.com">cgerlach42@gmail.com</a>
</span></b>
        <pre>I set LP_NUM_THREADS=1 to reduce the number of stracktraces and used Mesa 10.1
with llvm 3.4. If you need more information or something I should test, please
feel free to ask.

Thread 1:
     ntdll.dll!NtWaitForSingleObject()    Unknown
     KernelBase.dll!WaitForSingleObjectEx()    Unknown
     opengl32.dll!lp_rast_destroy(lp_rasterizer * rast=0x000000000035ee90) Line
948    C
     opengl32.dll!llvmpipe_destroy_screen(pipe_screen *
_screen=0x000007fedbc18c70) Line 439    C
     opengl32.dll!stw_cleanup() Line 180    C
     opengl32.dll!DllMain(HINSTANCE__ * hinstDLL=0x000007fe00000003, unsigned
long fdwReason=24, void * lpReserved=0x000000000034de00) Line 168    C
     opengl32.dll!__DllMainCRTStartup(void * hDllHandle=0x000007fedaac0000,
unsigned long dwReason=0, void * lpreserved=0x0000000000000000) 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++
<span class="quote">>        TomGRT-test_unload.exe!main(int __formal=0, char * * __formal=0x01cf4983fe91acb2) Line 18       C++</span >
     TomGRT-test_unload.exe!__tmainCRTStartup() Line 536    C
     kernel32.dll!BaseThreadInitThunk()    Unknown
     ntdll.dll!RtlUserThreadStart()    Unknown

Thread 2:
<span class="quote">>        ntdll.dll!NtWaitForSingleObject()      Unknown</span >
     ntdll.dll!RtlpWaitOnCriticalSection()    Unknown
     ntdll.dll!RtlEnterCriticalSection()    Unknown
     ntdll.dll!LdrShutdownThread()    Unknown
     ntdll.dll!RtlExitUserThread()    Unknown
     msvcr110.dll!_endthreadex(unsigned int retcode=0) Line 408    C
     msvcr110.dll!_callthreadstartex() Line 354    C
     msvcr110.dll!_threadstartex(void * ptd=0x000000000035f020) Line 332    C
     kernel32.dll!BaseThreadInitThunk()    Unknown
     ntdll.dll!RtlUserThreadStart()    Unknown</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>