You are not logged in.
I've been having a similar issue to brando. XBMC seg faults, but the message printed before the seg fault says:
ALSA lib pcm.c:7236:(snd_pcm_recover) underrun occured
I have tried compiling with internal and external ffmpeg (external ffmpeg enabled will not compile on my 64-bit system). I've used the PKGBUILD as-is as well as changing the svn revision to two later revisions (including the lastest one) and mothing has changed. I have compiled it now with debugging enabled and the crash log can be found here: http://pastebin.com/m6f812d16
Offline
edit : well, the script had changed... the bug is no more there in the svn ... (but still in the community one)... sorry for the useless noise
never mind. included it anyway thanks.
Offline
hmm strange. i don't have any issues on my 32bit machine. Compiles and runs fine. How do you start xbmc? I do it via .xinitrc giving it a proper consolekit and dbus-session:
exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs
Offline
I'm running xbmc as a regular application I launch either from console or the application menu in kde. I am loading consolekit with kde since that fixes an issue I had with automounting of external media.
Offline
Hmm, how do you get it to shutdown the machine when you ask it to shutdown? I'm slim to autologin and it creates the consolekit session as haggy just posted. Should the user be added to sudo to allow shutdown without any password?
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
Ok, I guess my issue isn't so similar to brando's so ignore my comment that it was. Also, XBMC starts and runs fine, it just segfaults when I try to play certain files such as the one mentioned in my log file. Some files it works just fine, but other video files cause a segfault. I've tried vdpau and software rendering. It segfaults regardless what settings i change.
Offline
exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs
Why do you start a dbus session? dont you use hal / dbus daemon (or its nothing related?).
And what does -fs do? (edit: ok.. fs = fullscreen, duh) useless for me. xbmc starts via startx (and inittab).
Are there more /usr/bin/xbmc <options> ?
Sorry for triple questing you
Last edited by TigTex (2010-02-09 01:42:40)
.::. TigTex @ Portugal .::.
Offline
Could someone using 64-bit Arch and xbmc-svn check whether the following file plays on their build of xbmc? This is a file I found on the mplayer samples site that triggers the segfault I've been experiencing: http://samples.mplayerhq.hu/Matroska/ticket-a_aac.mkv
This file plays perfectly in vlc from the Arch repos and on mplayer which I compile manually from subversion.
This is becoming extremely annoying as I can't seem to get to the bottom of the issue. I've tried svns all the way back to 27400-something, all the way up to almost current (27565) by modifying the AUR PKGBUILD. I've even tried reinstalling the xbmc in [community] and it results in the same segfault as the svns when trying to play the above mentioned file.
[Edit]
It seems related to faad or faac or something since it seems like xbmc segfaults with almost every file on the mplayer samples site containing aac audio...
Last edited by NobeyamaGP (2010-02-09 03:59:19)
Offline
Could someone using 64-bit Arch and xbmc-svn check whether the following file plays on their build of xbmc? This is a file I found on the mplayer samples site that triggers the segfault I've been experiencing: http://samples.mplayerhq.hu/Matroska/ticket-a_aac.mkv
This file plays perfectly in vlc from the Arch repos and on mplayer which I compile manually from subversion.This is becoming extremely annoying as I can't seem to get to the bottom of the issue. I've tried svns all the way back to 27400-something, all the way up to almost current (27565) by modifying the AUR PKGBUILD. I've even tried reinstalling the xbmc in [community] and it results in the same segfault as the svns when trying to play the above mentioned file.
[Edit]
It seems related to faad or faac or something since it seems like xbmc segfaults with almost every file on the mplayer samples site containing aac audio...
works for me. not using xbmc-svn but xbmc-git. anyway, my PKGBUILD is entirely based on xbmc-svn PKGBUILD.
i'm using the latest nvidia beta drivers and libvdpau-git (should be the same as 0.4 as of today)
Offline
haggy wrote:exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs
Why do you start a dbus session? dont you use hal / dbus daemon (or its nothing related?).
And what does -fs do? (edit: ok.. fs = fullscreen, duh) useless for me. xbmc starts via startx (and inittab).Are there more /usr/bin/xbmc <options> ?
Sorry for triple questing you
hehe no prob!
1) i explicitly start a dbus session to be able to use dbus inside xbmc - read here: http://dbus.freedesktop.org/doc/dbus-launch.1.html .
and yes, i have hal and thus dbus autostarted. however that doesn't help much if you don't use a dbus aware login manager or DE. the dbus-launch is for console logins / .xinitrc and inittab
2) there's at least --standalone (which makes xbmc handle dvd drives, usb connects, etc...), -fs (fullscreen, yeah), -p (portable mode, which stores your .xbmc folder in the directory you call xbmc, not in ~). maybe there are more i don't know of.
3) -fs is not really useless as it's a dedicated screen mode. if you run it ontop of a wm it makes xbmc run in fullscreen. directly on top of X it makes no difference.
Offline
It seems related to faad or faac or something since it seems like xbmc segfaults with almost every file on the mplayer samples site containing aac audio...
Hmm. I got some AAC files lying around - except aac surround that has a totally messed up channel mapping they play nice (32bit though).
Offline
I rebuilt using the latest build from the svn and still have the same problem as i did before, im on an x64 system if that matters at all.
Offline
brando, have you tried running xbmc from the above command line i gave? try this
/usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc
Offline
Same here. I rebuilt xbmc manually from the git source and manually applied the libpng14 patch and the projectM patch from the aur source. Otherwise, I let ./configure autodetect my settings. Same thing resulted. Can play certain files just fine, but just about anything with aac audio causes a segfault while loading.
The last line of the crash log is simply a repeating
CDVDAudioCodecLibFaad() : Bitstream value not allowed by specification
and when I launch xbmc from terminal, I also see the error I mentioned at the top of this page. By the sound of it, it looks like an issue with my particular system. I have the most up to date faad2 I could find and have even tried reinstalling the package all to no avail.
Offline
brando, have you tried running xbmc from the above command line i gave? try this
/usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc
I just tried it and still got the same thing :-( this sucks because I was just getting used to using xbmc on my desktop so my lazy ass doesnt have to get out of my bed and walk a whole two feet to select another episode/movie
Offline
Hey, am I the only one getting seg faults when trying to go in the video settings?
heres my crashlog:
http://pastebin.com/ffc66706
EDIT: I tryed with a clean .xbmc and samething
Last edited by PAdu92 (2010-02-11 16:59:22)
Offline
same debug log? is .xbmc writable?
Offline
same debug and yes .xbmc is writable.....
Offline
could it be you started xbmc as root and now don't have permissions for your real user? check permissions on .xbmc (yes, recursive)
Offline
then please enable DEBUG logging in xbmc and reproduce. we need a bit more output on this.
Offline
non I never started xbmc as root........
Offline
heres the crashlog with debug on
http://pastebin.com/f30ac0b6c
Offline
OK, i'm in contact with some xbmc dev. could you please edit the PKGBUILD, replace "--disable-debug" with "--enable-debug" and recompile. this will include debug symbols into the backtrace and show exactly where it spits at you. thanks.
Offline
ok, i'm compiling....
Offline
I don't beleive this, it works with the debug on!!! I'm going to recompile without it but this is weird I didn't change anything else.....
Offline