Dharma crashes frequently on Lucid 64 bit
#1
Hi folks,

I know that Dharma is still in beta testing stage, and that I can not ask for a stable working system, so my main point is to report an issue that I have been having for quite long since upgrade from 9.11: crashing. XBMC just crashes after running a while, and that happens with different playbacks: movies, radio (pandora) or musics. I tried to look at the log to see if I can grab something, but honestly it is far beyond my ability Smile.

OK, so here is my specs:
* Linux distribution: Ubuntu 10.04
* Architecture: x86_64
* uname -a: Linux iQ9300 2.6.31-11-rt #154-Ubuntu SMP PREEMPT RT Wed Jun 9 13:40:34 UTC 2010 x86_64 GNU/Linux
* Installed method: SVN PPA
* SVN: 33324
* Skin: Confluence, Mini Meedia
* Hardware specs: Q9300 overlocked to 3GHz, 8 GB RAM, Nvidia GeForce GTX 260

Following is two logs file after a crash:
* Crash log: http://pastebin.com/6BSXgSPJ
* xbmc.log before crash: http://pastebin.com/i2eec88r

Not sure if that is all information needed, but please let me know anything that helps for digging out the problem, I will try my best (even some coding / testing etc...)

Thanks for such a wonderful Media Center,

D.
Reply
#2
Since you have upgraded this can cause some problems, try a clean .xbmc
Reply
#3
Oh right.. this happens with mono audio files. I had it on my todo list to look at.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
elupus Wrote:Oh right.. this happens with mono audio files. I had it on my todo list to look at.
Sounds like something is not right. Could you elaborate a little bit to open up my tiny knowledge? I saw people having "pass through" sound but could not understand what it is. Is that for digital sound only which uses HDMI or optical cable? Mine uses a speaker jack plugged into the sound card only. And I have not used the HDMI ability of my GTX 260 yet.

Also, from what I can see from the logs, I use Analog output, hence all other options for digital or HDMI should be disable such as DTS, AC etc..., but the log does say that they are all enabled. Is it normal?

Finally, should I use a brand new .xbmc folder (with the backup sql data I think, I do not want to run a brand new scan of thousands of movies and musics again!) or should I wait for your answer elupus?

Thanks,

D.
Reply
#5
your source file is a mono audio file. (ie one channel of audio). this get's converted to 2 channels on output. i'm quite sure this is what crashes
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
Hi dukevn,

Seems like there is a bug in Pulse when the channel count is increased to output dual mono. I will have a look at this for you and see if I can sort it out.
I am not scared of SVN - Cutting my hands open on the bleeding edge.
Reply
#7
Found and fixed the problem in trunk (r33414) and ported to Dharma (r33415).
Please re-test
I am not scared of SVN - Cutting my hands open on the bleeding edge.
Reply
#8
gnif Wrote:Found and fixed the problem in trunk (r33414) and ported to Dharma (r33415).
Please re-test
Sorry, but how do I get the fixed version? I checked ubuntu svn ppa but no updates available, so it should be in source. Checking source (http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk), I see the version is 33429. Should I get that?

Thanks,

D.
Reply
#9
Yes.

Checkout svn HEAD and build to test.
Reply
#10
hudo Wrote:Yes.

Checkout svn HEAD and build to test.
Great. Thanks. Testing it now and I will report back shortly.

D.
Reply
#11
hudo Wrote:Yes.

Checkout svn HEAD and build to test.
Unfortunately the crash still happened after 1.5 hrs. Sorry that I compiled the source (r33433) with the --disable-debug flag so the logs are not debug logs:

* xbmc.log: http://pastebin.com/xGzxdSrB
* crash log: http://pastebin.com/L2Pgs7UZ

I am trying with debug enable, so hopefully I will have debug logs later.

Thanks,

D.
Reply
#12
dukevn Wrote:Unfortunately the crash still happened after 1.5 hrs. Sorry that I compiled the source (r33433) with the --disable-debug flag so the logs are not debug logs:

* xbmc.log: http://pastebin.com/xGzxdSrB
* crash log: http://pastebin.com/L2Pgs7UZ

I am trying with debug enable, so hopefully I will have debug logs later.
So I recompiled with r33463 with trunk (http://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/) and ran some movies for a while. The crash happened again after about an hour. Below are the debug logs:

* xbmc.log: http://pastebin.com/qfUGDn7f
* crash log: http://pastebin.com/906aaGLD

Hopefully this can help a little bit in fixing and improving Dharma.

Thanks,

D.
Reply
#13
Just another report. XBMC still crashes with r33506 Dharma Branches, with a clean .xbmc folder (addons and userdata backed up). Below is the two debug logs:

* xbmc.log: http://pastebin.com/yjBq1TTZ
* crash log: http://pastebin.com/XSu3z58G

Thanks,

D.
Reply
#14
Just a quick update. After reading a lot of complaining about PulseAudio introduced in Ubuntu 9.10/10.04, I decided to fully uninstall it and installed ALSA instead, to see if it helped. And it did help! My Dharma branch is running just fine now a few day without any crash.

So it turns out to be PulseAudio causing that. Hope this helps other having similar issues.
Reply
#15
Very nice catch, thanks for the update.
Reply

Logout Mark Read Team Forum Stats Members Help
Dharma crashes frequently on Lucid 64 bit0