Linux XBMC Crashes on Start (PulseAudio Fails)
#1
So, I recently upgraded from Ubuntu 10.10 to Ubuntu 12.04 with Frodo. It looked great the first time I started it up.

After I rebooted the machine, XBMC no longer starts. It crashes immediately before anything shows up when it tries to load the pulse audio driver. I also tried deleting the .xbmc folder and it starts up again with no problems. But then I reboot, and it crashes again. I also can't use the standalone as a boot option as it simply crashes and returns to the Ubuntu login screen.

I am using an ATI video card RS880 with thre HDMI output with audio. I have tried disabling the analog audio (AC97) in the system options, but nothing helps.

Here is the log:

############## XBMC CRASH LOG ###############

################ SYSTEM INFO ################
Date: Thu Feb 28 16:22:38 EST 2013
XBMC Options:
Arch: x86_64
Kernel: Linux 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013
Release:
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====> Core file: /home/htpc/core (2013-02-28 16:22:38.225015373 -0500)
=========================================
[New LWP 1870]
[New LWP 1883]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/xbmc/xbmc.bin'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007ff276337630 in __strcpy_chk () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (LWP 1883):
#0 0x00007ff27a318f37 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ff27398296b in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2 0x00007ff200000000 in ?? ()
#3 0x000000000001e730 in ?? ()
#4 0x00007ff264002b20 in ?? ()
#5 0x00007ff264000020 in ?? ()
#6 0x00007ff2640014e0 in ?? ()
#7 0x00007ff26a904660 in ?? ()
#8 0x00007ff27d362a74 in ?? () from /lib64/ld-linux-x86-64.so.2
#9 0x00007ff27d362a74 in ?? () from /lib64/ld-linux-x86-64.so.2
#10 0x00007ff27d36329e in ?? () from /lib64/ld-linux-x86-64.so.2
#11 0x00007ff27d363523 in ?? () from /lib64/ld-linux-x86-64.so.2
#12 0x00007ff27d367774 in ?? () from /lib64/ld-linux-x86-64.so.2
#13 0x00007ff27d36e235 in ?? () from /lib64/ld-linux-x86-64.so.2
#14 0x00007ff27a318f59 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#15 0x00007ff276322cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff27d53b780 (LWP 1870)):
#0 0x00007ff276337630 in __strcpy_chk () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ff277b846c0 in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2
#2 0x00007ff277b85723 in snd_device_name_hint () from /usr/lib/x86_64-linux-gnu/libasound.so.2
#3 0x0000000000b4a985 in CAESinkALSA::EnumerateDevicesEx(std::vector<CAEDeviceInfo, std::allocator<CAEDeviceInfo> >&) ()
#4 0x0000000000b367de in CAESinkFactory::EnumerateEx(std::vector<AESinkInfo, std::allocator<AESinkInfo> >&) ()
#5 0x0000000000b3b0f9 in CSoftAE::CSoftAE() ()
#6 0x0000000000b352ea in CAEFactory::LoadEngine(AEEngine) ()
#7 0x0000000000b3546f in CAEFactory::LoadEngine() ()
#8 0x0000000000f48b99 in CApplication::Create() ()
#9 0x0000000000fe7df4 in XBMC_Run ()
#10 0x00000000006eaf55 in main ()
############# END STACK TRACE ###############

################# LOG FILE ##################

16:22:37 T:140679461451648 NOTICE: -----------------------------------------------------------------------
16:22:37 T:140679461451648 NOTICE: Starting XBMC (12.0 Git:fb595f2), Platform: Linux (Ubuntu 12.04.2 LTS, 3.2.0-38-generic x86_64). Built on Jan 28 2013
16:22:37 T:140679461451648 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
16:22:37 T:140679461451648 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
16:22:37 T:140679461451648 NOTICE: special://masterprofile/ is mapped to: /home/htpc/.xbmc/userdata
16:22:37 T:140679461451648 NOTICE: special://home/ is mapped to: /home/htpc/.xbmc
16:22:37 T:140679461451648 NOTICE: special://temp/ is mapped to: /home/htpc/.xbmc/temp
16:22:37 T:140679461451648 NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
16:22:37 T:140679461451648 NOTICE: Local hostname: htpc
16:22:37 T:140679461451648 NOTICE: Log File is located: /home/htpc/.xbmc/temp/xbmc.log
16:22:37 T:140679461451648 NOTICE: -----------------------------------------------------------------------


############### END LOG FILE ################

############ END XBMC CRASH LOG #############

So what could it be? This is a devoted HTPC. Maybe I should try installing the 32Bit version of XBMC and possibly Ubuntu 12.04?

Any thoughts or recomendations are greatly appreciated. I would honestly hate to install windows 7 when its not being used for anything other than video for my parents.
Reply
#2
Devoted htpc?

Your log indicates that is using ALSA. So if you only want to run xbmc on it, do:
sudo apt-get remove --purge pulseaudio libasound2-plugins

reboot and retry.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
What he said. If you don't need Pulseaudio, don't use it.
Reply
#4
That did the trick. Thanks a lot.


Andrew
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Crashes on Start (PulseAudio Fails)0