Kodi Community Forum

Full Version: XBMC locks up when Audio CD inserted
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I just built a new HTPC last night and installed Windows 7 Pro x64 and set up XBMC to play blurays and such. It plays Blu rays and dvds with no problems.

The problem is that when i insert an audio CD, XBMC locks up and just sits there. Task Manager won't even let me end the process. My only option is to restart the computer. Does anyone know of a solution to this problem?

edit: ok, after giving up and just letting it sit there, it started playing after about 10min. That's still a problem. Anybody have a solution?
You're not alone, I've had this problem always with XBMC. Everything else works, and audio CDs work in all other applications. I've never waited for 10 minutes, I think, I've assumed it hung up for good. No solution so far.

Out of curiosity, what sort of optical drive do you have? I have a LiteOn SATA BD-ROM.
WhiningKhan Wrote:You're not alone, I've had this problem always with XBMC. Everything else works, and audio CDs work in all other applications. I've never waited for 10 minutes, I think, I've assumed it hung up for good. No solution so far.

Out of curiosity, what sort of optical drive do you have? I have a LiteOn SATA BD-ROM.

Same here. Lite on sata bd-rom.
jkelly888 Wrote:Same here. Lite on sata bd-rom.

Bingo, that's probably it then. Maybe one day I'll take the drive out of the HTPC, connect it to the desktop PC and attempt to find out with debugger what exactly happens during the hang-up.
I'd like to bump this, got the same issue with some CDs.
On other CDs, it doesn't lock up, but it can't play them either.
System is XBMC Dharma Final on Win 7 x64, Asrock ION 330.
Here is the relevant Part of the debug log:

