Hi,
I just built vlc from trunk, on Ubuntu 8.0.4. When I try to access rtmp from Flash Media Server, I get a segfault.
The connection happens, vlc identifies the server type and shortly after it segfaults.
$ bin/vlc --version
VLC media player 1.1.0-git Goldeneye
LibVLC has detected an unusable buggy GNU/libc version.
Please update to version 2.8 or newer.
VLC version 1.1.0-git Goldeneye
Compiled by sysadmin@vbox.
Compiler: gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
Here's the output from syslog (I ran it as --daemon --syslog)
May 19 07:55:57 vbox vlc[5110]: main debug: : using interface module "logger"
May 19 07:55:57 vbox vlc[5110]: main debug: : TIMER module_need() : 0.412 ms - Total 0.412 ms / 1 intvls (Avg 0.412 ms)
May 19 07:55:57 vbox vlc[5110]: main debug: : thread started
May 19 07:55:57 vbox vlc[5110]: main debug: : thread ended
May 19 07:55:57 vbox vlc[5110]: main debug: : thread (interface) created at priority 0 (../../src/interface/interface.c:
156)
May 19 07:55:57 vbox vlc[5110]: main debug: : adding item `livestream' ( rtmp://<ip>/live/livestream )
May 19 07:55:57 vbox vlc[5110]: main debug: : rebuilding array of current - root Playlist
May 19 07:55:57 vbox vlc[5110]: main debug: : rebuild done - 1 items, index -1
May 19 07:55:57 vbox vlc[5110]: main debug: : looking for interface module: 1 candidate
May 19 07:55:57 vbox vlc[5110]: main debug: : using interface module "signals"
May 19 07:55:57 vbox vlc[5110]: main debug: : TIMER module_need() : 0.210 ms - Total 0.210 ms / 1 intvls (Avg 0.210 ms)
May 19 07:55:57 vbox vlc[5110]: main debug: : thread started
May 19 07:55:57 vbox vlc[5110]: main debug: : thread ended
May 19 07:55:57 vbox vlc[5110]: main debug: : thread (interface) created at priority 0 (../../src/interface/interface.c:
156)
May 19 07:55:57 vbox vlc[5110]: main debug: : looking for interface module: 0 candidates
May 19 07:55:57 vbox vlc[5110]: main error: : no interface module matched "globalhotkeys,none"
May 19 07:55:57 vbox vlc[5110]: main debug: : TIMER module_need() : 0.066 ms - Total 0.066 ms / 1 intvls (Avg 0.066 ms)
May 19 07:55:57 vbox vlc[5110]: main error: : no suitable interface module
May 19 07:55:57 vbox vlc[5110]: main error: : interface "globalhotkeys,none" initialization failed
May 19 07:55:57 vbox vlc[5110]: main debug: : looking for interface module: 1 candidate
May 19 07:55:57 vbox vlc[5110]: dummy: : using the dummy interface module...
May 19 07:55:57 vbox vlc[5110]: main debug: : using interface module "dummy"
May 19 07:55:57 vbox vlc[5110]: main debug: : TIMER module_need() : 0.177 ms - Total 0.177 ms / 1 intvls (Avg 0.177 ms)
May 19 07:55:57 vbox vlc[5110]: main debug: : thread started
May 19 07:55:57 vbox vlc[5110]: main debug: : thread ended
May 19 07:55:57 vbox vlc[5110]: main debug: : thread (interface) created at priority 0 (../../src/interface/interface.c:
156)
May 19 07:55:57 vbox vlc[5110]: main debug: : processing request item null node Playlist skip 0
May 19 07:55:57 vbox vlc[5110]: main debug: : starting new item
May 19 07:55:57 vbox vlc[5110]: main debug: : creating new input thread
May 19 07:55:57 vbox vlc[5110]: main debug: : Creating an input for 'livestream'
May 19 07:55:57 vbox vlc[5110]: main debug: : thread started
May 19 07:55:57 vbox vlc[5110]: main debug: : stream=`duplicate'
May 19 07:55:57 vbox vlc[5110]: main debug: : looking for sout stream module: 1 candidate
May 19 07:55:57 vbox vlc[5110]: stream_out_duplicate debug: : creating 'duplicate'
May 19 07:55:57 vbox vlc[5110]: stream_out_duplicate debug: : * adding `std{access=http,mux=asf,dst=:8100}'
May 19 07:55:57 vbox vlc[5110]: main debug: : stream=`std'
May 19 07:55:57 vbox vlc[5110]: main debug: : thread (input) created at priority 10 (../../src/input/input.c:230)
May 19 07:55:57 vbox vlc[5110]: main debug: : looking for sout stream module: 1 candidate
May 19 07:55:57 vbox vlc[5110]: main debug: : set config option: sout-standard-access to http
May 19 07:55:57 vbox vlc[5110]: main debug: : set config option: sout-standard-mux to asf
May 19 07:55:57 vbox vlc[5110]: main debug: : set config option: sout-standard-dst to :8100
May 19 07:55:57 vbox vlc[5110]: stream_out_standard debug: : creating `http/asf://:8100'
May 19 07:55:57 vbox vlc[5110]: stream_out_standard debug: : using `http/asf://:8100'
May 19 07:55:57 vbox vlc[5110]: main debug: : looking for sout access module: 1 candidate
May 19 07:55:57 vbox vlc[5110]: main: : creating httpd
May 19 07:55:57 vbox vlc[5110]: main debug: : net: listening to port 8100
May 19 07:55:57 vbox vlc[5110]: main debug: : using sout access module "access_output_http"
May 19 07:55:57 vbox vlc[5110]: main debug: : TIMER module_need() : 1.354 ms - Total 1.354 ms / 1 intvls (Avg 1.354 ms)
May 19 07:55:57 vbox vlc[5110]: stream_out_standard debug: : access opened
May 19 07:55:57 vbox vlc[5110]: main debug: : looking for sout mux module: 1 candidate
May 19 07:55:57 vbox vlc[5110]: mux_asf debug: : asf muxer opened
May 19 07:55:57 vbox vlc[5110]: mux_asf debug: : Packet size 4096
May 19 07:55:57 vbox vlc[5110]: mux_asf debug: : meta data: title='', author='', copyright='', comment='', rating=''
May 19 07:55:57 vbox vlc[5110]: main debug: : using sout mux module "mux_asf"
May 19 07:55:57 vbox vlc[5110]: main debug: : TIMER module_need() : 0.837 ms - Total 0.837 ms / 1 intvls (Avg 0.837 ms)
May 19 07:55:57 vbox vlc[5110]: stream_out_standard debug: : mux opened
May 19 07:55:57 vbox vlc[5110]: main debug: : using sout stream module "stream_out_standard"
May 19 07:55:57 vbox vlc[5110]: main debug: : TIMER module_need() : 4.038 ms - Total 4.038 ms / 1 intvls (Avg 4.038 ms)
May 19 07:55:57 vbox vlc[5110]: main debug: : using sout stream module "stream_out_duplicate"
May 19 07:55:57 vbox vlc[5110]: main debug: : TIMER module_need() : 4.243 ms - Total 4.243 ms / 1 intvls (Avg 4.243 ms)
May 19 07:55:57 vbox vlc[5110]: main debug: : using timeshift granularity of 50 MBytes
May 19 07:55:57 vbox vlc[5110]: main debug: : using timeshift path '/tmp'
May 19 07:55:57 vbox vlc[5110]: main debug: : `rtmp://<ip>/live/livestream' gives access `rtmp' demux `' path `<ip>/live
/livestream'
May 19 07:55:57 vbox vlc[5110]: main debug: : creating demux: access='rtmp' demux='' path='<ip>/live/livestream'
May 19 07:55:57 vbox vlc[5110]: main debug: : looking for access_demux module: 0 candidates
May 19 07:55:57 vbox vlc[5110]: main debug: : no access_demux module matched "rtmp"
May 19 07:55:57 vbox vlc[5110]: main debug: : TIMER module_need() : 0.075 ms - Total 0.075 ms / 1 intvls (Avg 0.075 ms)
May 19 07:55:57 vbox vlc[5110]: main debug: : creating access 'rtmp' path='<ip>/live/livestream'
May 19 07:55:57 vbox vlc[5110]: main debug: : looking for access module: 1 candidate
May 19 07:55:57 vbox vlc[5110]: access_rtmp debug: : rtmp: host='<ip>' port=1935 path='/live/livestream'
May 19 07:55:57 vbox vlc[5110]: main debug: : net: connecting to <ip> port 1935
May 19 07:55:57 vbox vlc[5110]: main debug: : connection: Operation now in progress
May 19 07:55:58 vbox vlc[5110]: main debug: : connection succeeded (socket = 11)
May 19 07:55:58 vbox vlc[5110]: main debug: : thread started
May 19 07:55:58 vbox vlc[5110]: main debug: : thread (rtmp control thread) created at priority 10 (../../../../modules/a
ccess/rtmp/access.c:215)
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : _result 1.0
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : object
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : key: fmsVer value: FMS/3,5,1,516
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : key: capabilities value: 3.100000e+01
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : key: mode value: 1.000000e+00
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : end of object
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : object
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : key: level value: status
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : key: code value: NetConnection.Connect.Success
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : key: description value: Connection succeeded.
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : key: objectEncoding value: 0.000000e+00
May 19 07:55:59 vbox vlc[5110]: access_rtmp warning: : key: data value: undefined AMF type
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : key: ^B value: 0.000000e+00
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:55:59 vbox vlc[5110]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: 1.410433e-315
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:56:01 vbox vlc[5110]: access_rtmp warning: : key: value: undefined AMF type
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: 6.197559e-320
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: alue: 0.000000e+00 value: 0.000000e+00
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: false
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: 7.825165e-310
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: nan
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: 7.291122e-304
May 19 07:56:01 vbox vlc[5110]: access_rtmp warning: : key: ���������������� value: undefined AMF type
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: y^A value: 0.000000e+00
May 19 07:56:01 vbox vlc[5110]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:56:01 vbox kernel: [474097.370053] lt-vlc[5123]: segfault at c0b000 rip 7fe50e468162 rsp 405d5060 error 4
May 19 07:57:36 vbox kernel: [474192.883539] lt-vlc[5221]: segfault at be7000 rip 7ff68ebfca17 rsp 41b6d020 error 4
May 19 07:58:07 vbox kernel: [474223.183367] vlc-static[5240]: segfault at be7000 rip 7f2fe8586a17 rsp 40426020 error 4
May 19 07:58:48 vbox vlc[5242]: main debug: : using interface module "logger"
May 19 07:58:48 vbox vlc[5242]: main debug: : TIMER module_need() : 0.299 ms - Total 0.299 ms / 1 intvls (Avg 0.299 ms)
May 19 07:58:48 vbox vlc[5242]: main debug: : thread started
May 19 07:58:48 vbox vlc[5242]: main debug: : thread ended
May 19 07:58:48 vbox vlc[5242]: main debug: : thread (interface) created at priority 0 (../../src/interface/interface.c:
156)
May 19 07:58:48 vbox vlc[5242]: main debug: : adding item `livestream' ( rtmp://<ip>/live/livestream )
May 19 07:58:48 vbox vlc[5242]: main debug: : looking for interface module: 1 candidate
May 19 07:58:48 vbox vlc[5242]: main debug: : using interface module "signals"
May 19 07:58:48 vbox vlc[5242]: main debug: : TIMER module_need() : 0.175 ms - Total 0.175 ms / 1 intvls (Avg 0.175 ms)
May 19 07:58:48 vbox vlc[5242]: main debug: : thread started
May 19 07:58:48 vbox vlc[5242]: main debug: : thread ended
May 19 07:58:48 vbox vlc[5242]: main debug: : thread (interface) created at priority 0 (../../src/interface/interface.c:
156)
May 19 07:58:48 vbox vlc[5242]: main debug: : looking for interface module: 0 candidates
May 19 07:58:48 vbox vlc[5242]: main error: : no interface module matched "globalhotkeys,none"
May 19 07:58:48 vbox vlc[5242]: main debug: : TIMER module_need() : 0.071 ms - Total 0.071 ms / 1 intvls (Avg 0.071 ms)
May 19 07:58:48 vbox vlc[5242]: main error: : no suitable interface module
May 19 07:58:48 vbox vlc[5242]: main error: : interface "globalhotkeys,none" initialization failed
May 19 07:58:48 vbox vlc[5242]: main debug: : looking for interface module: 1 candidate
May 19 07:58:48 vbox vlc[5242]: dummy: : using the dummy interface module...
May 19 07:58:48 vbox vlc[5242]: main debug: : using interface module "dummy"
May 19 07:58:48 vbox vlc[5242]: main debug: : TIMER module_need() : 0.183 ms - Total 0.183 ms / 1 intvls (Avg 0.183 ms)
May 19 07:58:48 vbox vlc[5242]: main debug: : thread started
May 19 07:58:48 vbox vlc[5242]: main debug: : thread ended
May 19 07:58:48 vbox vlc[5242]: main debug: : thread (interface) created at priority 0 (../../src/interface/interface.c:
156)
May 19 07:58:48 vbox vlc[5242]: main debug: : processing request item null node Playlist skip 0
May 19 07:58:48 vbox vlc[5242]: main debug: : rebuilding array of current - root Playlist
May 19 07:58:48 vbox vlc[5242]: main debug: : rebuild done - 1 items, index -1
May 19 07:58:48 vbox vlc[5242]: main debug: : starting new item
May 19 07:58:48 vbox vlc[5242]: main debug: : creating new input thread
May 19 07:58:48 vbox vlc[5242]: main debug: : Creating an input for 'livestream'
May 19 07:58:48 vbox vlc[5242]: main debug: : thread started
May 19 07:58:48 vbox vlc[5242]: main debug: : thread (input) created at priority 10 (../../src/input/input.c:230)
May 19 07:58:48 vbox vlc[5242]: main debug: : stream=`duplicate'
May 19 07:58:48 vbox vlc[5242]: main debug: : looking for sout stream module: 1 candidate
May 19 07:58:48 vbox vlc[5242]: stream_out_duplicate debug: : creating 'duplicate'
May 19 07:58:48 vbox vlc[5242]: stream_out_duplicate debug: : * adding `std{access=http,mux=asf,dst=:8100}'
May 19 07:58:48 vbox vlc[5242]: main debug: : stream=`std'
May 19 07:58:48 vbox vlc[5242]: main debug: : looking for sout stream module: 1 candidate
May 19 07:58:48 vbox vlc[5242]: main debug: : set config option: sout-standard-access to http
May 19 07:58:48 vbox vlc[5242]: main debug: : set config option: sout-standard-mux to asf
May 19 07:58:48 vbox vlc[5242]: main debug: : set config option: sout-standard-dst to :8100
May 19 07:58:48 vbox vlc[5242]: stream_out_standard debug: : creating `http/asf://:8100'
May 19 07:58:48 vbox vlc[5242]: stream_out_standard debug: : using `http/asf://:8100'
May 19 07:58:48 vbox vlc[5242]: main debug: : looking for sout access module: 1 candidate
May 19 07:58:48 vbox vlc[5242]: main: : creating httpd
May 19 07:58:48 vbox vlc[5242]: main debug: : net: listening to port 8100
May 19 07:58:48 vbox vlc[5242]: main debug: : using sout access module "access_output_http"
May 19 07:58:48 vbox vlc[5242]: main debug: : TIMER module_need() : 1.388 ms - Total 1.388 ms / 1 intvls (Avg 1.388 ms)
May 19 07:58:48 vbox vlc[5242]: stream_out_standard debug: : access opened
May 19 07:58:48 vbox vlc[5242]: main debug: : looking for sout mux module: 1 candidate
May 19 07:58:48 vbox vlc[5242]: mux_asf debug: : asf muxer opened
May 19 07:58:48 vbox vlc[5242]: mux_asf debug: : Packet size 4096
May 19 07:58:48 vbox vlc[5242]: mux_asf debug: : meta data: title='', author='', copyright='', comment='', rating=''
May 19 07:58:48 vbox vlc[5242]: main debug: : using sout mux module "mux_asf"
May 19 07:58:48 vbox vlc[5242]: main debug: : TIMER module_need() : 0.845 ms - Total 0.845 ms / 1 intvls (Avg 0.845 ms)
May 19 07:58:48 vbox vlc[5242]: stream_out_standard debug: : mux opened
May 19 07:58:48 vbox vlc[5242]: main debug: : using sout stream module "stream_out_standard"
May 19 07:58:48 vbox vlc[5242]: main debug: : TIMER module_need() : 4.049 ms - Total 4.049 ms / 1 intvls (Avg 4.049 ms)
May 19 07:58:48 vbox vlc[5242]: main debug: : using sout stream module "stream_out_duplicate"
May 19 07:58:48 vbox vlc[5242]: main debug: : TIMER module_need() : 4.258 ms - Total 4.258 ms / 1 intvls (Avg 4.258 ms)
May 19 07:58:48 vbox vlc[5242]: main debug: : using timeshift granularity of 50 MBytes
May 19 07:58:48 vbox vlc[5242]: main debug: : using timeshift path '/tmp'
May 19 07:58:48 vbox vlc[5242]: main debug: : `rtmp://<ip>/live/livestream' gives access `rtmp' demux `' path `<ip>/live
/livestream'
May 19 07:58:48 vbox vlc[5242]: main debug: : creating demux: access='rtmp' demux='' path='<ip>/live/livestream'
May 19 07:58:48 vbox vlc[5242]: main debug: : looking for access_demux module: 0 candidates
May 19 07:58:48 vbox vlc[5242]: main debug: : no access_demux module matched "rtmp"
May 19 07:58:48 vbox vlc[5242]: main debug: : TIMER module_need() : 0.086 ms - Total 0.086 ms / 1 intvls (Avg 0.086 ms)
May 19 07:58:48 vbox vlc[5242]: main debug: : creating access 'rtmp' path='<ip>/live/livestream'
May 19 07:58:48 vbox vlc[5242]: main debug: : looking for access module: 1 candidate
May 19 07:58:48 vbox vlc[5242]: access_rtmp debug: : rtmp: host='<ip>' port=1935 path='/live/livestream'
May 19 07:58:48 vbox vlc[5242]: main debug: : net: connecting to <ip> port 1935
May 19 07:58:48 vbox vlc[5242]: main debug: : connection: Operation now in progress
May 19 07:58:48 vbox vlc[5242]: main debug: : connection succeeded (socket = 11)
May 19 07:58:48 vbox vlc[5242]: main debug: : thread started
May 19 07:58:48 vbox vlc[5242]: main debug: : thread (rtmp control thread) created at priority 10 (../../../../modules/a
ccess/rtmp/access.c:215)
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : _result 1.0
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : object
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: fmsVer value: FMS/3,5,1,516
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: capabilities value: 3.100000e+01
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: mode value: 1.000000e+00
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : end of object
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : object
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: level value: status
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: code value: NetConnection.Connect.Success
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: description value: Connection succeeded.
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: objectEncoding value: 0.000000e+00
May 19 07:58:49 vbox vlc[5242]: access_rtmp warning: : key: data value: undefined AMF type
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: value: 4.053853e-311
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: ^B value: 0.000000e+00
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: ^K value: 0.000000e+00
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: L value: 0.000000e+00
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:58:49 vbox vlc[5242]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:58:51 vbox vlc[5242]: access_rtmp debug: : key: value: 1.339782e-314
May 19 07:58:51 vbox vlc[5242]: access_rtmp debug: : key: value: 4.625539e-308
May 19 07:58:51 vbox vlc[5242]: access_rtmp debug: : key: 9 07:58:51 vlc[5242]: access_rtmp value: 9.713726e-319
May 19 07:58:51 vbox vlc[5242]: access_rtmp debug: : key: �� value: 0.000000e+00
May 19 07:58:51 vbox vlc[5242]: access_rtmp debug: : key: value: 0.000000e+00
May 19 07:58:51 vbox kernel: [474266.978874] vlc-static[5255]: segfault at be7000 rip 7fc398d34a17 rsp 40d5f020 error 4