Topic: Chumby 8 issues

I have had my C8 for a couple months now and have had issues getting my widget working. Thanks to the wealth of info in the forums and Wiki I was able to get the Widget working and uploaded to Chumby as a private widget in order to test on my device.

Device Info:
Control Panel Version: 5.0.30
Software Version: 1.8.2
Firmware Version: 1.8.3883
Model # 9.9

A few things I have not been able to find/workout:

1) I have not found any examples or documentation on building the configuration swf (to be uploaded with the widget swf) in AS3. I do not know AS2 well enough to map the example provided over. Any help I can get is appreciated.

2) My device seems to have a similar issue as older posts with re-initializing the control panel about every 30 minutes. I set my preferences to run forever on my app to test it. This is reported in the forums but I have not been able to get any of the recommendations to work.

3) I used the debugchumby to run my widget directly from the USB drive and have the same issue as above. When I run the movie in flash player  on PC, it runs for hours without hiccup.

4) I read that the profile.xml hack to merge local widgets into a channel is not supported on C8, is that a consideration for near future releases? There is a lot of chatter about needing to have the "offline" capability and I definitely need to leverage that to make this product a success as part of our business offering.

Any help or guidance is appreciated.

Re: Chumby 8 issues

Here is the trace for the issue with it stopping my widget after about 30 minutes. You will notice that the last line just says "Killed" then the widget just freezes and I have to reboot.

Sent username "root"
chumby-30-8c-70:~ # stop_control_panel
*** stopping control panel
*** killing registered flashplayer pid: 1099
Adobe FlashLite 4.0.2 Release (Version 10,1,48,3)- Chumby Industries (version 10
build 62-3883 [GCC 4.3.2])
Portions copyright (C) 2005-2010 Chumby Industries, Inc.
Built for: silvermoon; Features: Video ALSA ARM-optimizations
Build time: Thu 07Jul2011 1316
chumbyflashplayer.x: sending signal 15 (SIGTERM) to running instance 1099
chumbyflashplayer.x: registered instance 1099 appears to have terminated
btplay client v1.4.1.38.50
Connected to btplayd instance 1098
Got response: OK 1003 flashplayer exit
Ignoring mismatched response 1003, expected 100
Got response: OK 100 quit
Matched request 100
Waiting 500ms for process to terminate
Continuing...
*** killing btplayd (SIGTERM): 1098
*** killing btplayd (SIGKILL): 1098
chumby-30-8c-70:~ # chumbyflashplayer.x -i /mnt/usb/NurseConsole.swf
Adobe FlashLite 4.0.2 Release (Version 10,1,48,3)- Chumby Industries (version 10
build 62-3883 [GCC 4.3.2])
Portions copyright (C) 2005-2010 Chumby Industries, Inc.
Built for: silvermoon; Features: Video ALSA ARM-optimizations
Build time: Thu 07Jul2011 1316
Playback device is default
Stream parameters are 44100Hz, S16_LE, 2 channels
2011-08-20 02:30:35 TRACE: The image retrieved is images/green.jpg
2011-08-20 02:30:35 TRACE: ALARM:N201 - Carol Goodyea... | 22:35 | ACK | 3
2011-08-20 02:30:35 TRACE: ALARM:E407- Jason Wright | 1:17 |  | 2
2011-08-20 02:30:35 TRACE: ALARM:S107 - Bathroom | 0:35 |  | 1
...
... Trace output is consistent during this time. removed to reduce file size
...
2011-08-20 02:34:16 StreamObject::RequestForStreamID() can't find streamId 1540
2011-08-20 02:34:16 StreamObject::CancelURLStream(1540) not found
2011-08-20 02:34:16 TRACE: ALARM:N201 - Carol Goodyea... | 22:35 | ACK | 3
2011-08-20 02:34:16 TRACE: ALARM:E407- Jason Wright | 1:17 |  | 2
2011-08-20 02:34:16 TRACE: ALARM:S107 - Bathroom | 0:35 |  | 1
Killed
chumby-30-8c-70:~ #

Re: Chumby 8 issues

For the sake of logging and in the event anyone else has this issue with the Chumby 8 reloading on them, I caught the trace of what occurs right before this occurs.

<!----Error that was traced when system re-initiated---->

2011-08-21 11:24:19 SI_NotifyError(0x419026bc): Error 1 (FI_OutOfMemoryError)
2011-08-21 11:24:19 ClientObject::DoUpdate(id=5 master=n): got FI_FrameBufferNot               UpdatedWithError
2011-08-21 11:24:19 StreamObject::RequestForStreamID() can't find streamId 2121
2011-08-21 11:24:19 StreamObject::CancelURLStream(2121) not found
2011-08-21 11:25:04 chumbySignalHandler(15) SIGTERM - requested termination
Killed
switching to fb0
root: /usr/chumby/scripts/start_control_panel[5399]: chumbyflashplayer.x process exited with: 1
chumby-30-8c-70:~ #

So it appears there may be a memory leak if it is running out. The final statement of "killed" is the same as when I run the app locally from the USB drive.

Any thoughts on what may be causing this?

Re: Chumby 8 issues

I notice that i see a lot of the
2011-08-21 11:24:19 StreamObject::RequestForStreamID() can't find streamId 2121
2011-08-21 11:24:19 StreamObject::CancelURLStream(2121) not found

traces and the stream number is incremental. I have run other widgets and did not see this though I am not sure what in my code could produce this. I do have a couple web service calls to get data, but the traces I put in show up and populate the data.

I have searched this before and did not find any relevant information so any input is appreciated. The one thread I found (here) refers to a bug in the Flash Lite player. But since that was 3 1/2 years ago and a different product I assume it is unrelated. Also, I am not unloading my Widget and loading another.

Re: Chumby 8 issues

BTW...the errors listed above do not show up in flash when running in test mode or on a PC. Another clue that it may be the device and not in my programming. Or a difference in the Flash Player Light and the regular version ;-)