On Wed, Jun 16, 2010 at 1:28 PM, Reimar D?ffinger <Reimar.Doeffinger at gmx.de>wrote: > > >> Reimar D?ffinger said: > > >> The SIGPIPE at the end of the stream. > > >> I think this should maybe be fixed in the live555 library (and maybe > even > > >> is in a newer version), though it maybe would also be better to make > > >> MPlayer ignore SIGPIPE. > > >> You could try this: > > >> Index: mplayer.c > > >> =================================================================== > > >> --- mplayer.c (revision 31425) > > >> +++ mplayer.c (working copy) > > >> @@ -3030,7 +3030,7 @@ > > >> signal(SIGINT,exit_sighandler); // Interrupt from keyboard > > >> > > >> signal(SIGQUIT,exit_sighandler); // Quit from keyboard > > >>- signal(SIGPIPE,exit_sighandler); // Some window managers cause this > > >>+ signal(SIGPIPE,SIG_IGN); // Some window managers cause this > > >> #ifdef CONFIG_SIGHANDLER > > >> // fatal errors: > > >> signal(SIGBUS,exit_sighandler); // bus error > > > > > > Thank you for the patch. I'll now apply the patch and let you know how > > > things work out. > > > > Okay I applied the patch did make distclean and rebuild and installed. > > But the problem now is mplayer won't > > quit when want to exit mplayer. When i click X on upper right hand > > corner of the mplayer's window the window > > > Sorry for late reply. I got busy for three days. Sorry. I'm using Debian Etch's Gnome(2.14.3.6) + compiz fusion(0.6.2) As you know in my earlier post: http://lists.mplayerhq.hu/pipermail/mplayer-users/2010-June/080419.html has the debug info. I also tried with live555 with the latest version. Sorry to say the problem still isn't fixed yet. The error i get upon exiting mplayer window while viewing rtsp link: MPlayer interrupted by signal 13 in module: free_demuxer - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. If any info you might need to fix this problem just give me a shout. -Tom