Quote:19:49:42 T:2720 M:951730176 DEBUG: ------ Window Init (DialogContextMenu.xml) ------
19:49:44 T:2720 M:951738368 DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 0
19:49:44 T:2720 M:951738368 DEBUG: CApplication::OnKey: 61453 pressed, action is Select
19:49:44 T:2720 M:951742464 DEBUG: ------ Window Deinit (DialogContextMenu.xml) ------
19:49:44 T:2720 M:951742464 DEBUG: CPlayerCoreFactory::GetPlayers(cdda://local/01.cdda)
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: un-named
19:49:44 T:2720 M:951742464 ERROR: PCRE: nothing to repeat. Compilation failed at offset 0 in expression '*grooveshark.com*'
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: un-named
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: adding player: dvdplayer (1) for rule: un-named
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: adding player: audiodefaultplayer (3) for rule: un-named
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
19:49:44 T:2720 M:951742464 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
19:49:44 T:2720 M:951742464 DEBUG: CPlayerCoreFactory::GetPlayers: matched 2 rules with players
19:49:44 T:2720 M:951742464 DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (3)
19:49:44 T:2720 M:951742464 DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
19:49:44 T:2720 M:951742464 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
19:49:44 T:2720 M:951742464 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
19:49:44 T:2720 M:951742464 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
19:49:44 T:2720 M:951742464 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
19:49:44 T:2720 M:950628352 NOTICE: DVDPlayer: Opening: cdda://local/01.cdda
19:49:44 T:2720 M:950628352 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
19:49:44 T:576 M:950628352 DEBUG: thread start, auto delete: 0
19:49:44 T:576 M:950628352 NOTICE: Creating InputStream
19:49:44 T:576 M:950628352 INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
19:49:44 T:576 M:950628352 DEBUG: CUtil::CacheSubtitles: START
19:49:44 T:576 M:950628352 INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
19:49:44 T:576 M:950628352 NOTICE: Creating Demuxer
19:49:44 T:576 M:950628352 DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/avutil-50.dll)
19:49:44 T:576 M:950603776 DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/avcodec-52.dll)
19:49:44 T:576 M:948256768 DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/libfaad.dll)
19:49:44 T:576 M:948236288 DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/avformat-52.dll)
19:49:45 T:2720 M:948137984 DEBUG: ------ Window Init (DialogBusy.xml) ------
19:49:47 T:576 M:947916800 DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [mp3]
19:49:47 T:576 M:947871744 DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info starting
19:49:47 T:576 M:946733056 DEBUG: ffmpeg[240]: [mp3] Could not find codec parameters (Audio: mp3, 0 channels, s16)
19:49:47 T:576 M:946733056 DEBUG: ffmpeg[240]: [mp3] Estimating duration from bitrate, this may be inaccurate
19:49:47 T:576 M:946733056 WARNING: could not find codec parameters for cdda://local/01.cdda
19:49:47 T:576 M:946733056 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
19:49:47 T:576 M:946733056 NOTICE: CDVDPlayer::OnExit()
19:49:47 T:576 M:946733056 NOTICE: CDVDPlayer::OnExit() deleting input stream
19:49:47 T:576 M:946733056 DEBUG: Thread 576 terminating
19:49:47 T:2720 M:946733056 ERROR: Playlist Player: skipping unplayable item: 0, path [cdda://local/01.cdda]
Okay guys I got a weird one... whenever I insert an audio CD xbmc freezes, DVD's work and CD's work outside of xbmc. This is a brand new build running win 7 x64, xbmc 10.0, hulu desktop, PowerDVD 8, MakeMKV, chrome and Autohotkey. Nothing else is on the machine.

Hardware specks are:
core i3
4GB RAM
ASRock Mother Board
GeForce GT 430
Lite-On BluRay Drive

I have it just hooked up to some stereo speakers right now, xbmc is set to output stereo analog, all my drivers are up to date and the frustrating bit is that everything else works flawlessly! It seems silly that a standard (retail) CD would kill xbmc. I'm really hoping that I'm just tired and missing something simple so if you guys have any suggestions it would be really appreciated!

Thanks in advance
Quick update, xbmc will un-freeze after about 2 minuets and will work fine... I've gone through all the different audio output drivers in xbmc but they all seem to have the same effect... Huh
Welcome to the club. It's apparently due to the LiteOn BD-ROM.

http://forum.xbmc.org/showthread.php?tid=93254
SONOFA#$%^&*!!! Well at least I know...

Thanks guys!
SOLVED Big Grin

Background: Problem occurs with SATA drives (in this case the Lite-On BD drive) on a Windows 7 OS. The standard setting for all SATA ports on the motherboard is "act as IDE" or "act as RAID" If nothing is changed: all the SATA ports on the motherboard are configured as IDE port and thus making the use of AHCI impossible, and that's the real problem.

Sollution: "How to enable AHCI in Windows 7 RC after installation"

Enable the AHCI driver in the registry before you change the SATA mode of the boot drive. To do this, follow these steps:

1. Exit all Windows-based programs.
2. Click Start, type regedit in the Start Search box, and then press ENTER.
3. If you receive the User Account Control dialog box, click Continue.
4. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesMsahci
5. In the right pane, right-click Start in the Name column, and then click Modify.
6. In the Value data box, type 0, and then click OK.
7. On the File menu, click Exit to close Registry Editor.

After this you’ll have to restart your computer, go to BIOS and enable AHCI. When you log in to Windows again, you’ll notice the installation of drivers for AHCI. Another restart will be required to finish the driver installation.

Enjoy
Excellent! It works for me too now. As the BD-ROM is the only SATA device in my system, I didn't even have to do the registry fiddling.

What is funny is that I suspected this myself ages ago, and enabled AHCI from BIOS - but I now found that the BD-ROM is connected to the last SATA port, and the MB bios setup has a separate IDE/AHCI setting for the last two channels. I had earlier tried to enable ACHI for all the other channels, but not for the correct one...
I had the problem for months too, but my solution up till now was: simply don't play cd's (all my cd's are in the system so it wasn't really a big problem for me)

The reason I resolved it today: I was stupid enough to make a new XBMC HTPC as a gift for my father (apparently I used exactly the same BD drive without knowing) since he really was into it after seeing my system at my birthday... So now I had to fix it because otherwise my phone won't stop ringing.... parental pressure....
Thank you very much for the help.

Igo for AHCI since W7. Unfortunately I have the Problem though AHCI.

Is there any other solution yet. XBMC does a ghreat job but no AUDIOCD possible :-(

Regards,

B
Hi,

@jmrules: Could you please tell me which chipset you use. I tried two systems one with an Intel P67 and one with an AMD 880G. Fresh Systems with Win7 32Bit. Both tested with 2 differnet Blu-Ray drives (Asus and Plextor).

My results are that it is not possible to play an AudioCD with Intel Chipset but is with AMD Chipset.

With the Intel it just tries and tries to access the AudioCD and then hands. I even could not kill process. In all other software it works (MediaPlayer, PowerDVD)

Regards,

Alex
Pages: 1 2