My computer: Windows 7 Home Premium. Sound Card: Creative x-fi Xtrememusic. Picture Card: NVIDIA GeForce6100 nForce405
When trying to load a CD VLC crashes totally (vers 1.1.0). I downloaded a nightly build (1.2.0-git-20100624-0002) so that I could see a log, which looks like this:
qt4 warning: Input option: cdda-caching=300
main debug: adding item cdda://F' ( cdda://F:\ ) qt4 debug: Adding a new MRL to recent ones: cdda://F:\ main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item cdda://F node null skip 0 main debug: resyncing on cdda://F main debug: cdda://F is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'cdda://F' main debug: thread (input) created at priority 1 (input/input.c:214) qt4 debug: IM: Setting an input main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'E:\Users\Patrick\AppData\Local\Temp' main debug: cdda://F:' gives access cdda' demux ' path F:\' main debug: creating demux: access='cdda' demux='' path='F:\' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "cdda" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating access 'cdda' location='F:\', path='\\F:\' main debug: looking for access module: 1 candidate cdda debug: trying .cue file: \\F:\.cue main debug: no fetch required for (null) (art currently (null)) cdda debug: could not find .cue file cdda warning: could not open \\F:\ main debug: no access module matching "cdda" could be loaded main debug: TIMER module_need() : 196.000 ms - Total 196.000 ms / 1 intvls (Avg 196.000 ms) main error: open of cdda://F:' failed: (null)
main debug: thread ended
main debug: dead input
main debug: thread times: real 0m0.279000s, kernel 0m0.015600s, user 0m0.000000s
qt4 debug: IM: Deleting the input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
main debug: Destroying the input for 'cdda://F'
main debug: TIMER input launching for 'cdda://F' : 301.000 ms - Total 301.000 ms / 1 intvls (Avg 301.000 ms)
VLC plays everything except CDs. Other media player like Windows Media Plyer plays CDs fine.
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Updated error message from nightly build 1.2.0-git-20100626-0107 Twoflower
qt4 warning: Input option: cdda-caching=300
main debug: adding item cdda://F' ( cdda://F:\ ) qt4 debug: Adding a new MRL to recent ones: cdda://F:\ main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item cdda://F node null skip 0 main debug: resyncing on cdda://F main debug: cdda://F is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'cdda://F' main debug: thread (input) created at priority 1 (input/input.c:214) qt4 debug: IM: Setting an input main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'E:\Users\Patrick\AppData\Local\Temp' main debug: cdda://F:' gives access cdda' demux ' path F:\' main debug: creating demux: access='cdda' demux='' path='F:\' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "cdda" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating access 'cdda' location='F:\', path='\\F:\' main debug: looking for access module: 1 candidate cdda debug: trying .cue file: \\F:\.cue main debug: meta ok for (null), need to fetch art cdda debug: could not find .cue file cdda warning: could not open \\F:\ main debug: no access module matching "cdda" could be loaded main debug: TIMER module_need() : 133.000 ms - Total 133.000 ms / 1 intvls (Avg 133.000 ms) main error: open of cdda://F:' failed: (null)
main debug: thread ended
main debug: dead input
main debug: looking for meta fetcher module: 1 candidate
lua debug: Trying Lua scripts in E:\Users\Patrick\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in E:\Program Files\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.lua
main debug: using meta fetcher module "lua"
main debug: TIMER module_need() : 7.000 ms - Total 7.000 ms / 1 intvls (Avg 7.000 ms)
main debug: removing module "lua"
main debug: searching art for cdda://F
main debug: looking for art finder module: 2 candidates
lua debug: Trying Lua scripts in E:\Users\Patrick\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in E:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\art\01_musicbrainz.lua
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\art\01_musicbrainz.luac
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.lua
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.lua
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\art\10_googleimage.lua
lua debug: 10_googleimage.lua is disabled
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\art\10_googleimage.luac
lua debug: 10_googleimage.lua is disabled
main debug: no art finder module matching "any" could be loaded
main debug: TIMER module_need() : 13.000 ms - Total 13.000 ms / 1 intvls (Avg 13.000 ms)
main debug: art not found for cdda://F
main debug: thread times: real 0m0.262500s, kernel 0m0.000000s, user 0m0.015600s
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt4 debug: IM: Deleting the input
main debug: Destroying the input for 'cdda://F'
main debug: TIMER input launching for 'cdda://F' : 358.000 ms - Total 358.000 ms / 1 intvls (Avg 358.000 ms)
Seems it works on vers. 1.1.1 (branch-20100626-0203), but only with default settings. Any changes made makes it crash whenever you play a CD. And reverting the changes by hand doesn't help either only pressing the button "Reset Preferences" helps.
Log from 1.1.1 when it works to play CDs (with default settings)
qt4 warning: Input option: cdda-caching=300
main debug: adding item cdda://F' ( cdda://F:\ ) qt4 debug: Adding a new MRL to recent ones: cdda://F:\ main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item cdda://F node null skip 0 main debug: resyncing on cdda://F main debug: cdda://F is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'cdda://F' main debug: thread (input) created at priority 1 (input/input.c:214) qt4 debug: IM: Setting an input main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'E:\Users\Patrick\AppData\Local\Temp' main debug: cdda://F:' gives access cdda' demux ' path F:\' main debug: creating demux: access='cdda' demux='' path='F:\' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "cdda" main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms) main debug: creating access 'cdda' path='F:\' main debug: looking for access module: 1 candidate cdda debug: using winNT/2K/XP ioctl layer cdda debug: p_sectors: 0, 0 cdda debug: p_sectors: 1, 16090 cdda debug: p_sectors: 2, 34205 cdda debug: p_sectors: 3, 63475 cdda debug: p_sectors: 4, 93690 cdda debug: p_sectors: 5, 123005 cdda debug: p_sectors: 6, 146210 cdda debug: fetching infos with CDDB cdda debug: CD-TEXT information missing cdda debug: track[0] start=0 cdda debug: track[1] start=16090 cdda debug: track[2] start=34205 cdda debug: track[3] start=63475 cdda debug: track[4] start=93690 cdda debug: track[5] start=123005 main info: stopping playback main debug: deleting item Audio CD'
main debug: using access module "cdda"
main debug: TIMER module_need() : 33.000 ms - Total 33.000 ms / 1 intvls (Avg 33.000 ms)
main debug: Using AStreamBlock
main debug: pre buffering
main error: cannot pre fill buffer
main warning: cannot create a stream_t from access
main debug: removing module "cdda"
main debug: thread ended
main debug: incoming request - stopping current input
main debug: dead input
main debug: thread times: real 0m0.115000s, kernel 0m0.000000s, user 0m0.000000s
main debug: processing request item Audio CD - Track 01 node Playlist skip 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 6 items, index 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'Audio CD - Track 01'
qt4 debug: IM: Deleting the input
main debug: Destroying the input for 'Audio CD'
main debug: TIMER input launching for 'cdda://F' : 192.000 ms - Total 192.000 ms / 1 intvls (Avg 192.000 ms)
main debug: thread (input) created at priority 1 (input/input.c:214)
qt4 debug: IM: Setting an input
main debug: thread started
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'E:\Users\Patrick\AppData\Local\Temp'
main debug: cdda://F:\' gives access cdda' demux ' path F:'
main debug: creating demux: access='cdda' demux='' path='F:'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "cdda"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: creating access 'cdda' path='F:'
main debug: looking for access module: 1 candidate
cdda debug: using winNT/2K/XP ioctl layer
main debug: using access module "cdda"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: Using AStreamBlock
main debug: pre buffering
main debug: received first data after 0 ms
main debug: no fetch required for (null) (art currently (null))
main debug: no fetch required for (null) (art currently (null))
main debug: no fetch required for (null) (art currently (null))
main debug: no fetch required for (null) (art currently (null))
main debug: no fetch required for (null) (art currently (null))
main debug: no fetch required for (null) (art currently (null))
main debug: no fetch required for (null) (art currently (null))
main debug: prebuffering done 47084 bytes in 0s - 164 KiB/s
main debug: looking for stream_filter module: 2 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating demux: access='cdda' demux='' path='F:'
main debug: looking for demux module: 51 candidates
wav debug: chunk: fcc=fmt size=16
wav debug: format: 0x0001, fourcc: araw, channels: 2, freq: 44100 Hz, bitrate: 172Ko/s, blockalign: 4, bits/samples: 16, extra size: 0
wav debug: found Raw audio audio format
wav debug: chunk: fcc=data size=0
main debug: selecting program id=0
main debug: using demux module "wav"
main debug: TIMER module_need() : 137.000 ms - Total 137.000 ms / 1 intvls (Avg 137.000 ms)
main debug: looking for decoder module: 34 candidates
araw debug: samplerate:44100Hz channels:2 bits/sample:16
main debug: using decoder module "araw"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: thread (decoder) created at priority 2 (input/decoder.c:301)
main debug: thread started
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in E:\Users\Patrick\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in E:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
lua debug: Trying Lua playlist script E:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: `cdda://F:' successfully opened
main debug: Buffering 0%
main debug: Buffering 16%
main debug: Buffering 33%
main debug: Buffering 50%
main debug: Buffering 66%
main debug: Buffering 83%
main debug: Buffering 100%
main debug: Stream buffering done (350 ms in 2 ms)
main debug: creating aout
main debug: looking for audio output module: 4 candidates
aout_directx debug: Opening DirectSound Audio Output
aout_directx debug: found device: Primär ljuddrivrutin
aout_directx debug: found device: Speakers (Creative SB X-Fi)
aout_directx debug: found device: SPDIF Out (Creative SB X-Fi)
aout_directx debug: device supports 2 channels (DEFAULT!)
aout_directx debug: device supports 1 channel
aout_directx debug: Windows says your SpeakerConfig is stereo
aout_directx debug: creating DirectSoundThread
main debug: thread started
aout_directx debug: DirectSoundThread ready
main debug: thread (DirectSound Notification Thread) created at priority 15 (directx.c:321)
main debug: using audio output module "aout_directx"
main debug: TIMER module_need() : 490.000 ms - Total 490.000 ms / 1 intvls (Avg 490.000 ms)
main debug: output 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'f32l'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 14 candidates
audio_format debug: f32l->s16l, bits per sample: 32->16
main debug: using audio filter module "audio_format"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: input 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
main debug: looking for audio filter module: 1 candidate
scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: filter(s) 's16l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 14 candidates
audio_format debug: s16l->f32l, bits per sample: 16->32
main debug: using audio filter module "audio_format"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: filter(s) 'f32l'->'f32l' 48510 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 14 candidates
bandlimited_resampler debug: f32l/48510KHz/2->f32l/44100KHz/2
main debug: using audio filter module "bandlimited_resampler"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: End of audio preroll
main debug: Decoder buffering done in 558 ms
main warning: PTS is out of range (-10000), dropping buffer
main warning: PTS is out of range (-26219), dropping buffer
main debug: audio output is too slow (77561), trashing 50000us
main warning: output date isn't PTS date, requesting resampling (76561)
main warning: buffer is 76560 late, triggering upsampling
main warning: resampling stopped after 10650000 usec (drift: 266)
As usual, I pop in the CD in the CD-rom unit and then VLC starts to play it automatically (Think the setting is in autoexec.bat). But I see now that it makes VLC to crash and no matter what no CD will play, automatically or manually, until I press the button "reset preferences", restart VLC and then choose media-> open disc. The I can play a CD, but only manually by open VLC and choose media-> open disc.
As usual, I pop in the CD in the CD-rom unit and then VLC starts to play it automatically (Think the setting is in autoexec.bat). But I see now that it makes VLC to crash and no matter what no CD will play, automatically or manually, until I press the button "reset preferences", restart VLC and then choose media-> open disc. The I can play a CD, but only manually by open VLC and choose media-> open disc.
One more observation: Opening a CD manually ONLY works right after using the button "reset preferences" (when restarting VLC). When restarting it once again, then it crashes. To be able to play a CD once again I have to use the button "reset preferences" then it works whn restarting, but only ONCE. Very odd...
Here is a workaround: By default VLC plays track 0, which totally crashes vlc (if it's not straight after installment or "reset preferences" button pressed and program restarted, than it plays track 1 and not "0"). Earlier, before version 1.0 I think, it was ok to play track 0, it just played track 1. But now not choosing anything it plays track 0. But choosing a track, other than 0, makes it play just fine!
Playback works correctly if started with GDB. So maybe some thread/lock/polling issue. And priority isn't highest since this isn't any critical security issue.
Michał Trzebiatowskichanged title from VLC vers 1.1.0 unable to play CDs to VLC vers 1.1.0 unable to play a whole Audio CD - a bug with the CDDB
changed title from VLC vers 1.1.0 unable to play CDs to VLC vers 1.1.0 unable to play a whole Audio CD - a bug with the CDDB
It seams that this nasty audioCDbug has something to do with the
"Support for CDDB servers for Audio-CD on the Windows port" feature since the VLC 1.1.0 Windows-version. But you can disable CDDB in VLC to play the whole Audio CD: Tools->Preferences ->Interface
At "Privacy / Network Interaction" use dropdown and select "Manual download only"
It would be nice not to put this option as default for the next VLC version,
because many users don't disable the option "Allow fetching media information from internet" when they start VLC for the first time. It would be better to put this option as default when CDDB works correctly someday.
That's why it put priority to high...
Change to highest because this CDDB bug still prevent VLC to play a whole Audio CDs. Retro-users are still angry! Change the CDDB setting to "Manual download only" for the next VLC version!
Michał Trzebiatowskichanged title from VLC vers 1.1.0 unable to play a whole Audio CD - a bug with the CDDB to CDDB bug: VLC 1.1.0-branch and 1.2.0-trunk are unable to play a whole Audio CD
changed title from VLC vers 1.1.0 unable to play a whole Audio CD - a bug with the CDDB to CDDB bug: VLC 1.1.0-branch and 1.2.0-trunk are unable to play a whole Audio CD
Changing to Manual Download Only did not fix it for me. Also, I'm running Windows 7.
Please consider this a higher priority. VLC completely crashes when a new user pops in a CD and tries to play it. Then, if they want to hear the whole CD the user has to open each track separately. Running Windows Media Player is painless compared to this process.
Changed back to highest because the upcoming 1.1.5 version has still this nasty CDDB bug and no patch was written so far to fix this release.
Please don't change the priority back to normal cuz this is really a bug to be fixed, as you see many users can't really use the 1.1.x version to play their Audio CDs.
Wouldn't it be better to disable the whole CDDB function for the next 1.1.5 version?
I found out why this doesn't happen with all setups and I also got much requested backtrace.
The reason this doesn't always happen is related to shell. With Cygwin shell audio CD playback works correctly. With default Windows shell, it doesn't.
And now the backtrace
(gdb) set args -I dummy cdda://D:(gdb) runStarting program: C:\vlc-1.1.6-git-20101128-0203/vlc.exe -I dummy cdda://D:[New Thread 2884.0xb48][New Thread 2884.0xb4c][New Thread 2884.0xb50][New Thread 2884.0xb54][New Thread 2884.0xb58][New Thread 2884.0xb5c]Program received signal SIGSEGV, Segmentation fault.[Switching to Thread 2884.0xb5c]0x77bd8790 in strlen () from C:\WINDOWS\system32\msvcrt.dll(gdb) bt[#0](https://code.videolan.org/videolan/vlc/-/issues/0) 0x77bd8790 in strlen () from C:\WINDOWS\system32\msvcrt.dll[#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x65cc6b24 in cddb_new () from C:\vlc-1.1.6-git-20101128-0203\plugins\libcdda_plugin.dll[#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x65ccd106 in libcddb_init () from C:\vlc-1.1.6-git-20101128-0203\plugins\libcdda_plugin.dll[#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0x65cc6a3d in cddb_new () from C:\vlc-1.1.6-git-20101128-0203\plugins\libcdda_plugin.dll[#4](https://code.videolan.org/videolan/vlc/-/issues/4) 0x65cc223e in GetCDDBInfo (p_this=0x5ef1998) at cdda.c:614[#5](https://code.videolan.org/videolan/vlc/-/issues/5) GetTracks (p_this=0x5ef1998) at cdda.c:408[#6](https://code.videolan.org/videolan/vlc/-/issues/6) Open (p_this=0x5ef1998) at cdda.c:188[#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x6a5c0435 in module_need (p_this=0x5ef1998, psz_capability=0x6a66c1e0 "access", psz_name=0x5ef1168 "cdda", b_strict=true) at modules/modules.c:559[#8](https://code.videolan.org/videolan/vlc/-/issues/8) 0x6a568c29 in __access_New (p_obj=0x5f00828, p_parent_input=0x5f00828, psz_access=0x5ef1168 "cdda", psz_demux=0x6a66f022 "", psz_path=0x5ef116f "D:") at input/access.c:65[#9](https://code.videolan.org/videolan/vlc/-/issues/9) 0x6a57f3ad in InputSourceInit (p_input=<value optimized out>, in=0x5eff090, psz_mrl=<value optimized out>, psz_forced_demux=0x6a66f022 "") at input/input.c:2481[#10](https://code.videolan.org/videolan/vlc/-/issues/10) 0x6a5809ce in Init (p_input=0x5f00828) at input/input.c:1237[#11](https://code.videolan.org/videolan/vlc/-/issues/11) 0x6a584b49 in Run (p_this=0x5f00828) at input/input.c:537[#12](https://code.videolan.org/videolan/vlc/-/issues/12) 0x6a5c6614 in thread_entry (data=0x5ef1148) at misc/threads.c:58[#13](https://code.videolan.org/videolan/vlc/-/issues/13) 0x6a5e112a in vlc_entry (p=0x5ef1168) at win32/thread.c:526[#14](https://code.videolan.org/videolan/vlc/-/issues/14) 0x77bcb530 in msvcrt!_endthreadex () from C:\WINDOWS\system32\msvcrt.dll[#15](https://code.videolan.org/videolan/vlc/-/issues/15) 0x77e6482f in KERNEL32!GetModuleHandleA () from C:\WINDOWS\system32\kernel32.dll[#16](https://code.videolan.org/videolan/vlc/-/issues/16) 0x00000000 in ?? ()(gdb)