You are not logged in.

#376 2010-02-07 23:29:16

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: xbmc-git AUR package: discussion in here please

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

#377 2010-02-08 11:33:38

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

tidalf wrote:

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 smile

never mind. included it anyway big_smile thanks.

Offline

#378 2010-02-08 11:35:59

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

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

#379 2010-02-08 17:29:57

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: xbmc-git AUR package: discussion in here please

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

#380 2010-02-08 21:30:22

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: xbmc-git AUR package: discussion in here please

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

#381 2010-02-08 23:00:43

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: xbmc-git AUR package: discussion in here please

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

#382 2010-02-08 23:08:20

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: xbmc-git AUR package: discussion in here please

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 big_smile

Last edited by TigTex (2010-02-09 01:42:40)


.::. TigTex @ Portugal .::.

Offline

#383 2010-02-09 03:49:35

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: xbmc-git AUR package: discussion in here please

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

#384 2010-02-09 14:17:13

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: xbmc-git AUR package: discussion in here please

NobeyamaGP wrote:

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

#385 2010-02-09 15:51:38

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

TigTex wrote:
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 big_smile

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

#386 2010-02-09 15:55:07

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

NobeyamaGP wrote:

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

#387 2010-02-09 17:32:18

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: xbmc-git AUR package: discussion in here please

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

#388 2010-02-09 17:40:55

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

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

#389 2010-02-09 17:57:09

NobeyamaGP
Member
Registered: 2008-10-16
Posts: 39

Re: xbmc-git AUR package: discussion in here please

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

#390 2010-02-09 18:15:38

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: xbmc-git AUR package: discussion in here please

haggy wrote:

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 lol

Offline

#391 2010-02-11 16:58:40

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: xbmc-git AUR package: discussion in here please

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

#392 2010-02-11 17:13:24

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

same debug log? is .xbmc writable?

Offline

#393 2010-02-11 17:15:39

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: xbmc-git AUR package: discussion in here please

same debug and yes .xbmc is writable.....

Offline

#394 2010-02-11 17:23:53

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

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

#395 2010-02-11 17:25:11

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

then please enable DEBUG logging in xbmc and reproduce. we need a bit more output on this.

Offline

#396 2010-02-11 17:26:20

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: xbmc-git AUR package: discussion in here please

non I never started xbmc as root........

Offline

#397 2010-02-11 17:30:03

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: xbmc-git AUR package: discussion in here please

heres the crashlog with debug on
http://pastebin.com/f30ac0b6c

Offline

#398 2010-02-11 17:37:45

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-git AUR package: discussion in here please

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

#399 2010-02-11 17:54:21

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: xbmc-git AUR package: discussion in here please

ok, i'm compiling....

Offline

#400 2010-02-11 17:59:28

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: xbmc-git AUR package: discussion in here please

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

Board footer

Powered by FluxBB