Page 1 of 1

CGUITextureManager weirdness

Posted: Thu Dec 20, 2012 12:33 pm
by Smiff
ok this might be really minor but noticed this when scanning log after a crash

Code: Select all

11:24:17 M: 22253568  NOTICE: -->Python Initialized<--
11:24:20 M: 24616960 WARNING: CGUITextureManager::Load - Texture file Q:\plugins\video\TVCatchup\icon.png (1143316480 x 14088913) is too big! Reloading resized
11:24:20 M: 24596480   ERROR: CGUITextureManager::Load - Texture manager unable to load file: Q:\plugins\video\TVCatchup\icon.png

there is no icon.png in there.


similarly

Code: Select all

11:20:55 M: 45936640  NOTICE: load default skin:[xTV-SAF_v111]
11:20:57 M: 40222720  NOTICE: initialize done
11:20:57 M: 40202240  NOTICE: Running the application...
11:20:58 M: 35168256 WARNING: CGUITextureManager::Load - Texture file special://temp/weather/128x128/na.png (4158639 x 9658247) is too big! Reloading resized
11:20:58 M: 35147776   ERROR: CGUITextureManager::Load - Texture manager unable to load file: special://temp/weather/128x128/na.png
11:20:59 M: 34140160  NOTICE: start timeserver client

b31600

Re: CGUITextureManager weirdness

Posted: Fri Dec 21, 2012 1:42 am
by Dan Dar3
It's probably coming from this:
http://redmine.exotica.org.uk/projects/ ... anager.cpp

CGUITextureManager::Load() - might be cause the info is not initialized (zeroed) and if D3DXCreateTextureFromFileEx() failed, it goes on about logging the problem with whatever values info structure holds, and it checks the result later at the end.

Re: CGUITextureManager weirdness

Posted: Fri Dec 21, 2012 5:33 am
by BuZz
thanks dan - When I saw those large X x Y My first thought was a failure in uninitialised variables. However despite being broken/wrong this shouldn't cause any major issue other than the log etc.

Re: CGUITextureManager weirdness

Posted: Fri Dec 21, 2012 10:35 am
by Dan Dar3
@Buzz
Yes, you're right, it's not causing a problem, just incorrectly logging that.