Topic: Widget Freezes

Hello everyone:

I've been working on a weather widget that fetches XML data from WeatherUnderground every second.
When I initially play it, it will keep working for about 11 minutes and than freeze.
Via SSH I do:
chumbyflashplayer.x -i widget.swf (and this is what I get)

Adobe FlashLite 3.1.7 Release (Version 9,1,122,0)- Chumby Industries (version 9 build 15-2913 [GCC 4.3.2])
Built for: falconwing; Features: Video ALSA ARM-optimizations
Build time: Tue 02Mar2010 1618
2010-07-19 02:28:31 TRACE: preload.swf v1.02
2010-07-19 02:28:44 SocketObject::Step() socket 21 connect failed, error 111 (Connection refused)
2010-07-19 02:40:21 MemoryObject::Alloc(0x4059461c) rejected request for 1 blocks (32K) - 12288K/12288K already in use
2010-07-19 02:40:21 MemoryObject::Alloc(0x4059461c) rejected request for 1 blocks (32K) - 12288K/12288K already in use
2010-07-19 02:40:21 SI_NotifyError: FATAL ERROR - Terminating player on error 1 (FI_OutOfMemoryError), faulting instance 1 is not slave instance
2010-07-19 02:40:21 ClientObject::DoUpdate(id=1 master Y): got FI_ActionScriptInterruptedByTimeoutWithError
2010-07-19 02:40:21 MemoryObject::<dtor>(mmobj=0x4059461c) SEVERE WARNING - destroying MemoryObject with 384 blocks still allocated!
2010-07-19 02:40:21 ChumbyVidStats::RuntimeCleanup(): 0 sessions started, 0 cancelled, originating pid=26010, last reporting pid=0
2010-07-19 02:40:21 err[1]: 2010-07-19 02:28:44 SocketObject::Step() socket 21 connect failed, error 111 (Connection refused)

2010-07-19 02:40:21 err[2]: 2010-07-19 02:40:21 MemoryObject::Alloc(0x4059461c) rejected request for 1 blocks (32K) - 12288K/12288K already in use

2010-07-19 02:40:21 err[3]: 2010-07-19 02:40:21 MemoryObject::Alloc(0x4059461c) rejected request for 1 blocks (32K) - 12288K/12288K already in use

2010-07-19 02:40:21 err[4]: 2010-07-19 02:40:21 SI_NotifyError: FATAL ERROR - Terminating player on error 1 (FI_OutOfMemoryError), faulting instance 1 is not slave instance

2010-07-19 02:40:21 err[5]: 2010-07-19 02:40:21 ClientObject::DoUpdate(id=1 master Y): got FI_ActionScriptInterruptedByTimeoutWithError

2010-07-19 02:40:21 Exiting _chumby_flashplayer_version=317.9.00015-2913
2010-07-19 02:40:21 Start time: 2010-07-19 02:28:31
2010-07-19 02:40:21 End time  : 2010-07-19 02:40:21
2010-07-19 02:40:21 Elapsed   : 11m 50s (710)
2010-07-19 02:40:21 main() - closing and deleting pid file /var/run/chumbyflashplayer.pid
2010-07-19 02:40:21 chumbyflashplayer main() - exiting, return code 0

My widget is 860x480 and has a size of 130K.
I have noticed that if I change the update interval to fetch XML data from 1 second to 15 seconds, this time it takes a couple hours before it freezes.

Can anyone suggest what might be going wrong?

Re: Widget Freezes

It appears to be leaking memory.