- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Greetings
I`ve faced with a strange behavior of sample_decode example in MODE_FILE_DUMP with -d3d option. If I launch this sample project under IDE (VS 2013, Debug or Release configuration, Windows 8.1) - I receive an access violation exception in D3DFrameAllocator::UnlockFrame function, on pSurface->UnlockRect line. If I launch builded sample from the command line - everything works normal.
Does anybody have any idea why this could happen?
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Mihail,
Can you provide more detailed description of the issue - version of samples, msdk ver. or share the log from system analyzer (<mediaSDK>/tools/analyzer). We have 3 models of which Dump model includes mode_file_dump function which is called by using -o option to perform decoding with YUV dump. psurface is a pointer to d3d9 memory surface and provides a handle to dump the frames. I am assuming as decoded frame are not completely unlocked when you are call dump function, hence access violation flag is raised. What is the exception message code. Are you using modified sample code or is the issue seen with default sample code?
Thanks,
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Mikhail,
We are able to replicate the issue using -o and -d3d option. Investigating on this issue, will update with a solution/workaround soon.
Thanks,
Surbhi
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi Mikail,
We are able to rootcause the issue only to d3d surface usage. Thank you for bring this to our notice. This bug currently has been escalated and we expect to fix it with our next release. As you are building application on Win 8.1 OS may I suggest using d3d11 surface in the same scenario, we verified and it works with no access violation error.
Thanks,
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Harsh Jain (Intel) wrote:
Hi Mikail,
We are able to rootcause the issue only to d3d surface usage. Thank you for bring this to our notice. This bug currently has been escalated and we expect to fix it with our next release. As you are building application on Win 8.1 OS may I suggest using d3d11 surface in the same scenario, we verified and it works with no access violation error.
Thanks,
Unfortunately, I need to provide comatibility with Windows 7/XP, so I have to use Direct3D9. Though this bug is not critical (only debug mode is affected) it will complicate my work. Is there any workaroud possible from my side?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
As issue occurs only in debug mode, only workaround would be to try and build in release mode. Agree, it will be bit complicated to work in debug mode. But, I will update once we have the fix and will share engineering version soon.
Thanks,
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thanks a lot for the assist, will wait for fix