Xbox LIVE Indie Games
Sort Discussions: Previous Discussion Next Discussion
Page 1 of 1 (2 posts)

Hang in Shutdown of Direct3D dll

Last post 4/6/2018 6:36 PM by Gammadyne Corporation. 1 replies.
  • 1/11/2018 6:32 AM

    Hang in Shutdown of Direct3D dll


    i'm running Fall Creators updates of Windows 10 on a 64bit machine and sometimes when I open Flash/Flex programs IE will hang during shutdown. I was able to track down the problem and it seems that the Direct3D10warp.dll tries to shutdown things during DLL detach/unload (not a good idea). This is the stacktrace of the offending thread (note: at that point it's the only thread left in the process):

    02aff470 765febe9 00000a74 00000000 00000000 ntdll!ZwWaitForSingleObject+0xc
    02aff4e4 66ec991d 00000a74 ffffffff 00000000 KERNELBASE!WaitForSingleObjectEx+0x99
    02aff958 63f159f6 00000a74 ffffffff 0ae3b100 KERNELBASE!WaitForSingleObject+0x12
    02aff9ac 63ce95d8 00000000 151fc058 00000001 d3d10warp!ThreadPool::WaitWhileBusy+0xe6
    02aff9cc 63c91327 3c9fe0ce 00000000 02affa6c d3d10warp!UMDevice::DestroyThreadPoolsOnDllDetach+0x38
    02affa04 640c6877 63c60000 00000000 00000001 d3d10warp!DllMain+0x167
    02affa44 640c696e 63c60000 00000000 00000001 d3d10warp!dllmain_dispatch+0x70
    02affa58 7387f320 63c60000 00000000 00000001 d3d10warp!_DllMainCRTStartup+0x1e
    02affab4 76f5e726 63c60000 00000000 00000001 IEShims!CShimBindings::s_DllMainHook+0x110
    02affad4 76f2cbef 7387f210 63c60000 00000000 ntdll!LdrxCallInitRoutine+0x16
    02affb20 76f2792c 00000000 00000001 2fe8aa2e ntdll!LdrpCallInitRoutine+0x7f
    02affbc0 76f579cc 069b0c4c 069b0c50 069b0c50 ntdll!LdrShutdownProcess+0xfc
    02affc9c 73b33bd2 00000000 77e8f3b0 ffffffff ntdll!RtlExitUserProcess+0xbc
    02affcb0 75ee5bee 00000000 02affd04 75ee6165 kernel32!ExitProcessImplementation+0x12
    02affcbc 75ee6164 00000000 2d1b0552 00000000 msvcrt!__crtExitProcess+0x17
    02affd04 75ee61a1 00000000 00000000 00000000 msvcrt!_unlockexit+0x173
    02affd18 0034361b 00000000 58dc9bba 003436d0 msvcrt!exit+0x11
    02affda0 73b38654 0291c000 73b38630 2b5419d0 iexplore!__wmainCRTStartup+0x168
    02affdb4 76f54a47 0291c000 2fe8ac12 00000000 kernel32!BaseThreadInitThunk+0x24
    02affdfc 76f54a17 ffffffff 76f79ee8 00000000 ntdll!__RtlUserThreadStart+0x2f
    02affe0c 00000000 003436d0 0291c000 00000000 ntdll!_RtlUserThreadStart+0x1b

    has anyone else encountered this problem? 

  • 4/6/2018 6:36 PM In reply to

    Re: Hang in Shutdown of Direct3D dll

    Yeah, I occasionally see the same thing.  Win10 64-bit.  Think it may involve an MSHTML embedded window somehow.  ExitProcess() hangs and the thread is at d3d10warp.dll 58b05b36
Page 1 of 1 (2 posts) Previous Discussion Next Discussion