src/discoverer/FsDiscoverer.cpp:453 assert fails when a folder is in a network share Windows 10
bool FsDiscoverer::addFolder( std::shared_ptr<fs::IDirectory> folder,
Folder* parentFolder,
const IInterruptProbe& interruptProbe ) const
{
auto deviceFs = folder->device();
// We are creating a folder, there has to be a device containing it.
assert( deviceFs != nullptr );
assert fails in vlc when a user folder is located on an smb share
In my case, I have an E:\ drive that is mapped to a samba share and under it, I have moved my Videos
folder to E:\Videos so going to videos in the Quick Access in explorer goes to E:\Videos instead
running vlc produces an assertion failure and running with gdb prints
...
warning: medialibrary medialibrary debug: ../src/discoverer/DiscovererWorker.cpp:582 runDiscover Running discover on: file:///E:/Videos/
warning: medialibrary medialibrary warning: ../src/Folder.cpp:466 fromMrl Failed to get device containing an existing folder: file:///E:/Videos/
...