XBMC freezing from time to time.
#1
Hi!

My setup:
Asrock ION 330
Ubuntu Karmic 64bit (last update 2010-01-15)
XBMC (version 9.11-karmic1, installed from the PPA, http://ppa.launchpad.net/team-xbmc/ppa/ubuntu)


From time to time XBMC just freezes, there is some output in the log file when that happens. But I do no know _why_ it happens and how to prevent it. Please see the log output below for more information.

Does anyone know what the problem could be ?
All the folders in the log output _do_ exist on the system, their permissions are set to 700 and are therefore unaccessible to the XBMC user. What is XBMC trying to do with them in the first place ?

Code:
22:34:23 T:140443342628928 M:1693102080   DEBUG: Load Settings.xml: 10.60ms
22:34:23 T:140443342628928 M:1693102080   DEBUG: Alloc resources: 11.56ms (11.29 ms skin load)
22:34:23 T:140443236882704 M:1688911872   DEBUG: DoWork - took 244 ms to load special://skin/backgrounds/network.jpg
22:34:33 T:140443148876048 M:1692475392   DEBUG: Thread 140443148876048 terminating (autodelete)
22:34:53 T:140443236882704 M:1692499968   DEBUG: Thread 140443236882704 terminating (autodelete)
22:34:54 T:140443342628928 M:1692508160   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmc/system/ImageLib-x86_64-linux.so)
22:34:54 T:140443342628928 M:1692508160   DEBUG: Unloading: ImageLib-x86_64-linux.so
22:41:23 T:140443342628928 M:1668009984   ERROR: GetDirectory - Error getting /var/spool/cups/
22:41:23 T:140443342628928 M:1668009984   ERROR: GetDirectory - Error getting /var/spool/cron/crontabs/
22:41:23 T:140443342628928 M:1668009984   ERROR: GetDirectory - Error getting /var/spool/cron/atspool/
22:41:23 T:140443342628928 M:1668009984   ERROR: GetDirectory - Error getting /var/spool/cron/atjobs/
22:41:23 T:140443342628928 M:1668009984   ERROR: GetDirectory - Error getting /var/run/sudo/
22:41:23 T:140443342628928 M:1668009984   ERROR: GetDirectory - Error getting /var/run/cups/certs/
22:41:24 T:140443342628928 M:1667960832   ERROR: GetDirectory - Error getting /var/log/gdm/
22:41:25 T:140443342628928 M:1662128128   ERROR: GetDirectory - Error getting /var/lib/polkit-1/
22:41:25 T:140443342628928 M:1662193664   ERROR: GetDirectory - Error getting /var/lib/gdm/
22:41:27 T:140443342628928 M:1652137984   ERROR: GetDirectory - Error getting /var/cache/system-tools-backends/backup/
22:41:27 T:140443342628928 M:1651970048   ERROR: GetDirectory - Error getting /var/cache/ldconfig/
22:42:07 T:140443342628928 M:1516404736   ERROR: GetDirectory - Error getting /usr/lib64/ssl/private/
22:42:12 T:140443342628928 M:1514938368   ERROR: GetDirectory - Error getting /usr/lib/ssl/private/
22:42:22 T:140443342628928 M:1500102656   ERROR: GetDirectory - Error getting /tmp/virtual-mitja.jMll71/
22:42:23 T:140443342628928 M:1500102656   ERROR: GetDirectory - Error getting /tmp/pulse-SRRd5NyDvT7v/
22:42:23 T:140443342628928 M:1500102656   ERROR: GetDirectory - Error getting /tmp/orbit-mitja/
22:42:23 T:140443342628928 M:1500102656   ERROR: GetDirectory - Error getting /tmp/orbit-gdm/
22:42:23 T:140443342628928 M:1500102656   ERROR: GetDirectory - Error getting /tmp/libgksu-tzYq9s/
22:42:23 T:140443342628928 M:1500102656   ERROR: GetDirectory - Error getting /tmp/atop.d/

Regards.
Reply
#2
Please enable debugging and reproduce. Use pastebin and don't snip the log. There's no reason we should be in those directories, so I'd hazard to guess you've typoed a path for a source or something and we're trying to scan crap we don't have permissions to. Can't tell anything from that log though.
Reply
#3
althekiller Wrote:Please enable debugging and reproduce. Use pastebin and don't snip the log. There's no reason we should be in those directories, so I'd hazard to guess you've typoed a path for a source or something and we're trying to scan crap we don't have permissions to. Can't tell anything from that log though.

Yes, the log does not help you determine the source of the problem.
Judging by the "DEBUG" keyword in the log I had provided I assumed debugging mode was ON.
How can I enable an even more verbose output ?

I did not change any paths manually. The only paths were added by using the
GUI.

Will use pastebin in the future.
Reply
#4
Well now... I'd say it's scanning my /
Here is my sources.xml on pastebin
Reply
#5
Hi,

I have a very similar problem. My XBMC freezes after a few minutes on inactivity. This never happens when watching videos.

My setup is Camelot 9.11 Live installed onto another USB stick. I have mostly followed the guide at http://www.mini-itx.com/projects/xbmc-ion/

Symptoms are usually the same. After about 3 minutes of inactivity, CPU usage of the xbmc.bin process jumps to about 99% - this is exactly the same moment when the last few lines are written to xbmc.log - full log contents here.

In this state however there is no problem with closing XBMC (over SSH) with:

sudo service xbmc-live stop

Here is my sources.xml.

Any ideas why is this happening? I am eager to provide additional info about my setup if necessary.

Regards.
Reply
#6
In my case it turned out to be trivial...

I have set up a 'Slideshow' screensaver, but I had not provided any directory with pictures to be shown. Apparently the screensaver got confused, started scanning from the root directory of the file system (/) and got stuck somewhere...

Changing the screensaver to plain blank screen solved the problem.

Hopefully this will help others who have similar issues.
Reply
#7
starypatyk Wrote:...
Changing the screensaver to plain blank screen solved the problem.
...

It seems that the screensaver gets confused and starts scanning the / if there is no path given for the "Slideshow folder".
Try the following:
Go to SYSTEM -> APEARANCE -> SCREENSAVER
and set it to some empty folder. That did the trick for me.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC freezing from time to time.0