Kodi Community Forum
Bug Kernal killing xbmc task on 256 board - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: Bug Kernal killing xbmc task on 256 board (/showthread.php?tid=147872)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Kernal killing xbmc task on 256 board - jas0npc - 2012-12-10

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


RE: Kernal killing xbmc task on 256 board - popcornmix - 2012-12-10

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.


RE: Kernal killing xbmc task on 256 board - jas0npc - 2012-12-10

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,


RE: Kernal killing xbmc task on 256 board - popcornmix - 2012-12-10

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.




RE: Kernal killing xbmc task on 256 board - jas0npc - 2012-12-10

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


RE: Kernal killing xbmc task on 256 board - rbej - 2012-12-10

Openelec beta 4.Gui 720p. Xbmc freeze and restarted after 30 minutes watching online movie.(noobroom)


RE: Kernal killing xbmc task on 256 board - popcornmix - 2012-12-10

(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?


RE: Kernal killing xbmc task on 256 board - rbej - 2012-12-10

Audio on tv. Hdmi.


RE: Kernal killing xbmc task on 256 board - popcornmix - 2012-12-10

@rbje

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

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


RE: Kernal killing xbmc task on 256 board - rbej - 2012-12-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.


RE: Kernal killing xbmc task on 256 board - jas0npc - 2012-12-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%20log%20testing/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%20log%20testing/xbmc.old.log




RE: Kernal killing xbmc task on 256 board - rbej - 2012-12-11

Try version with smaller video/audio buffer.

http://netload.in/dateit9keVpibhm/OpenELEC-RPi.arm-devel-20121210222247-r12679.tar.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/7db6c9cf004bba1fdf0cb1bc347b39ed3c2f8b0d

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




RE: Kernal killing xbmc task on 256 board - jas0npc - 2012-12-11

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

http://netload.in/dateit9keVpibhm/OpenELEC-RPi.arm-devel-20121210222247-r12679.tar.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/7db6c9cf004bba1fdf0cb1bc347b39ed3c2f8b0d

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%20log%20testing/xbmc-11-12-2012.log
2nd log is while the movie was playing, https://dl.dropbox.com/u/94360623/xbmc%20log%20testing/xbmc.old--11-12-2012.log

I will be redoing the test again later today, this time with RaspBMC


RE: Kernal killing xbmc task on 256 board - popcornmix - 2012-12-11

(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%20log%20testing/xbmc-11-12-2012.log
2nd log is while the movie was playing, https://dl.dropbox.com/u/94360623/xbmc%20log%20testing/xbmc.old--11-12-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.


RE: Kernal killing xbmc task on 256 board - jas0npc - 2012-12-11

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