XBMC crashes on Ubuntu Natty
#1
Hello all, I'm trying run XBMC on Ubuntu Natty upgraded from Maverick updated from Lucid and since Maverick XBMC crashes when I try to run it.
When I was using Ubuntu Lucid I installed XBMC from PPA repository, after the upgrade to Maverick XBMC never runs again, I tried download the stable release source code and git code and the problem is the same, the problem is the following :

flavio@holanda:~/Downloads/xbmc/git/xbmc$ /opt/XBMC/bin/xbmc
Running DIL (3.6.0) Version
DtsDeviceOpen: Opening HW in mode 0
DtsDeviceOpen: Create File Failed
Segmentation fault (core dumped)
Crash report available at /home/flavio/xbmc_crashlog-20110712_142838.log

A interesting snippet of this log is :

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

################ SYSTEM INFO ################
Date: Ter Jul 12 14:28:38 BRT 2011
XBMC Options:
Arch: i686
Kernel: Linux 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011
Release:
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====> Core file: /home/flavio/Downloads/xbmc/git/xbmc/core (2011-07-12 14:28:38.000000000 -0300)
=========================================
[New Thread 11728]
Core was generated by `/opt/XBMC/lib/xbmc/xbmc.bin'.
Program terminated with signal 11, Segmentation fault.
#0 0x0079d5a9 in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3

Thread 1 (Thread 11728):
#0 0x0079d5a9 in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
#1 0x0079da82 in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
#2 0x007a257f in dbus_message_iter_recurse () from /lib/i386-linux-gnu/libdbus-1.so.3
#3 0x0820d83f in CDBusUtil:TonguearseVariant (itr=0xbfd65870) at DBusUtil.cpp:104
#4 0x0820db45 in CDBusUtil::GetAll (destination=0x8c1aae9 "org.freedesktop.UDisks", object=0x9f3014c "/org/freedesktop/UDisks/devices/sda5", interface=0x8c1aacb "org.freedesktop.UDisks.Device") at DBusUtil.cpp:84
#5 0x08b637df in CUDiskDevice::Update (this=0x9b065a8) at UDisksProvider.cpp:47
#6 0x08b64c52 in CUDiskDevice::CUDiskDevice (this=0x9b065a8, DeviceKitUDI=0x9f045cc "/org/freedesktop/UDisks/devices/sda5") at UDisksProvider.cpp:42
#7 0x08b66b42 in CUDisksProvider:Big GrineviceAdded (this=0x9f0ac40, object=0x9f045cc "/org/freedesktop/UDisks/devices/sda5", callback=0x0) at UDisksProvider.cpp:327
#8 0x08b67a82 in CUDisksProvider::Initialize (this=0x9f0ac40) at UDisksProvider.cpp:227
#9 0x089961d4 in CLinuxStorageProvider::Initialize (this=0x97aec10) at linux/LinuxStorageProvider.h:57
#10 0x0899277c in CMediaManager::Initialize (this=0x8e29d00) at MediaManager.cpp:91
#11 0x084fa492 in CApplication::Create (this=0x8e25400) at Application.cpp:742
#12 0x085b1758 in main (argc=1, argv=0xbfd66104) at xbmc.cpp:85
############# END STACK TRACE ###############

################# LOG FILE ##################
.
.
.
The problem appears to be a call to dbus function dbus_message_iter_recurse() on
ParseVariant() method.

Someone knows how to solve theses problems ?

Thanks
Flavio Alberto Lopes Soares
Reply
#2
I had issues with XBMC quitting on 11.04 until I switched to the unstable build:

Code:
sudo add-apt-repository ppa:team-xbmc/ppa

They call it unstable, but I haven't had a crash on it yet...

Good luck!
Reply
#3
Thank you akula34, now I'm using Ubuntu Natty, and using this PPA but it doesn't has the xbmc packages, the way to avoid the crash was disactivate the DBus on XBMC, on xbmc/system.h I commented the lines

//#define HAS_DBUS
//#define HAS_DBUS_SERVER

and XBMC started OK

I ran XBMC in other machine with Debian Unstable on this morning and it ran Ok.
Really theres some kind of problem with DBus included from Ubuntu Maverick and Maverick and XBMC.

Thanks for help
Flavio
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC crashes on Ubuntu Natty0