Re: [FFmpeg-user] ffserver crashes from time to time
On Tue, Apr 28, 2015 at 20:50:16 -0400, En Figureo Canal wrote: No clue on this problem? A crash in ffserver is a serious problem, assuming it isn't caused by other code (external library). It usually shouldn't happen. But without you recompiling ffmpeg and running ffserver_g in gdb, there is next to nothing anyone can do to identify the problem. You could give us the exact file you're feeding to ffserver, the exact config, and tell us (once more) exactly what you did with the client to cause the crash. We _could_ try to reproduce, but it's probably not feasible. Debugging on your end would be much more efficient. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
As stated on a previous post, I'm feeding the server from my home pc like this: ffmpeg –rtbufsize 1500M –f show audio=”input” –vn –acodec libmp3lame –ab 128k –abufsize 256k http://ffserverip:8090/feedname.ffm Feed radio56.ffm File /root/radio56.ffm FileMaxSize 200K /Feed Stream radio56.sdp Feed radio56.ffm Format rtp AudioBitRate 128 AudioChannels 2 AudioSampleRate 44100 AudioCodec libmp3lame NoVideo /Stream I'm listening to the stream on iPhone running MDC Live Media Player. Sometimes if I close the app while receiving the stream causes the server to crash. This time I had to do it several time but, it crashed it. It looks like something just kills the process some how and it just locks me out. I'm not feeding a file is just the audio from my pc. On Wed, Apr 29, 2015 at 4:37 AM, Moritz Barsnick barsn...@gmx.net wrote: On Tue, Apr 28, 2015 at 20:50:16 -0400, En Figureo Canal wrote: No clue on this problem? A crash in ffserver is a serious problem, assuming it isn't caused by other code (external library). It usually shouldn't happen. But without you recompiling ffmpeg and running ffserver_g in gdb, there is next to nothing anyone can do to identify the problem. You could give us the exact file you're feeding to ffserver, the exact config, and tell us (once more) exactly what you did with the client to cause the crash. We _could_ try to reproduce, but it's probably not feasible. Debugging on your end would be much more efficient. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
Hello. No clue on this problem? Anyone? On Mon, Apr 27, 2015 at 7:00 PM, En Figureo Canal figureo56@gmail.com wrote: I can't find any log at all of what really happened, but this is how the crash occurs: As stated on a previous post, I'm feeding the server from my home pc like this: ffmpeg –rtbufsize 1500M –f show audio=”input” –vn –acodec libmp3lame –ab 128k –abufsize 256k http://ffserverip:8090/feedname.ffm Feed radio56.ffm File /root/radio56.ffm FileMaxSize 200K /Feed Stream radio56.sdp Feed radio56.ffm Format rtp AudioBitRate 128 AudioChannels 2 AudioSampleRate 44100 AudioCodec libmp3lame NoVideo /Stream I'm listening to the stream on iPhone running MDC Live Media Player. Sometimes if I close the app while receiving the stream causes the server to crash. This time I had to do it several time but, it crashed it. On Mon, Apr 27, 2015 at 6:39 PM, En Figureo Canal figureo56@gmail.com wrote: Once again I was able to recreate the crash but it just locks out on me, no output NOTHING. It looks like something just kills the process some how. Is there a log file where I can now get the output of what just happened? On Mon, Apr 27, 2015 at 6:11 PM, En Figureo Canal figureo56@gmail.com wrote: Just recompiled an reinstalled. Would be testing now... On Mon, Apr 27, 2015 at 5:14 PM, En Figureo Canal figureo56@gmail.com wrote: Is not there, could it be that I issued a make distclean I installed two severs, one locally and the other remote and in neither ffserver_g appears. On Mon, Apr 27, 2015 at 5:06 PM, Moritz Barsnick barsn...@gmx.net wrote: On Mon, Apr 27, 2015 at 16:51:48 -0400, En Figureo Canal wrote: ./ffserver_g: No such file or directory. Starting program: -f /etc/ffserver No executable file specified. Use the file or exec-file command. I even searched for ffserver_g and is NOT found It should be in the directory where you were in when you called make install. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
Hi En, On Mon, Apr 27, 2015 at 14:14:50 -0400, En Figureo Canal wrote: Can't seem to star ffserver that way. I intalled it using source. Usually I start ffserver like this: /usr/local/fmpeg/ffserver -f /etc/ffserver.conf Then go to your (uninstalled) source directory, and call $ gdb -ex r --args ./ffserver_g -f /etc/ffserver.conf This launches your ffserver(_g) with gdb. Once it crashes, you will get a prompt within gdb. Type: $ thread apply all bt full We need the complete output. :-) And please don't make screenshots, but rather copy the text from the console and paste it here. Thanks, Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
Looked in var/messages and saw this: kernel: [6031675.912677] ffserver[31114]: segfault at 5c ip 00553de0 sp 7fff0e640210 error 4 in ffserver[40+f07000] On Mon, Apr 27, 2015 at 3:27 PM, En Figureo Canal figureo56@gmail.com wrote: ffserver crashed again. I’m connected via ssh to the server and this time I had two windows opened: one running ffserver with gdb and another one just to monitor. I was feeding the server from my home pc with ffmpeg like this: Ffmpeg –rtbufsize 1500M –f show audio=”input” –vn –acodec libmp3lame –ab 128k –abufsize 256k http://ffserverip:8090/feedname.ffm I had three clients connected via rtsp, one with vlc, another one with a rtsp player, and another one with another player on iPhone. When I closed the app on the iphone the server just crashed without any message and locking the ssh ffserver window and no output but, the other window still worked. Now, how can I get the trace to send it to the list? Here’s an image of the ffmpeg on my pc: http://www.figureo56.com/images/ffmpeg-error-48.jpg ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
./ffserver_g: No such file or directory. Starting program: -f /etc/ffserver No executable file specified. Use the file or exec-file command. I even searched for ffserver_g and is NOT found On Mon, Apr 27, 2015 at 4:38 PM, Moritz Barsnick barsn...@gmx.net wrote: Hi En, On Mon, Apr 27, 2015 at 14:14:50 -0400, En Figureo Canal wrote: Can't seem to star ffserver that way. I intalled it using source. Usually I start ffserver like this: /usr/local/fmpeg/ffserver -f /etc/ffserver.conf Then go to your (uninstalled) source directory, and call $ gdb -ex r --args ./ffserver_g -f /etc/ffserver.conf This launches your ffserver(_g) with gdb. Once it crashes, you will get a prompt within gdb. Type: $ thread apply all bt full We need the complete output. :-) And please don't make screenshots, but rather copy the text from the console and paste it here. Thanks, Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
Is not there, could it be that I issued a make distclean I installed two severs, one locally and the other remote and in neither ffserver_g appears. On Mon, Apr 27, 2015 at 5:06 PM, Moritz Barsnick barsn...@gmx.net wrote: On Mon, Apr 27, 2015 at 16:51:48 -0400, En Figureo Canal wrote: ./ffserver_g: No such file or directory. Starting program: -f /etc/ffserver No executable file specified. Use the file or exec-file command. I even searched for ffserver_g and is NOT found It should be in the directory where you were in when you called make install. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
Just recompiled an reinstalled. Would be testing now... On Mon, Apr 27, 2015 at 5:14 PM, En Figureo Canal figureo56@gmail.com wrote: Is not there, could it be that I issued a make distclean I installed two severs, one locally and the other remote and in neither ffserver_g appears. On Mon, Apr 27, 2015 at 5:06 PM, Moritz Barsnick barsn...@gmx.net wrote: On Mon, Apr 27, 2015 at 16:51:48 -0400, En Figureo Canal wrote: ./ffserver_g: No such file or directory. Starting program: -f /etc/ffserver No executable file specified. Use the file or exec-file command. I even searched for ffserver_g and is NOT found It should be in the directory where you were in when you called make install. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
I can't find any log at all of what really happened, but this is how the crash occurs: As stated on a previous post, I'm feeding the server from my home pc like this: ffmpeg –rtbufsize 1500M –f show audio=”input” –vn –acodec libmp3lame –ab 128k –abufsize 256k http://ffserverip:8090/feedname.ffm Feed radio56.ffm File /root/radio56.ffm FileMaxSize 200K /Feed Stream radio56.sdp Feed radio56.ffm Format rtp AudioBitRate 128 AudioChannels 2 AudioSampleRate 44100 AudioCodec libmp3lame NoVideo /Stream I'm listening to the stream on iPhone running MDC Live Media Player. Sometimes if I close the app while receiving the stream causes the server to crash. This time I had to do it several time but, it crashed it. On Mon, Apr 27, 2015 at 6:39 PM, En Figureo Canal figureo56@gmail.com wrote: Once again I was able to recreate the crash but it just locks out on me, no output NOTHING. It looks like something just kills the process some how. Is there a log file where I can now get the output of what just happened? On Mon, Apr 27, 2015 at 6:11 PM, En Figureo Canal figureo56@gmail.com wrote: Just recompiled an reinstalled. Would be testing now... On Mon, Apr 27, 2015 at 5:14 PM, En Figureo Canal figureo56@gmail.com wrote: Is not there, could it be that I issued a make distclean I installed two severs, one locally and the other remote and in neither ffserver_g appears. On Mon, Apr 27, 2015 at 5:06 PM, Moritz Barsnick barsn...@gmx.net wrote: On Mon, Apr 27, 2015 at 16:51:48 -0400, En Figureo Canal wrote: ./ffserver_g: No such file or directory. Starting program: -f /etc/ffserver No executable file specified. Use the file or exec-file command. I even searched for ffserver_g and is NOT found It should be in the directory where you were in when you called make install. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
Thanks Carl for replying. How can I run that debug ? One more question: Is ffserver used by others in the list for live streaming? Because I find is very unstable since it crashes even streaming audio. Thanks again. On Sun, Apr 26, 2015 at 5:02 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote: En Figureo Canal figureo56.com at gmail.com writes: root at optimum-pbx:~# Unrelated: This is a very, very bad idea. *** glibc detected *** ./bin/ffserver: double free or corruption First step is to run the debug binary of ffserver under gdb and get a backtrace. It is not unlikely that the backtrace is useless, in that case run the debug binary with valgrind, you will a have to use a very (!) small resolution because valgrind is slow. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
Once again I was able to recreate the crash but it just locks out on me, no output NOTHING. It looks like something just kills the process some how. Is there a log file where I can now get the output of what just happened? On Mon, Apr 27, 2015 at 6:11 PM, En Figureo Canal figureo56@gmail.com wrote: Just recompiled an reinstalled. Would be testing now... On Mon, Apr 27, 2015 at 5:14 PM, En Figureo Canal figureo56@gmail.com wrote: Is not there, could it be that I issued a make distclean I installed two severs, one locally and the other remote and in neither ffserver_g appears. On Mon, Apr 27, 2015 at 5:06 PM, Moritz Barsnick barsn...@gmx.net wrote: On Mon, Apr 27, 2015 at 16:51:48 -0400, En Figureo Canal wrote: ./ffserver_g: No such file or directory. Starting program: -f /etc/ffserver No executable file specified. Use the file or exec-file command. I even searched for ffserver_g and is NOT found It should be in the directory where you were in when you called make install. Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
En Figureo Canal figureo56.com at gmail.com writes: How can I run that debug ? $ gdb ffserver_g Please do not top-post here, Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
Can't seem to star ffserver that way. I intalled it using source. Usually I start ffserver like this: /usr/local/fmpeg/ffserver -f /etc/ffserver.conf On Mon, Apr 27, 2015 at 1:30 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote: En Figureo Canal figureo56.com at gmail.com writes: How can I run that debug ? $ gdb ffserver_g Please do not top-post here, Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
Got it running. I'll post output if anything happens. On Mon, Apr 27, 2015 at 2:21 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote: En Figureo Canal figureo56.com at gmail.com writes: Can't seem to star ffserver that way. Why not? Please remember not to top-post here, Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
ffserver crashed again. I’m connected via ssh to the server and this time I had two windows opened: one running ffserver with gdb and another one just to monitor. I was feeding the server from my home pc with ffmpeg like this: Ffmpeg –rtbufsize 1500M –f show audio=”input” –vn –acodec libmp3lame –ab 128k –abufsize 256k http://ffserverip:8090/feedname.ffm I had three clients connected via rtsp, one with vlc, another one with a rtsp player, and another one with another player on iPhone. When I closed the app on the iphone the server just crashed without any message and locking the ssh ffserver window and no output but, the other window still worked. Now, how can I get the trace to send it to the list? Here’s an image of the ffmpeg on my pc: http://www.figureo56.com/images/ffmpeg-error-48.jpg ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] ffserver crashes from time to time
En Figureo Canal figureo56.com at gmail.com writes: root at optimum-pbx:~# Unrelated: This is a very, very bad idea. *** glibc detected *** ./bin/ffserver: double free or corruption First step is to run the debug binary of ffserver under gdb and get a backtrace. It is not unlikely that the backtrace is useless, in that case run the debug binary with valgrind, you will a have to use a very (!) small resolution because valgrind is slow. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user