From: Matt J. <ma...@ro...> - 2004-09-01 12:49:22
|
Hi After making the changes Thibaut pointed out yesterday to change the audio and video ports to NULL terminated arrays, we are still getting the same crash when switching from video tracks ( MPEG2 ) to audio tracks ( MPA or MP3 ) with OSD enabled ( ie. new stream and new osd ). Does anyone have any idea what the problem might be ? We've written a test program to simulate the message passing our scheduler application does, so the player code can be tested seperately, and we reliably get the same result, with this pointer being 0x0. I've also tried switching between xv and xshm with no discernible difference. If anyone can help us with this we would be very grateful, and I can provide the source code and test program if someone wants to take a look and make sure it isnt in our code. Matt Matt Jarvis wrote: > Hi Thibaut > > This is 100% reproduceable in my test machine ( Epia Nehemiah using > unichrome driver ). We havent tested with different streams as our > frontend is a dedicated single use player, receiving instructions and > track info from a seperate controller/scheduler via sockets. We only > work with MPEG2 video and MPA ( MP2 ) audio. It uses the XV output > plugin. Best way would be for me to send you the source for our player, > where shall I send it to ? > > Thanks in advance for your help > > Matt > > tma...@no... wrote: > >> Hi, >> >> >>> De: Matt Jarvis <ma...@ro...> >>> A: xin...@li... >>> Sujet: [xine-devel] strange crash in xine-lib >>> Date: Fri, 27 Aug 2004 12:45:42 +0100 >>> >>> Hi >>> >>> We are seeing some strange crashes in our xine-lib based player, when >>> we are switching from video track to an audio track with goom >>> visualisations, and we have an OSD displayed ( with track >>> artist/title information ) ie creating a new stream and a new OSD. >>> Our programming team think the problem might be a bad pointer in >>> video_out.c, but to be honest we are a bit out of our depth with this >>> bit of the code. The gdb output is : >>> >>> [Thread 147466 (LWP 1314) exited] >>> [Thread 98311 (LWP 1295) exited] >>> [Thread 81926 (LWP 1294) exited] >>> [Thread 114696 (LWP 1296) exited] >>> [New Thread 163851 (LWP 1315)] >>> [New Thread 180236 (LWP 1316)] >>> [New Thread 196621 (LWP 1317)] >>> [New Thread 213006 (LWP 1318)] >>> >>> Program received signal SIGSEGV, Segmentation fault. >>> [Switching to Thread 32771 (LWP 1291)] >>> 0x400329de in overlay_and_display_frame (this=0x8098798, img=0x84a4080, >>> vpts=8499428) at video_out.c:868 >>> 868 video_out.c: No such file or directory. >>> in video_out.c >>> Current language: auto; currently c >>> (gdb) p img >>> $1 = (vo_frame_t *) 0x84a4080 >>> (gdb) p img->stream >>> $2 = (xine_stream_t *) 0x863cba0 >>> (gdb) p img->stream->current_extra_info >>> $3 = (extra_info_t *) 0x0 >>> (gdb) >> >> >> >> wow, stream->current_extra_info is NULL, this looks very suspicious, >> stream->current_extra_info is allocated when creating the stream and i >> do not see where it might be set to NULL. >> We need more info to fix this bug: >> Is it 100% reproducible ? >> Have you tested with different type of streams (mp3, ogg, wma) ? >> Have you tested with different video ouput plugins (xv, xshm) ? >> Or better, can you provide the source of your frontend or a way to >> reproduce the problem ? >> >> >>> Does anyone have any idea what we might be doing wrong, or if this is >>> a bug in xine-lib ? We are using CVS xine-lib as of this morning, >>> although this problem was also there in the previous CVS pull of >>> xine-lib we were using, which was about three weeks ago I think. >>> >>> Thanks for your help >>> >>> Matt >>> -- >>> Matt Jarvis >>> Technical Development Manager >>> Rolec Music Ltd >>> 210 Belgravia Works, Marlborough Road, London, UK N19 4NF >>> Tel: +44 207 281 4776 Fax : +44 207 281 4565 >>> mailto: ma...@ro... >>> web: www.rolecmusic.com >> >> >> [...] >> >> >> Thibaut >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >> _______________________________________________ >> xine-devel mailing list >> xin...@li... >> https://lists.sourceforge.net/lists/listinfo/xine-devel > > -- Matt Jarvis Technical Development Manager Rolec Music Ltd 210 Belgravia Works, Marlborough Road, London, UK N19 4NF Tel: +44 207 281 4776 Fax : +44 207 281 4565 mailto: ma...@ro... web: www.rolecmusic.com This email is strictly confidential and intended solely for the addressee(s). It may contain personal and confidential information and as such may be protected by the Data Protection Act 1998. If this email has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please reply to this email and highlight the error. Any views or opinions expressed within this email are those of the author, and do not necessarily represent those of the company. Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computer practice the recipient should ensure they are actually virus free. |