cachemanager.xml filled with zeros causing client to crash

Asked by Bartek

Hello,

From time to time some of my clients have problems with saving cachemanager (as far i can guess reason), instead of correct content there only zeros in that file (It never happened in 1.0.x client, started on 1.2.x and its very rare - happened 5 times for now on 92 clients).
When there is such file saved, client crashing just after start instead of considering that file broken and regen it.

Details (cache.xml, shedule.xml, runlog) placed in http://czajkowski.net/~czajka/xibo/

I guess that client should try to regen cachemanager at first instead of starting playback immediately...

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Garner
Solved:
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

The client should do exactly what you describe... in fact just after the below lines in your log, that is exactly what it does:

Oct 3 14:15:28 10.168.115.130 XiboClient[2000]: <message>Unable to reuse the Cache Manager because: There is an error in XML document (0, 0).</message><method>Schedule</method>

However, I think I see the problem.... the 1.2 client will attempt to continue playback while the new cache manager object is being created... this would be OK except that all media will be considered invalid until it rebuilds, so the same layout will attempt to load repeatedly until it has a valid cachemanager.

Could you check the value of your "Duration for empty regions" setting? It should be set to 10 or so, I suspect yours is 0. With it set to 10 there will be a pause before the layout is reloaded, giving the cachemanager more time to rebuild.

Revision history for this message
Bartek (czajka) said :
#2

It's set to 10 :) I've checked that when found in log that client reloading layout rapidly.

Revision history for this message
Bartek (czajka) said :
#3

I can't see any output about rebuilding cache manager. I guessing that client it's so busy about reloading empty layout so there is no time for rebuilding cache, right?

Revision history for this message
Best Dan Garner (dangarner) said :
#4

Ah yes, I see... it doesn't know it is empty at that point, i'll file a bug.

Revision history for this message
Bartek (czajka) said :
#5

Thanks Dan Garner, that solved my question.