[FFmpeg-trac] #5970(undetermined:new): No valid multicast port obtained from RTSP

FFmpeg trac at avcodec.org
Mon Nov 21 19:20:20 EET 2016


#5970: No valid multicast port obtained from RTSP
-------------------------------------+-------------------------------------
             Reporter:  ioeir2       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  rtsp crash   |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ioeir2):

 I was not able to make gdb debugging on Mac OS Sierra due to some gdb
 signing issues.

 I recompiled ffplay on Ubuntu and reproduced the problem. Crash happens
 only if the ffplay is running as regular user. There is no crash if it is
 running via sudo.


 {{{
 (gdb) run
 Starting program: /home/alex/1/ffplay_g -rtsp_transport udp_multicast
 rtsp://admin:password@10.0.1.150/cam/realmonitor\?channel=1\&subtype=0\&proto=Dahua3\&unicast=false
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 ffplay version N-82572-gac206bb Copyright (c) 2003-2016 the FFmpeg
 developers
   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
   configuration:
   libavutil      55. 40.100 / 55. 40.100
   libavcodec     57. 66.105 / 57. 66.105
   libavformat    57. 58.100 / 57. 58.100
   libavdevice    57.  2.100 / 57.  2.100
   libavfilter     6. 67.100 /  6. 67.100
   libswscale      4.  3.101 /  4.  3.101
   libswresample   2.  4.100 /  2.  4.100
 [New Thread 0x7ffff0f96700 (LWP 21439)]
 [New Thread 0x7fffeef91700 (LWP 21440)]
 [New Thread 0x7fffee790700 (LWP 21441)]
 [Thread 0x7fffeef91700 (LWP 21440) exited]
 [New Thread 0x7fffeef91700 (LWP 21442)]
 [New Thread 0x7fffee10c700 (LWP 21443)]
 [udp @ 0x7fffd0003520] bind failed: Permission denied    0B f=0/0
 [udp @ 0x7fffd00293c0] bind failed: Permission denied
 [udp @ 0x7fffd00395c0] bind failed: Permission denied

 Thread 6 "read_thread" received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7fffee10c700 (LWP 21443)]
 ffurl_get_file_handle (h=0x0) at libavformat/avio.c:628
 628         if (!h->prot->url_get_file_handle)

 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5970#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list