Advancing To Next Music Track Crashes XBMC
#1
XBMC is crashing when trying to advance to the next audio track. The command is coming from an IR remote. It is reproducible with any set of audio tracks in any window (home, music view, visualization, etc).

Relevant part of log:
Code:
19:16:54 T:3067762528 M:1273724928   ERROR: CreateStream - pcm_open, alsa error: Device or resource busy
19:16:54 T:2625481616 M:1273724928   DEBUG: staticThread, deleting thread graphic context
19:16:54 T:2625481616 M:1273724928   DEBUG: Thread 2625481616 terminating
19:16:54 T:3067762528 M:1273724928   DEBUG: CFileSMB::Close closing fd 10001
19:16:54 T:3067762528 M:1289392128   ERROR: PAPlayer::Unable to create audio stream

Ubuntu 8.04 i686
configure, make, make install
XBMC r15425
Log: http://pastebin.com/ffb33d40
Reply
#2
Gonna need a backtrace as well. See, http://forum.xbmc.org/showthread.php?tid=34655
Reply
#3
Log for this core dump: http://pastebin.com/f1b4282a8

Core Dump: http://rapidshare.com/files/143381489/core.6664.gz.html
Reply
#4
That's a bit much don't you think?

How about just providing the gdb output? Please check the thread on how to file a proper bug report.

A backtrace would surely help.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
Got ahead of myself. ;-)

Backtrace: http://pastebin.com/f6f988bae
Reply
#6
Hmm.. Looks like alsa issue (though, not according to backtrace). My guess is that since alsa is not able to open the file, this is not valid: m_codec->m_Channels.

11:37:28 T:3067623264 M:1353330688 ERROR: CreateStream - pcm_open, alsa error: Device or resource busy

So, how do you have your audio setup in XBMC? Anything custom in terms of alsa? Like .asoundrc?


Gonna need more details.

Thanks..
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
Disabling crossfading resolves the issue. I had it enabled for 3 seconds; as soon as I disabled it, track changes were normal.

XBMC:
Digital passthrough enabled for AC3/DTS.
Output to all speakers is disabled.
Output device is IEC958 (optical).

ALSA:
No .asoundrc.
Chipset is ALC885 using the hda-intel module.
Reply
#8
Change output device back to default. The Passthrough Output Device should be iec958 but keep Audio Output Device to default.

See if that helps.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#9
That fixed it. Thanks!
Reply
#10
You're welcome Smile

I had the same issue I think.. months ago.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#11
We should fail to crossfade in this case, rather than crashing??
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#12
jmarshall,

Yeah.. Most likely!
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
Advancing To Next Music Track Crashes XBMC1