[FFmpeg-trac] #3630(ffserver:open): ffserver crashes when a client disconnect

FFmpeg trac at avcodec.org
Mon Aug 18 04:59:44 CEST 2014

#3630: ffserver crashes when a client disconnect
             Reporter:  Reventlov  |                    Owner:  reynaldo
                 Type:  defect     |                   Status:  open
             Priority:  important  |                Component:  ffserver
              Version:             |               Resolution:
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
Changes (by reynaldo):

 * owner:   => reynaldo
 * status:  new => open



 Program received signal SIGSEGV, Segmentation fault.
 flush_buffer (s=0x180a4e0) at libavformat/aviobuf.c:145
 145                 s->checksum     = s->update_checksum(s->checksum,
 (gdb) bt
 #0  flush_buffer (s=0x180a4e0) at libavformat/aviobuf.c:145
 #1  avio_flush (s=0x180a4e0) at libavformat/aviobuf.c:197
 #2  0x00000000004fff2a in av_write_trailer (s=s at entry=0x17e8b40)
     at libavformat/mux.c:948
 #3  0x0000000000462c00 in close_connection (c=c at entry=0x17c65a0)
     at ffserver.c:919
 #4  0x00000000004642a0 in rtsp_cmd_interrupt (c=c at entry=0x17c5760,
     url=url at entry=0x7fffffffb400 "rtsp://",
     h=h at entry=0x7fffffffc400, pause_only=pause_only at entry=0)
     at ffserver.c:3337
 #5  0x0000000000469670 in rtsp_parse_request (c=0x17c5760) at
 #6  0x000000000045c989 in handle_connection (c=0x17c5760) at
 #7  http_server () at ffserver.c:768
 #8  main (argc=<optimized out>, argv=<optimized out>) at ffserver.c:4783

 Looking rly quick it seems to be related to
 will take another look tomorrow

Ticket URL: <https://trac.ffmpeg.org/ticket/3630#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list