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ojOCAgMHgwODA0YjhhZiBpbiBN SEVHRW5naW5lX3J1biAoKSBhdCBNSEVHRW5naW5lLmM6MjQwCiM5ICAweDA4MDRiM2QyIGluIG1h aW4gKGFyZ2M9MywgYXJndj0weGJmYWVhMWM0KSBhdCByYi1icm93c2VyLmM6MTE0CgpBcHBhcmVu dGx5IHNyYy0+ZGF0YSBpcyBiYWQuCgooZ2RiKSBwcmludCAqZHN0CiQzID0ge3NpemUgPSAxNiwg ZGF0YSA9IDB4ODEwOGE5MCAicO+/vVwwMTdcYu+/vVwyMTJcMDIwXGJcYu+/vVwwMTdcYljvv71c MDE3XGLvv71cMDAyIn0KKGdkYikgcHJpbnQgKnNyYwokNCA9IHtzaXplID0gMTYsIGRhdGEgPSAw eDExIDxBZGRyZXNzIDB4MTEgb3V0IG9mIGJvdW5kcz59CgpJZiB5b3Ugd2FudCB0aGUgbG9nICgt diksIGhlcmUgaXQgaXMKCmh0dHA6Ly94b29tZXIuYWxpY2UuaXQvZW5vZGV0dGkvbG9nL2xvZy50 eHQuYnoyCgpIb3BlIGl0IGhlbHBzLgoKQW5kcmVhCg== |
|
From: Simon K. <s.k...@er...> - 2007-08-20 09:42:15
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
thanks for the bug report - I've just commit a fix that should
stop the seg fault - revision 322.
PS: I couldn't bunzip2 your log file when I downloaded it - it
said the file was corrupt - but I managed to work out what was happening
from the stack trace
Mario Rossi wrote:
> Hi,
>
> I've having this seg fault with BBC teletext.
> I run rb-download as
>
> rb-download -f channels.conf 4164
>
> This is the output on the console
>
> Unknown PID for association tag 104
>
> And this is the browser.
>
> rb-browser -d services/4164
>
> Then I press R, I select Sport -> Sport in video and always get the error.
> Alternative: it happens if I select the first entry in the top menu
> (the one above news multiscreen).
>
> I'm using latest SVN (release 321).
> Here is the message from gdb
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1218345264 (LWP 11930)]
> 0x0809718b in OctetString_copy (dst=0x80aa84c, src=0x80e9410) at
> der_decode.c:274
> 274 memcpy(dst->data, src->data, src->size);
>
> and the backtrace
>
> #0 0x0809718b in OctetString_copy (dst=0x80aa84c, src=0x80e93a0) at
> der_decode.c:274
> #1 0x0804c11a in MHEGEngine_quit (reason=QuitReason_Retune,
> data=0x80e93a0) at MHEGEngine.c:485
> #2 0x08098322 in si_tune_index (index=-1) at si.c:92
> #3 0x0806ac6d in prog_SI_TuneIndex (params=0x80defe8,
> caller_gid=0x80fee78) at ResidentProgramClass.c:982
> #4 0x08069690 in run_program (p=0x80d1384, params=0x80defe8,
> caller_gid=0x80fee78, forked=false) at ResidentProgramClass.c:298
> #5 0x08069413 in ResidentProgramClass_Call (p=0x80d1384,
> params=0x80f888c, caller_gid=0x80fee78) at ResidentProgramClass.c:164
> #6 0x0805c2ec in ElementaryAction_execute (e=0x80f8888,
> caller_gid=0x80fee78) at ElementaryAction.c:138
> #7 0x0804d0e0 in MHEGEngine_processMHEGEvents () at MHEGEngine.c:974
> #8 0x0804b8af in MHEGEngine_run () at MHEGEngine.c:240
> #9 0x0804b3d2 in main (argc=3, argv=0xbfaea1c4) at rb-browser.c:114
>
> Apparently src->data is bad.
>
> (gdb) print *dst
> $3 = {size = 16, data = 0x8108a90 "p�\017\b�\212\020\b\b�\017\bX�\017\b�\002"}
> (gdb) print *src
> $4 = {size = 16, data = 0x11 <Address 0x11 out of bounds>}
>
> If you want the log (-v), here it is
>
> http://xoomer.alice.it/enodetti/log/log.txt.bz2
>
> Hope it helps.
>
> Andrea
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Redbutton-devel mailing list
> Red...@li...
> https://lists.sourceforge.net/lists/listinfo/redbutton-devel
- --
Simon Kilvington
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGyWGBmt9ZifioJSwRAn2XAJ9xmpLXcrziVwvYtPz09eZf9i/ddwCcDaEl
oFALXCE/bRn/HRBSsXDU9vk=
=MqOv
-----END PGP SIGNATURE-----
|
|
From: Mario R. <mar...@go...> - 2007-08-20 18:36:18
|
I've tried it. It does not crash any more, I get the error message SI_TuneIndex: invalid service index (-1); range is 0-0 I've tried with the TV, and what happens is that Sport -> Sport in video sends you to page 1001, the same as the News Multiscreen, which with redbutton I cannot access either. I will repost my log in the same location (http://xoomer.alice.it/enodetti/log/log.txt.bz2), just for reference. As a side, I can report that there has been an improvement with video: 1) the video and the audio are good 2) video ratio is wrong, 4:3 instead that 19:9 3) I still get a lot of warnings: [mp3 @ 0xb7dd4c20]incorrect frame size 4) if I may, I would suggest to disable the ability to resize the window, which gives a not too nice effect of part of the screen not updated (in case it is made bigger) On 8/20/07, Simon Kilvington <s.k...@er...> wrote: > thanks for the bug report - I've just commit a fix that should > stop the seg fault - revision 322. > > PS: I couldn't bunzip2 your log file when I downloaded it - it > said the file was corrupt - but I managed to work out what was happening > from the stack trace |
|
From: Simon K. <s.k...@er...> - 2007-08-21 08:34:12
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, the reason you get the error is because you cannot change channel because you are reading your MHEG data from a local file rather than downloading it - ie you are doing: rb-browser services/4164/ if you have rb-download running on the same host, you can just do: rb-download 4164 & rb-browser and it will use rb-download to change channel - that should stop the error and let you see BBC News Multiscreen too. Mario Rossi wrote: > I've tried it. > It does not crash any more, I get the error message > > SI_TuneIndex: invalid service index (-1); range is 0-0 > > I've tried with the TV, and what happens is that > > Sport -> Sport in video > > sends you to page 1001, the same as the News Multiscreen, which with > redbutton I cannot access either. > I will repost my log in the same location > (http://xoomer.alice.it/enodetti/log/log.txt.bz2), just for reference. > > As a side, I can report that there has been an improvement with video: > > 1) the video and the audio are good > 2) video ratio is wrong, 4:3 instead that 19:9 > 3) I still get a lot of warnings: [mp3 @ 0xb7dd4c20]incorrect frame size > 4) if I may, I would suggest to disable the ability to resize the > window, which gives a not too nice effect of part of the screen not > updated (in case it is made bigger) > > On 8/20/07, Simon Kilvington <s.k...@er...> wrote: >> thanks for the bug report - I've just commit a fix that should >> stop the seg fault - revision 322. >> >> PS: I couldn't bunzip2 your log file when I downloaded it - it >> said the file was corrupt - but I managed to work out what was happening >> from the stack trace > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Redbutton-devel mailing list > Red...@li... > https://lists.sourceforge.net/lists/listinfo/redbutton-devel > > - -- Simon Kilvington -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGyqN6mt9ZifioJSwRAr/9AJ9Y3KGaoAuwEmOgx9UdQuBvt0LJ2wCfUwsM wOSWncxGZ5ZDFcOh0nlhM3A= =G8S8 -----END PGP SIGNATURE----- |