#3630: ffserver crashes when a client disconnect
-------------------------------------+-------------------------------------
             Reporter:  Reventlov    |                    Owner:  reynaldo
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  ffserver
              Version:  git-master   |               Resolution:
             Keywords:  crash        |               Blocked By:
  SIGSEGV                            |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by reynaldo):

 slightly different crash today. Otheriwise the same test scenario:

 Program received signal SIGSEGV, Segmentation fault.
 0x0000000000485b76 in writeout (len=1024, data=0x0, s=0x17bd820)
     at libavformat/aviobuf.c:131
 131             int ret = s->write_packet(s->opaque, (uint8_t *)data,
 len);
 (gdb) bt
 #0  0x0000000000485b76 in writeout (len=1024, data=0x0, s=0x17bd820)
     at libavformat/aviobuf.c:131
 #1  flush_buffer (s=0x17bd820) at libavformat/aviobuf.c:143
 #2  avio_flush (s=0x17bd820) at libavformat/aviobuf.c:197
 #3  0x00000000004fff2a in av_write_trailer (s=s@entry=0x17c7da0)
     at libavformat/mux.c:948
 #4  0x0000000000462c00 in close_connection (c=c@entry=0x17c2580)
     at ffserver.c:919
 #5  0x00000000004642a0 in rtsp_cmd_interrupt (c=c@entry=0x17bce40,
     url=url@entry=0x7fffffffb400 "rtsp://127.0.0.1:5454/rtsp.mpg/",
     h=h@entry=0x7fffffffc400, pause_only=pause_only@entry=0) at
 ffserver.c:3337
 #6  0x0000000000469670 in rtsp_parse_request (c=0x17bce40) at
 ffserver.c:2954
 #7  0x000000000045c989 in handle_connection (c=0x17bce40) at
 ffserver.c:999
 #8  http_server () at ffserver.c:768
 #9  main (argc=<optimized out>, argv=<optimized out>) at ffserver.c:4783

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3630#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac

Reply via email to