Hello.
When running then NVIDIA Capture SDK(Ver 6.0) Sample NvFBCDX9NvEnc, It will crash in function Cleanup. The crash stack as below
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 20640.0x9974]
0x042c92a9 in QueryOglResource () from C:\Windows\SysWOW64\nvd3dum.dll
(gdb) bt
#0 0x042c92a9 in QueryOglResource () from C:\Windows\SysWOW64\nvd3dum.dll
#1 0x042c6129 in QueryOglResource () from C:\Windows\SysWOW64\nvd3dum.dll
#2 0x042cf5d5 in QueryOglResource () from C:\Windows\SysWOW64\nvd3dum.dll
#3 0x042c45ed in QueryOglResource () from C:\Windows\SysWOW64\nvd3dum.dll
#4 0x04219d3b in ?? () from C:\Windows\SysWOW64\nvd3dum.dll
#5 0x0419f587 in ?? () from C:\Windows\SysWOW64\nvd3dum.dll
#6 0x0423da6a in QueryOglResource () from C:\Windows\SysWOW64\nvd3dum.dll
#7 0x6a8221de in d3d9!Direct3DCreate9Ex () from C:\Windows\system32\d3d9.dll
#8 0x6a819c45 in d3d9!Direct3DCreate9Ex () from C:\Windows\system32\d3d9.dll
#9 0x6a822141 in d3d9!Direct3DCreate9Ex () from C:\Windows\system32\d3d9.dll
#10 0x6a822040 in d3d9!Direct3DCreate9Ex () from C:\Windows\system32\d3d9.dll
#11 0x6a821f47 in d3d9!Direct3DCreate9Ex () from C:\Windows\system32\d3d9.dll
#12 0x6a821e3f in d3d9!Direct3DCreate9Ex () from C:\Windows\system32\d3d9.dll
#13 0x6a821e26 in d3d9!Direct3DCreate9Ex () from C:\Windows\system32\d3d9.dll
#14 0x00403dbd in Cleanup ()
By trace source code, it crash on code g_pD3D9Device->Release();
After tracing code line by line, It found that the crash maybe caused by NvFBCDX9->NvFBCToDx9VidSetUp
. But , the Cleanup had call NvFBCDX9->NvFBCToDx9VidRelease();
Have any SOME OBJ RELEASE need call?