Topic: widget crashes

My widget lets the chumby crash with certain videos. I really have no
clue where this failure comes from.

widget: http://www.chumby.com/guide/widget/Flas … o%20Player
video that crashes the chumby:
http://ash-v269.ash.youtube.com/get_vid … amp;sver=2

Re: widget crashes

2008-03-25 20:38:12 > ALSA Playback Initialized (with hwsync = 1)
2008-03-25 20:38:12 > format : SND_PCM_FORMAT_S16_LE
2008-03-25 20:38:12 > sample_rate : 44100 hz
2008-03-25 20:38:12 > channels : 2
2008-03-25 20:38:12 > chunk size : 64 frames [256 bytes]
2008-03-25 20:38:12 > buffer size : 16384 frames [65536 bytes]
2008-03-25 20:38:12 > samples per pump : 8
2008-03-25 20:38:12 > bytes per pump : 32
2008-03-25 20:38:12 > bytes per buffer : 2048
2008-03-25 20:38:12 > sound buffers : 16
2008-03-25 20:38:12 > silence threshold : 8192
2008-03-25 20:38:12 SoundObject::Open() opened device "plug:dmixer"
2008-03-25 20:38:12 TRACE: 179

Re: widget crashes

2008-03-25 20:38:12 ChumbySigAction() got SIGSEGV, exiting immediately!
2008-03-25 20:38:12 siginfo.si_errno=0, si_code=1 (SEGV_MAPERR)
2008-03-25 20:38:12 offending address is 0x717fffb3
2008-03-25 20:38:12 R0 (r0) = 0x00000000 (0)
2008-03-25 20:38:12 R1 (r1) = 0x0015ff7c (1441660)
2008-03-25 20:38:12 R2 (r2) = 0x00000000 (0)
2008-03-25 20:38:12 R3 (r3) = 0x1f407c3c (524319804)
2008-03-25 20:38:12 R4 (r4) = 0x40a9f108 (1084879112)
2008-03-25 20:38:12 R5 (r5) = 0x0006e0f0 (450800)
2008-03-25 20:38:12 R6 (r6) = 0x00000001 (1)
2008-03-25 20:38:12 R7 (r7) = 0x000000a0 (160)
2008-03-25 20:38:12 R8 (r8) = 0x40ad03e8 (1085080552)
2008-03-25 20:38:12 R9 (r9) = 0x00000000 (0)
2008-03-25 20:38:12 R10 (r10) = 0x00000000 (0)
2008-03-25 20:38:12 R11 (r11) = 0x40a9ce44 (1084870212)
2008-03-25 20:38:12 R12 (r12) = 0x0006e3a8 (451496)
2008-03-25 20:38:12 R13 (sp) = 0x0000000f (15)
2008-03-25 20:38:12 R14 (lr) = 0x40ac7b98 (1085045656)
2008-03-25 20:38:12 R15 (pc) = 0x00000001 (1)

Re: widget crashes

2008-03-25 20:38:12 ChumbyPipeObject::ChumbyPipeCleanup() starting, g_send = 0x001a4578 g_recv = 6
2008-03-25 20:38:12 ChumbyPipeObject::ChumbyPipeCleanup() closing chumbpipe 0x001a44c8
2008-03-25 20:38:12 ChumbyPipeObject::ChumbyPipeCleanup() completed
2008-03-25 20:38:12 Start time: 2008-03-25 20:37:53
2008-03-25 20:38:12 End time  : 2008-03-25 20:38:12
2008-03-25 20:38:12 Elapsed   : 19s (19)

the post was too big ;( sorry

Re: widget crashes

OK, we'll look in to it.  There's a strong possibility that we've fixed this for an upcoming firmware update.  If the problem occurs after the next update, please let us know.

Re: widget crashes

Usually this problem occurs only under certain channel mix conditions and after a certain amount of runtime. Since it's sporadic and not easy to reproduce, it's hard to say but it might be addressed in the next update (not in 1.5).

If you can provide steps to reproduce it consistently (or at least 50% consistently) that will help immensely.

Thanks.

7 (edited by wrybread 2008-04-04 13:39:40)

Re: widget crashes

Interesting, I'm getting crashes on my jukebox program I'm working on that sometimes references pipe cleanup too.

Have you tried SSH-ing into your chumby and looking at the output of top? (For anyone who doesn't know, top shows you the cpu and RAM consumption of the top running processes). On another one of my widgets I had some RAM creep, where it would slowly consume more and more RAM, and once it reached the max I started getting weird errors.