VLC Crashes after opening AudioCD and trying to fetch CDDB info over the network- but only on Windows OSes
Bug reproduced on 2 different machines: -Lenovo ThinkCentreM58e, Desktop, Windows XP SP3. -Acer Aspire 5536, laptop, Windows 7 SP1.
And with different VLC versions: -- vlc-3.0.0-git-20141231-0003 ( nightly build ) -- VLC 2.1.5 Rincewind ( official release download ) -- VLC 2.0.4 Twoflower ( official release download )
Note: On two different Ubuntu Linux releases I have found no such similar issue. Apparently, the crash only happens on Windows Platforms.
How to reproduce the crash:
--restore default config, by running:
"%yourInstallPath%\vlc.exe" --reset-config
( Optinally you can do it from menu "Tools->Preferences->Reset Preferences" button )
--Then when the "Privacy and Network access policy" box pops up, just make sure to leave the check mark on "Automatically retrieve media info". Then press "continue" and next close VLC.
--Now make sure you have internet access on your PC and an AudioCD is inserted inside your optical drive. Then re-run VLC once more with this cmd line:
"%yourInstallPath%\vlc.exe" --started-from-file cdda:///D:\ (Here D:\ is your CDROM drive letter ).
Optinally you could re-start VLC without any cmd line option (just double click on the vlc.exe or from the desktop shortcut, if available ) and next open the disc by menu "Media->Open Disk->Disk Selection:Audio CD" and if the "disc Device" drive letter is right, just press "Play" button to load all audio tracks on the playlist.
-- If the audio CD you inserted was not previously cached on localdb (e.g.: in XP "C:\Documents and Settings\yourUserName\Application data\vlc\cddb" ) then VLC tries to connect to the internet CDDB Server and then it suddenly crashes!!!
--And of course, next time you open VLC it will ask you to send a "Crash Report"...
Note that this crash can be avoided in different manners:
--disabling the "Automatically retrieve media info" feature after restoring preferences, or by menu "Tools->Preferences->Interface Settings-> Privacy / Network Interaction: Album art download policy", choose "Manual Download Only" ) or in VLC 3.0 :uncheck "Allow metadata network access" )
-- If you have the above Network access Policy enabled, you can still avoid the crash just disconnecting your machine from the internet ( unplug the ethernet cable, disable your wifi adapter, or similar tricks ).
-- Ultimately, the crash will also be avoided if there is no need to perform the network acess ( connection to the HTTP CDDB Server ) at all, because of an existing copy of the CCDB info data for that particular CD ( previously cached by some means ) being found in your local Database ( in Win7, it is tipically under: "C:\Users\your-User-Name\Application data\vlc\cddb-category-" ).
Regards! And Happy New Year 2015!