From: <tma...@no...> - 2004-08-27 13:41:26
|
Hi, >De: Matt Jarvis <matt=40rolec.ltd.uk> >A: xine-devel=40lists.sourceforge.net >Sujet: =5Bxine-devel=5D 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=5Fout.c, but to be= = >honest we are a bit out of our depth with this bit of the code. The gdb = >output is : > >=5BThread 147466 (LWP 1314) exited=5D >=5BThread 98311 (LWP 1295) exited=5D >=5BThread 81926 (LWP 1294) exited=5D >=5BThread 114696 (LWP 1296) exited=5D >=5BNew Thread 163851 (LWP 1315)=5D >=5BNew Thread 180236 (LWP 1316)=5D >=5BNew Thread 196621 (LWP 1317)=5D >=5BNew Thread 213006 (LWP 1318)=5D > >Program received signal SIGSEGV, Segmentation fault. >=5BSwitching to Thread 32771 (LWP 1291)=5D >0x400329de in overlay=5Fand=5Fdisplay=5Fframe (this=3D0x8098798, img=3D0x= 84a4080, > vpts=3D8499428) at video=5Fout.c:868 >868 video=5Fout.c: No such file or directory. > in video=5Fout.c >Current language: auto; currently c >(gdb) p img >=241 =3D (vo=5Fframe=5Ft *) 0x84a4080 >(gdb) p img->stream >=242 =3D (xine=5Fstream=5Ft *) 0x863cba0 >(gdb) p img->stream->current=5Fextra=5Finfo >=243 =3D (extra=5Finfo=5Ft *) 0x0 >(gdb) wow, stream->current=5Fextra=5Finfo is NULL, this looks very suspicious, s= tream->current=5Fextra=5Finfo 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 reprod= uce 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: matt=40rolec.ltd.uk >web: www.rolecmusic.com =5B...=5D Thibaut |