• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 15
Bug Kernal killing xbmc task on 256 board
#1
Hi guys, as some of you know from the irc chats, Some of the 256m boards have been suffering xbmc restarts on all distros, this is mainly because of raspberryPI running out of memory, I have been posting about this in the forums, ie, Raspbmc, and tuxen has been talking about it over in OpenELEC, So i thought it would be better to bring it here, where everyone can look at it in one place.

Anyway it always occurs when watching HD media, streaming from the net on any addon, Popcornmix has been helping over in the raspbmc forum and sraue in openelec and gimli is looking in xbmc-pi

Anyways we need more people to find the cause.
here are 2 logs, the first just as the movie freeze`s and the 2nd just after xbmc task has restarted.

thanks for taking the time to read
Reply
#2
What would be useful is to play a video that crashes xbmc, and while it is running, ssh in and run top. Keep an eye on free memory and see if it gradually decreases.
I have a suspicion the effect is worse with software decode, and okay with passthrough.
It also seemed worse streaming from an internet plugin, that playing from nfs.

So, if you see the problem, what distribution and version of xbmc are you running.
Where are you playng the media from and what is the audio/video formats.
Are you using audio passthough? (e.g. DTS 5.1 through receiver).

Also, can you report the version of xbmc you believe the problem first occurred with.
Reply
#3
I will rerun the test and grab all results for you, I will run a full test ie, software decode first, then pass through, Will compile a propper post, The only thing I can be sure of is that it never used to happen on RaspBMC RC4,
Reply
#4
Trouble is that RC4 dates back about 4 months, so that doesn't narrow it down.
Using this:
http://openelec.thestateofme.com/
it should be possible to narrow it down to a single day. My guess is that it first occurred about 2 weeks ago, but I'm sure.

Reply
#5
No probs, i got some free time later, i will go through all the releases 1 by 1 untill i get to the 1 that causes the problemsSmile
Reply
#6
Openelec beta 4.Gui 720p. Xbmc freeze and restarted after 30 minutes watching online movie.(noobroom)



Reply
#7
(2012-12-10, 18:47)rbej Wrote: Openelec beta 4.Gui 720p. Xbmc freeze and restarted after 30 minutes watching online movie.(noobroom)
And audio? HDMI? Passthough enabled?
Reply
#8
Audio on tv. Hdmi.



Reply
#9
@rbje

You make your own OpenELEC builds. Could you try with this change reverted:
https://github.com/xbmc/xbmc/commit/7db6...ed3c2f8b0d

It reduces the usable memory by 33M, and I think may be responsible for some of the memory failures.
Reply
#10
Strange. I watch online movie on gui 1080p version OpenElec beta 4 and no frezzy and restart. This same movie on official version OpeneElec, freeze and restarted after 30 minutes. Maybe this is no memory problem.



Reply
#11
Well a little update i have tried with the official open Elec r12679, with audio passthrough enabled, got to about 30 mins in and picture frooze,
here is a log i took of the top command https://dl.dropbox.com/u/94360623/xbmc%2...g/xbmc.log

Tried again with Rbej r12679 and same thing happened, here is the top command log for that
https://dl.dropbox.com/u/94360623/xbmc%2...mc.old.log

Reply
#12
Try version with smaller video/audio buffer.

http://netload.in/dateit9keVpibhm/OpenEL...ar.bz2.htm

(2012-12-10, 20:56)popcornmix Wrote: @rbje

You make your own OpenELEC builds. Could you try with this change reverted:
https://github.com/xbmc/xbmc/commit/7db6...ed3c2f8b0d

It reduces the usable memory by 33M, and I think may be responsible for some of the memory failures.




Reply
#13
(2012-12-11, 09:39)rbej Wrote: Try version with smaller video/audio buffer.

http://netload.in/dateit9keVpibhm/OpenEL...ar.bz2.htm

(2012-12-10, 20:56)popcornmix Wrote: @rbje

You make your own OpenELEC builds. Could you try with this change reverted:
https://github.com/xbmc/xbmc/commit/7db6...ed3c2f8b0d

It reduces the usable memory by 33M, and I think may be responsible for some of the memory failures.

Thanks man, Have just tried it, same result i have to xbmc logs with debug enabled, this was with audio pass through on, pi is still a 256m board, but a differnt one to my normal testing PI
first log is after xbmc task restarted https://dl.dropbox.com/u/94360623/xbmc%2...2-2012.log
2nd log is while the movie was playing, https://dl.dropbox.com/u/94360623/xbmc%2...2-2012.log

I will be redoing the test again later today, this time with RaspBMC
Reply
#14
(2012-12-11, 10:04)jas0npc Wrote: Thanks man, Have just tried it, same result i have to xbmc logs with debug enabled, this was with audio pass through on, pi is still a 256m board, but a differnt one to my normal testing PI
first log is after xbmc task restarted https://dl.dropbox.com/u/94360623/xbmc%2...2-2012.log
2nd log is while the movie was playing, https://dl.dropbox.com/u/94360623/xbmc%2...2-2012.log

I will be redoing the test again later today, this time with RaspBMC
I think the log after xbmc restarts has no useful information in. If xbmc has restarted the interesting log witll be called .xbmc/temp/xbmc.old.log.
Reply
#15
Are there any other logs i can grab for you, I will grab the xbmc.log with debugging on, I will also run the "top" command and will copy and paste that into a log, are there any raspberryPI logs created anywhere that may help?, I have ordered 2 512 boards, but would still be nice to help nail this sucker Smile
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 15

Logout Mark Read Team Forum Stats Members Help
Kernal killing xbmc task on 256 board0