Memory Crash

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #1
Windows 7
RC 2
DEBUG LOG
Full .xml thats causing error

For some reason changing line 4 from:

<control type="list" id="8000">
to
<control type="wraplist" id="8000">

causes a unstoppable memory leak that crashes my computer if I dont catch it in time, I have 7 seconds I have to 'end process' via Windows Task Manager before all RAM is taken up.

Now I dont need this to be a "wraplist" I was just trying to reverse engineer an effect 'black had in his Xpirence skin but regardless I dont think we want memory leaks that crash the computer...

If need full skin to debug, PM me as I dont want skin public yet...

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,284
Joined: Jun 2006
Reputation: 57
Location: Earth
Post: #2
Just as a test try setting the preloaditems to ZERO I found with SLik that if I put preload items to a number that ended up being more than the total items available my cpu would go crazy with a wrap list

eg: having 4 menu items but all 4 + 1 wrap was visible on the screen so it has already "wraped" but was still trying to preload

Basically if the same item was on the screen more than once Smile and it was also pre loading

eg: this commit https://github.com/JezzX/skin.SLik/commi...16be3fdb5a (ignore the weather bit it got in the wrong commit)
(This post was last modified: 2012-03-05 07:39 by Jezz_X.)
find quote
pieh Offline
Team-XBMC Member
Posts: 672
Joined: Aug 2010
Reputation: 13
Location: Poland
Post: #3
@mcborzu
Could You share part of your skin to reproduce the problem? that .xml is not enough as there are some unresolved includes.

(Posted here just in case - maybe yesterday's PM was lost in traffic Tongue)

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,262
Joined: Aug 2007
Reputation: 80
Location: Eastleigh, UK
Post: #4
While we're on the discussion of wraplists -

Can I refresh you on the other problem where focus animations only work every other time when there are repeated items in a wraplist?

Thanks.

EDIT: Trac'd
(This post was last modified: 2012-03-06 14:10 by Hitcher.)
find quote
pieh Offline
Team-XBMC Member
Posts: 672
Joined: Aug 2010
Reputation: 13
Location: Poland
Post: #5
@Hitcher:
seems like Your code didn't get pasted on trac - could You re-attach it there?

--- edit ok - it's there now, thanks! Smile

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
(This post was last modified: 2012-03-06 14:23 by pieh.)
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,262
Joined: Aug 2007
Reputation: 80
Location: Eastleigh, UK
Post: #6
pieh Wrote:@Hitcher:
seems like Your code didn't get pasted on trac - could You re-attach it there?

Or I forgot to add it. Oo
find quote
pieh Offline
Team-XBMC Member
Posts: 672
Joined: Aug 2010
Reputation: 13
Location: Poland
Post: #7
@mcborzu
Fixed crash in 0c276ec8 . Thx for files needed to reproduce.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,262
Joined: Aug 2007
Reputation: 80
Location: Eastleigh, UK
Post: #8
(2012-03-17 12:01)pieh Wrote:  @mcborzu
Fixed crash in 0c276ec8 . Thx for files needed to reproduce.

Does this have any effect on the focus animation problem?

Thanks.
find quote
pieh Offline
Team-XBMC Member
Posts: 672
Joined: Aug 2010
Reputation: 13
Location: Poland
Post: #9
(2012-03-17 14:51)Hitcher Wrote:  Does this have any effect on the focus animation problem?
No, I will be trying to push fix for that issue today. I had working/ugly fix ready earlier but deleted it by mistake and didn't have time earlier - will re-do it from memory now. Will let You know when it gets in (in addition to trac notyfing mail You will get when I close ticket Wink )

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,262
Joined: Aug 2007
Reputation: 80
Location: Eastleigh, UK
Post: #10
Good to know it's fixable.

Thanks.
(This post was last modified: 2012-03-17 18:44 by Hitcher.)
find quote
peter200285 Offline
Junior Member
Posts: 2
Joined: Mar 2012
Reputation: 0
Post: #11
I am also facing same problem, and the below solution not work for me, any other solution?


(2012-03-05 05:46)mcborzu Wrote:  Windows 7
RC 2
DEBUG LOG
Full .xml thats causing error

For some reason changing line 4 from:

<control type="list" id="8000">
to
<control type="wraplist" id="8000">

causes a unstoppable memory leak that crashes my computer if I dont catch it in time, I have 7 seconds I have to 'end process' via Windows Task Manager before all RAM is taken up.

Now I dont need this to be a "wraplist" I was just trying to reverse engineer an effect 'black had in his Xpirence skin but regardless I dont think we want memory leaks that crash the computer...

If need full skin to debug, PM me as I dont want skin public yet...
find quote
pieh Offline
Team-XBMC Member
Posts: 672
Joined: Aug 2010
Reputation: 13
Location: Poland
Post: #12
(2012-03-17 19:11)peter200285 Wrote:  I am also facing same problem, and the below solution not work for me, any other solution?
If this is same problem - check if focusedlayout width (for horizontal orientation) or height (vertical) is greater than container width/height. It might be also something else - in that case give me more details so I can fix it Smile

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

My previous forum/trac nickname: grajen3
find quote
peter200285 Offline
Junior Member
Posts: 2
Joined: Mar 2012
Reputation: 0
Post: #13
Yes you are right the problem was in focusedlayout's width and now its solved, thanks pieh for helping me out.


(2012-03-17 20:32)pieh Wrote:  
(2012-03-17 19:11)peter200285 Wrote:  I am also facing same problem, and the below solution not work for me, any other solution?
If this is same problem - check if focusedlayout width (for horizontal orientation) or height (vertical) is greater than container width/height. It might be also something else - in that case give me more details so I can fix it Smile
find quote
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #14
@pieh

Thanks for checking into this

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find quote