[FFmpeg-user] Segmentation Fault: while av_write_trailer()

sujith supretsonu99 at gmail.com
Sat Nov 17 07:39:35 CET 2012


Hi All,

I am encountering a segmentation fault while closing the connection from the
client side.

I am using a VLC client and trying to stream a static file over RTSP.

My client tries to connect over RTP/UDP initially, but as it fails it
connects over RTP/TCP.
The streaming works fine for the first time.

But, if I stop the VLC client and then again play the same stream from the
client and wait till the streaming starts. Everything works fine in "THIS
SCENARIO".
But, if I stop the client before the streaming starts and again start the
streaming, it gives a "SEGMENTATION FAULT"

Below is the backtrace of the seg fault:

#0  0x0000003c49d52a38 in main_arena () from /lib64/libc.so.6

#1  0x00002aaaaafc79f9 in flush_buffer (s=0x63b590) at
libavformat/aviobuf.c:137

#2  0x00002aaaaafc7bfb in avio_flush (s=0x63b590) at
libavformat/aviobuf.c:187

#3  0x00002aaaab0e2255 in av_write_trailer (s=0x63b070) at
libavformat/utils.c:3629

#4  0x000000000040698c in close_connection (c=0x631520) at ffserver.c:931

#5  0x000000000040d6bc in rtsp_cmd_teardown (c=0x6324f0, url=0x7fffffffe0b0
"rtsp://192.168.1.12:8554/test.sdp/", h=0x7fffffffc1a0) at ffserver.c:3558

#6  0x000000000040c60d in rtsp_parse_request (c=0x6324f0) at ffserver.c:3118

#7  0x0000000000406d73 in handle_connection (c=0x6324f0) at ffserver.c:1017

#8  0x0000000000406500 in http_server () at ffserver.c:761

#9  0x00000000004120a8 in main (argc=3, argv=0x7fffffffe778) at
ffserver.c:5044




Can anybody put some light over this issue? 
Thanks in Advance..!!!





--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Segmentation-Fault-while-av-write-trailer-tp4655055.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list