Crash when using VLC 3.0.13-16
The wrapper crashes when using recent versions of VLC:
VLC: 3.0.13 (cannot reproduce with MWE), 3.0.14, 3.0.15, 3.0.16 OS: Windows 10, Linux 5.12.2-1 Python: 3.8, 3.9
for this test code:
import vlc
i = vlc.Instance()
p = i.media_player_new()
m = i.media_new_path("C:\\path\\to\\file")
p.set_media(m)
p.play()
input()
p.stop()
input()
Crash happens on the stop call.
On my Windows machine, it crashes silently with the return value -1073741819. On a more complex code, I get the reason: Windows fatal exception: access violation.
On my Linux machine, it crashes with the return value 139. On a more complex code, I get the reason: Fatal Python error: Segmentation fault.
It looks like something changed on the libvlc side and this wrapper cannot follow.
Updated for 3.0.15 and 3.0.16.
I will have a look at this when the appropriate version of libvlc lands into Debian testing. For the moment, it is still 3.0.12, and 3.0.16 is in unstable.
It seems like the problem does not occur anymore for VLC 3.0.17.