Kodi Community Forum

Full Version: 12.10 stopping music play crashes xbmc
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Crash Log : http://pastebin.ubuntu.com/5667859/

Recap, Using "XMBC Remote" on iPhone or local keyboard when selecting the stop button on a playing song ( any song ) XBMC will crash and I am back at my desktop. Movies are fine, TV is fine so far only music playback. I use:
./configure --prefix=/usr/local --enable-pulse

From a clean git pull on 3/31 ( See crash log ) no packaging or distribution just pull -> make -> make install

Linux Mint 13 Maya, on a 4GB 6 way AMD 1090T , dual screen ( 1 X server 1 Graphics card ) ATI Drivers.
Using HDHomerun + dvb drivers + TVHeadend + Comskip linux native version + ffmpeg/handbrake to record with CC enabled and transcode to very small files with commercial edit list for xbmc playback.

Update : NOTICE: Starting XBMC (13.0-ALPHA2 Git:20130331-cd34494), Platform: Linux (Linux Mint 13 Maya, 3.2.0-27-generic x86_64). Built on Mar 31 2013

So not 12.1 anymore ?? 13.0-ALPHA2 sorry about that.
pulse is probably the culprit. Can you try with alsa directly?
I did a quick check no ALSA selections are available. For what it is worth I have tried many a time to remove pulse only to have hours of work after the next distribution upgrade taking it out again. I have made peace with running it and spent time getting it to run as cleanly as possible for my system, multiple sound cards for library and theater room with configs to support my m-audio as 4 separate stereo feeds around the house and an audigy @ 5.1 for the home theater room.

So any "No - Pulse" would not be a real fix for me as other apps like music player deamon share the hardware with XBMC through pulse. I do understand the desire to try an isolate it as a potential cause but I'm not sure why there is NO alsa to pick from any longer ? I do remember alsa and pulse options in the drop down list in the past. Nothing but pulse based selections now though.

FYI Mint seems to ignore any .asoundrc or /etc/asound.conf configs from what I can tell, Nothing put in them shows with aplay -l making it harder and harder to "get back to ALSA".

Logs also don't really help, No pulse messages in syslog and the crash log seems to look like the player stopped the pulse warnings are a chronic spew and don't ppear to be related to the crash.
12:22:56 T:140317042927360 DEBUG: webserver: request received for /jsonrpc
12:22:56 T:140317042927360 DEBUG: JSONRPC: Incoming request: {"method":"Player.Stop","id":-118032981,"jsonrpc":"2.0","params":{"playerid":0}
}
12:22:56 T:140317042927360 DEBUG: JSONRPC: Calling player.stop
12:22:56 T:140316908709632 NOTICE: Thread AE Stream start, auto delete: false
12:22:56 T:140317680441088 DEBUG: Thread CFileCache 140317680441088 terminating
12:22:56 T:140317906388736 WARNING: PulseAudio: Stream underflow
12:22:56 T:140316908709632 DEBUG: Thread AE Stream 140316908709632 terminating
12:22:56 T:140317009356544 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
12:22:56 T:140317009356544 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
12:22:56 T:140317009356544 DEBUG: Thread PAPlayer 140317009356544 terminating
if you used --enable-pulse while configure, there is no other option. why don't you use xbcm from our ppas?
Probably just history. To get the PVR components or DTS-HD I was always ahead now I don't seem to be. I also liked that I can keep it all in /usr/local when after multiple installs the distribution dependencies get whacked and I waste to much time F$##%$ with fixing the OS to get anything else installed. So I just stick to compile and install for the more experimental things on the system.

FYI, This was not pulse is was user stupidity. After a bit more digging I noticed that files played directly but not through the library, I updated the library and no more crash .. ooof!