Posts: 117
Joined: Dec 2008
Reputation:
2
PSA: Anyone building the Win32 dll from source, if you get an error when loading it in XBMC like "Add-on could not be loaded. An unknown error has occurred" then it's because you don't have the same runtime environment installed (i.e. vcredist) that it was compiled with. I compiled with Visual Studio 2012 and had to install the 2012 sp1 runtime environment on the XBMC machines to get it working.
I believe there's a Preference on the project level to point it to an older runtime, but I didn't go down that route.
Anyways, hopefully this helps as I couldn't find any answers in the thread about it.
Posts: 16
Joined: Dec 2012
Reputation:
0
Same issue here with mythbackend CPU load creeping away with OpenElec frontend.
Restarting the backend fixes the problem. I need to do it every day or so.
I do not see this if I leave OpenElec PVR function off and use my desktop frontend.
Backend is 0.26 on Debian Wheezy, kept up to date with deb-multimedia repo.
This is a day-one issue for me. First noticed this in November.
Posts: 374
Joined: Jul 2011
Reputation:
20
Of cause this is something we need to resolve. But I didn't see this on my backend.
Thanks for your efforts so far! It would be nice if you could answer a few questions (as detailed as possible), so that I get an idea of where to start looking.
- Is your backend always running or does it go to standby?
- Is your xbmc frontend always running? Do you shutdown xbmc or does it go to standby?
- Does memory usage increase over time?
- How about idle loads? From what I understood, idle is always good, you only see the difference when starting playback.
- Does the cpu usage increase over time or does the number of playback starts/stops matter? If you start and stop plenty of recordings can you reproduce it then within a couple of minutes?
- Anything suspicious in the backend/xbmc logs?
Thanks! Christian
Posts: 11
Joined: Nov 2012
Reputation:
0
martyg
Junior Member
Posts: 11
@cftezer
See my earlier post for configutation.
Backend and frontend are running 24/7. Standy is disabled.
Backend is stable, but RPi freezes up frequently when cMyth is enabled, which I correct with Rpi restart.
(I see load averages 7+, IO CPU% pegged, XMBC process starved out, free memory ~8MB after freeze, normal is 10-12MB)
I have seen this behavior on OpenELEC and RaspBMC - Only when cMyth plugin is enabled.
I cannot see nay obvious memory leaks on the frontend side.
Observed Idle/running loads on backend for me are 1%/10% when good, 10%/60% once backend needs a restart.
This slowly increases over time. I can usually go a whole evening before having to restart the backend.
I think the Myth backend runaway is a side effect of the frontend constantly dropping out, and the backend not cleaning up.
Nothing obvious to report from the logs.
Thanks for looking at this annoying problem. Best regards.
Posts: 374
Joined: Jul 2011
Reputation:
20
Great, thanks. I know it takes time. This version is still fully functional (it just has no images). Sorry for the inconvenience.
Posts: 83
Joined: Nov 2012
Reputation:
1
@cfetzer
I built the latest master (1.6.9 now) still same issue. Any ideas on what the issue could be?
Posts: 83
Joined: Nov 2012
Reputation:
1
2013-02-09, 22:04
(This post was last modified: 2013-02-09, 22:05 by simora.)
The image for this box does not have strace or a build environment in it. I need to build a new image with strace in it. This will take some time. I'll get back to you when I have it all built and strace run. Thank you for helping me out on this.