Thread: [Redbutton-devel] Problem using redbutton
Brought to you by:
skilvington
|
From: Mario R. <mar...@go...> - 2006-10-29 23:56:47
Attachments:
log.txt.gz
|
Hi, I'm having troubles using redbutton. I live in London and I get dvb-t fron uk-CrystalPalace. I'm using a Haupauge WinTV NOVA T USB2 kernel 2.6.18 , v4l-dvb latest from mercurial. redbutton latest svn Then in one window I do tzap "BBC ONE" elsewhere rb-download -v -l 4164 and in one other window (from the same directory) rb-browser -vv services/4164 > log.txt the rb-browser prints the following error message [mp3 @ 0xb7e63e44]incorrect frame size [mp3 @ 0xb7e63e44]incorrect frame size Segmentation fault and log.txt is the file attached. rb-download keeps running troughout the test. rb-browser shortly shows the black window with "LOADING" on the top right and the crashes. Same thing fro ITV1. I'm not too good with gdb, but this is the stack at the moment of the crash: one of the threads #0 0xb7f57410 in ?? () #1 0xbffd27e8 in ?? () #2 0x0000127c in ?? () #3 0x00000001 in ?? () #4 0x4dd4f440 in poll () from /lib/libc.so.6 #5 0x4f5590ea in XtAddTimeOut () from /usr/lib/libXt.so.6 #6 0x4f559625 in _XtWaitForSomething () from /usr/lib/libXt.so.6 #7 0x4f55a6ef in XtAppNextEvent () from /usr/lib/libXt.so.6 #8 0x0804eb24 in MHEGDisplay_processEvents (d=0x80a5728, block=true) at MHEGDisplay.c:296 #9 0x0804bbd5 in MHEGEngine_run (derfile=0xbffd2c34) at MHEGEngine.c:216 #10 0x0804b7a7 in main (argc=2, argv=0xbffd2d14) at rb-browser.c:121 and here is the fault #0 0xb79c3f06 in mpeg1_encode_picture_header () from /usr/local/lib/libavcodec.so.51 gdb says it cannot restore the full stack though. any ideas? |
|
From: Mario R. <mar...@go...> - 2006-10-29 23:45:10
Attachments:
log_vv.txt
|
Hi, I'm having troubles using redbutton. I live in London and I get dvb-t fron uk-CrystalPalace. I'm using a Haupauge WinTV NOVA T USB2 kernel 2.6.18 , v4l-dvb latest from mercurial. redbutton latest svn Then in one window I do tzap "BBC ONE" elsewhere rb-download -v -l 4164 and in one other window (from the same directory) rb-browser -vv services/4164 > log_vv.txt the rb-browser prints the following error message [mp3 @ 0xb7e63e44]incorrect frame size [mp3 @ 0xb7e63e44]incorrect frame size Segmentation fault and log.txt is the file attached. rb-download keeps running troughout the test. rb-browser shortly shows the black window with "LOADING" on the top right and the crashes. Same thing fro ITV1. any ideas? |
|
From: Simon K. <s.k...@er...> - 2006-10-30 10:00:55
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, it looks like a bug in libavcodec which is part of the ffmpeg package - though I don't know why we would be using mpeg1_encode_picture_header() - what version of ffmpeg are you using? and does the crash happen at the same point everytime? Mario Rossi wrote: > Hi, > > I'm having troubles using redbutton. > I live in London and I get dvb-t fron uk-CrystalPalace. > I'm using a Haupauge WinTV NOVA T USB2 > kernel 2.6.18 , v4l-dvb latest from mercurial. > redbutton latest svn > > Then in one window I do > > tzap "BBC ONE" > > elsewhere rb-download -v -l 4164 > > and in one other window (from the same directory) > rb-browser -vv services/4164 > log.txt > > the rb-browser prints the following error message > > [mp3 @ 0xb7e63e44]incorrect frame size > [mp3 @ 0xb7e63e44]incorrect frame size > Segmentation fault > > and log.txt is the file attached. > > rb-download keeps running troughout the test. rb-browser shortly shows > the black window with "LOADING" on the top right and the crashes. > > Same thing fro ITV1. > > I'm not too good with gdb, but this is the stack at the moment of the > crash: > > one of the threads > > #0 0xb7f57410 in ?? () > #1 0xbffd27e8 in ?? () > #2 0x0000127c in ?? () > #3 0x00000001 in ?? () > #4 0x4dd4f440 in poll () from /lib/libc.so.6 > #5 0x4f5590ea in XtAddTimeOut () from /usr/lib/libXt.so.6 > #6 0x4f559625 in _XtWaitForSomething () from /usr/lib/libXt.so.6 > #7 0x4f55a6ef in XtAppNextEvent () from /usr/lib/libXt.so.6 > #8 0x0804eb24 in MHEGDisplay_processEvents (d=0x80a5728, block=true) > at MHEGDisplay.c:296 > #9 0x0804bbd5 in MHEGEngine_run (derfile=0xbffd2c34) at MHEGEngine.c:216 > #10 0x0804b7a7 in main (argc=2, argv=0xbffd2d14) at rb-browser.c:121 > > and here is the fault > > #0 0xb79c3f06 in mpeg1_encode_picture_header () from > /usr/local/lib/libavcodec.so.51 > > gdb says it cannot restore the full stack though. > > any ideas? > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 iD8DBQFFRc0jmt9ZifioJSwRAsc/AJ96/Arze1UXaTKX12UD7lMBLhfPNgCeIAJA Vg8fCOT17ZHGrvAxughmvxg= =np7I -----END PGP SIGNATURE----- |
|
From: Mario R. <mar...@go...> - 2006-11-01 23:58:00
|
The bug is showing most of the times but not always and always at the same place. I've recompiled ffmpeg with --enable-pthread and it has not occurred any more. Could it be the reason? On 10/30/06, Simon Kilvington <s.k...@er...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > it looks like a bug in libavcodec which is part of the ffmpeg > package - though I don't know why we would be using > mpeg1_encode_picture_header() - what version of ffmpeg are you using? > and does the crash happen at the same point everytime? > |
|
From: Simon K. <s.k...@er...> - 2006-11-02 09:19:52
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, not having pthread support compiled in would probably cause ffmpeg to crash if two threads tried to use it at the same time sounds like you've fixed the problem, but let me know if it starts happening again... Mario Rossi wrote: > The bug is showing most of the times but not always and always at the > same place. > I've recompiled ffmpeg with --enable-pthread and it has not occurred any more. > Could it be the reason? > > > > On 10/30/06, Simon Kilvington <s.k...@er...> wrote: > >>-----BEGIN PGP SIGNED MESSAGE----- >>Hash: SHA1 >> >>Hi, >> >> it looks like a bug in libavcodec which is part of the ffmpeg >>package - though I don't know why we would be using >>mpeg1_encode_picture_header() - what version of ffmpeg are you using? >>and does the crash happen at the same point everytime? >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > 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 iD8DBQFFSbgCmt9ZifioJSwRAkFEAJwInTBl4HMoIx4vHis2U97id9K3fQCeKw92 aFuI3rG7OQaIdBMy2EP4ySo= =fVo6 -----END PGP SIGNATURE----- |
|
From: Simon K. <s.k...@er...> - 2006-11-06 09:40:16
Attachments:
deb-install-font.sh
deb-font.hints
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Mario Rossi wrote: > Hi > > Since I cannot see my messages in the mailing list, I'll answer you > directly. > your messages are definitely appearing on the list, not sure why you are not seeing them... > I haven't had any more the segmentation fault, so pthread seems to be > the solution. good! > > I still haven't managed to install the font. I'm using KDE and I've > installed it both as root and as a user, but it does not work. I have > to try to use some low level X.org configuration files. > here's how I installed it manually on Gentoo using X.org server: see where your xorg.conf file stores local fonts, in mine I have this line: FontPath "/usr/local/share/fonts" so, then I did... cp tt7268m_802.ttf /usr/local/share/fonts cd /usr/local/share/fonts ttmkfdir then restart X I've also attached a script I was sent me for installing the font on Debian > I have an other question though: until a week ago (sometimes with > problems, recently very well) I only saw in the main window of > rb-browser only the teletext. > rb-browser uses ffmpeg to decode the video and audio, so the pthreads issue may well have stopped it working > Now (maybe after I've updated ffmpeg from svn) the application tries > to show the video but it is not very succesful. > > The video does not play smoothly (actually it stays fixed for the > first image), the image ratio is wrong (e.g. on BBC ONE), an the > application seems to respond wrose (it is very slow). Moreover it does > not respond to click on the X top left of the window to shut it down. > I have to hit Crtl-C. > If I disable the video using "-o null", I have expirienced a > segmentation fault (just once so far, complaining about losing the > sync) and I still get a lot of warning about audio > > MHEGAudioOutput: buffer underrun (but not always) > > The application being very slow as well. > at the moment, rb-browser does not really use much hardware acceleration that your video card may provide - what you describe sounds like what happens when there is either not enough processing power (or not enough network bandwidth between rb-download and rb-browser) - rb-browser doesn't really cope very well in this situation - it's something I need to do some work on... what speed processor do you have? and are you running rb-download and rb-browser on separate machines or on the same one? if you can reproduce the segfault with "-o null" and send me a gdb backtrace or a core file I would be interested to see it > How can I disable both audio & video? > the easiest thing to do is run rb-download without the "-l" flag, then rb-browser can't connect to it to get the video and audio streams eg, run them like this... rb-download 4165 & rb-browser services/4165 > Some logs > I haven't attached the output of "-v" since it is too big. > kernel 2.6.18 recompilaed (alsa drivers 1.0.12 rc1). > v4l-dvb latest. > I will try later to debug the "Audio invalid argument". > > ============================================================= > rb-browser services/4164/ 2> log.txt > > output on screen: > > Font 'TiresiasScreenfont' not available; using 'sans' for 'rec://font/uk1' > Unable to open '~/z': No such file or directory > GetEngineSupport: unknown feature 'DVR(+)' > Unable to set audio parameters: Invalid argument > > log.txt attached. > > ============================================================= > rb-browser -o null services/4164/ 2> log2.txt > > output on screen > > Font 'TiresiasScreenfont' not available; using 'sans' for 'rec://font/uk1' > Unable to open '~/z': No such file or directory > GetEngineSupport: unknown feature 'DVR(+)' > Unable to set audio parameters: Invalid argument > ObjectReference not found: ~//d/s/mn1q.mhg 80 > > log2.txt attached > > =========================================================== > > meanwhile rb-download runs > > rb-download -l 4164 > > output on screen > > Unknown PID for association tag 0x68 > > ============================================================ > > Can I give better debug output? > > Thanks - -- Simon Kilvington -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFTwLOmt9ZifioJSwRAtfAAJ4+4aSC3f0kcg8Yh9sglPnFTPcuDQCfWN5r oAsoN+17zDDmlA2R8yZUSPQ= =Y9ad -----END PGP SIGNATURE----- |
|
From: Mario R. <mar...@go...> - 2006-11-06 21:06:18
|
I've managed to install the font, thank you. I've tried to run rb-download without -l and I get a better behaviour of rb-browser, even though sometimes it hangs with "please wait..." and never comes back (but it is non reproductibile, and in different places). I'll try to give you some exact exalmple of the behaviour. When running with "-l", contrary to what I said in a previous mail, I still experience situations (most of the times) where I cannot close the application with the top right button. I've got a Intel Centrino (1.5 GHz), both application on the same PC. On 11/6/06, Simon Kilvington <s.k...@er...> wrote: > at the moment, rb-browser does not really use much hardware acceleration > that your video card may provide - what you describe sounds like what > happens when there is either not enough processing power (or not enough > network bandwidth between rb-download and rb-browser) - rb-browser > doesn't really cope very well in this situation - it's something I need > to do some work on... > > what speed processor do you have? and are you running rb-download and > rb-browser on separate machines or on the same one? > > if you can reproduce the segfault with "-o null" and send me a gdb > backtrace or a core file I would be interested to see it > > > How can I disable both audio & video? > > > the easiest thing to do is run rb-download without the "-l" flag, then > rb-browser can't connect to it to get the video and audio streams > > eg, run them like this... > > rb-download 4165 & > rb-browser services/4165 > > > > Some logs > > I haven't attached the output of "-v" since it is too big. > > kernel 2.6.18 recompilaed (alsa drivers 1.0.12 rc1). > > v4l-dvb latest. > > I will try later to debug the "Audio invalid argument". > > > > ============================================================= > > rb-browser services/4164/ 2> log.txt > > > > output on screen: > > > > Font 'TiresiasScreenfont' not available; using 'sans' for 'rec://font/uk1' > > Unable to open '~/z': No such file or directory > > GetEngineSupport: unknown feature 'DVR(+)' > > Unable to set audio parameters: Invalid argument > > > > log.txt attached. > > > > ============================================================= > > rb-browser -o null services/4164/ 2> log2.txt > > > > output on screen > > > > Font 'TiresiasScreenfont' not available; using 'sans' for 'rec://font/uk1' > > Unable to open '~/z': No such file or directory > > GetEngineSupport: unknown feature 'DVR(+)' > > Unable to set audio parameters: Invalid argument > > ObjectReference not found: ~//d/s/mn1q.mhg 80 > > > > log2.txt attached > > > > =========================================================== > > > > meanwhile rb-download runs > > > > rb-download -l 4164 > > > > output on screen > > > > Unknown PID for association tag 0x68 > > > > ============================================================ > > > > Can I give better debug output? > > > > Thanks > > - -- > Simon Kilvington > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.4 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFTwLOmt9ZifioJSwRAtfAAJ4+4aSC3f0kcg8Yh9sglPnFTPcuDQCfWN5r > oAsoN+17zDDmlA2R8yZUSPQ= > =Y9ad > -----END PGP SIGNATURE----- > > > category truetype > begin @FONTDIR@/tt7268m_802.ttf > Family = TiresiasScreenfont > FontName = TiresiasScreenfont > Encoding = Unicode > Location = English > Charset = ISO8859-1 ISO10646-1 > GeneralFamily = SansSerif > Weight = Medium > Width = Variable > Shape = NoSerif > Foundry = Bitstream > Priority = 20 > end > > > > |