libvlc aborts with libvlc_event_detach
There is an abort() in libvlc_event_detach which is called in case a libvlc instance is cleared while not all listeners unsubscribed. This might be correct (hello assert() ?) in debug builds because it shows a potential memory leak, however this should never happen in production builds. The libvlc client app continues to run just fine with the abort removed and there is not even undefined behavior. The abort() should be removed, at least in production builds.