Skip to content

Heap corruption when playing several VideoViews in parallel

Summary

When using several VideoViews, and switching the video to play quickly, an intermittent heap corruption occurs.

Minimal project and steps to reproduce

https://github.com/sallerga/vlc-mosaic

  1. Run program
  2. Click start

What is the current bug behavior?

Application crash with a heap corruption error.

What is the expected correct behavior?

No crash

Does it work on other platforms? Does it work with the official VLC apps?

Have not been able to reproduce in the VLC app.

Relevant logs and/or screenshots

vlc_log.zip

Environment

  • OS: Windows 10
  • Version 1909
  • Device: PC, i7 9700, Nvidia Geforce RTX 2070
  • LibVLC version and architecture 3.0.8.1, x86 and x64
  • LibVLCSharp version 3.4.2
  • LibVLCSharp.WinForms version 3.4.2
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information