用1920*1080的yuv数据在结束时 MFXClose(m_session) 提示堆异常
输出信息如下：“Windows 已在 sample_encode.exe 中触发一个断点。其原因可能是堆被损坏，这说明 sample_encode.exe 中或它所加载的任何 DLL 中有 Bug。”，VS2010 断点位置就在MFXClose(m_session)，单步调试也确实在这句提示异常；
操作系统为 WIN7 32位；
sdk版本为 2013 R2；
Intel Media SDK System Analyzer (32 bit)
The following versions of Media SDK API are supported by platform/driver:
Version Target Supported Dec Enc
1.0 HW Yes X X
1.0 SW Yes X X
1.1 HW Yes X X
1.1 SW Yes X X
1.3 HW Yes X X
1.3 SW Yes X X
1.4 HW Yes X X
1.4 SW Yes X X
1.5 HW Yes X X
1.5 SW Yes X X
1.6 HW Yes X X
1.6 SW Yes X X
1.7 HW Yes X X
1.7 SW Yes X X
Name Version State
Intel(R) HD Graphics 10.18.10.3496 Active
CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
OS: Microsoft Windows 7
From your question (google translated), I see that you are having trouble running encode sample on 1920x1080 resolution. I tried to reproduce the issue, but the sample works fine and I have used Win 7 VS 2010 in the past with similar results. I have a couple of suggestions for you:
- There is 2014 R2 version on Media SDK for clients you can download. I would first recommend you update your SDK to that.
- If you modified ANY part of the sample_encode, please send us the changes you made so that we can reproduce the issue.
- Next time, it is highly encouraged to send your questions in English so that we do not miss any details in translation.
If I missed or misunderstood your question, please let me know.
SRAVANTHI K. thanks !
I have updated my Window7 and DirectX11 from microsoft WEB;
This error does not appear;
I'm not sure this bug is caused by the Windows7 or DirectX;
The ADVAPI32.DLL and The NTDLL.DLL update from 6.1.7601.17514 to 6.1.7601.18247 when updated WIN7 and DirectX;
Does not determine whether there are other dynamic updating of the database;
I am glad you do not see the error anymore. You seem to indicate that the update ti DirectX may not be the cause afterall. If you suspect it could be something else, please run the mediasdk_system_analyzer_32.exe in the tools/ folder. It could be the graphics driver or some other aspect of the system.