Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
6.3.1
Description
Memory usage and a number of handles keep increasing when MediaPlayer.source is repeatedly set and played over and over.
If you keep running, the app crashes for heap_corruption at some point.
This kind of errors are output.
Exception at 0x7fffa3144fd9, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in EVR!MFCreateVideoOTA
Exception at 0x7fffa3144fd9, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in EVR!DllCanUnloadNow
Exception at 0x7fffa3144fd9, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in EVR!DllCanUnloadNow
Exception at 0x7fffa3144fd9, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) (first chance) in ntdll!RtlCaptureContext2 session close time out!
This is part of code which is repeatedly called.
myMediaPlayer.source = ""
...
myMediaPlayer.source = "file:///" + videoPath