Hi,
i try to run vlc on my server with the httpinterface, all went right, 'till i do something in the playlist. If i add another stream to my playlist, and play them vlc crashes.
I've tested vlc 0.9.8.a,0.9.9 and yesterday the vlc-beta. I run suse linux 11 on an amd x64 processor.
valgrind --leak-check=full /usr/bin/vlc -I http --http-host :8082 --sout '#transcode{acodec=mp3,ab=256}:std{access=http,mux=asf,dst=h1476795.stratoserver.net:8083}' -vvvv
....
[00000519] main input debug: TIMER input launching for 'Radio FFN' : 915.419 ms - Total 915.419 ms / 1 intvls (Avg 915.419 ms)
[00000521] main stream out debug: destroying chain... (name=transcode)
[00000523] main stream out debug: destroying chain... (name=std)
[00000526] mux_asf mux debug: Asf muxer closed
[00000524] access_output_http access out warning: HTTP sout access cannot seek
[00000526] main mux debug: removing module "mux_asf"
==3761==
==3761== Thread 5:
==3761== Invalid read of size 8
==3761== at 0x50B9E5B: httpd_HostDelete (httpd.c:1150)
==3761== by 0x1023EF25: Close (http.c:362)
==3761== by 0x50C3701: __module_Unneed (modules.c:667)
==3761== by 0x50DD889: sout_AccessOutDelete (stream_output.c:345)
==3761== by 0x100398E0: Close (standard.c:484)
==3761== by 0x50C3701: __module_Unneed (modules.c:667)
==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805)
==3761== by 0xFE31035: Close (transcode.c:642)
==3761== by 0x50C3701: __module_Unneed (modules.c:667)
==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805)
==3761== by 0x50DE9BC: sout_DeleteInstance (stream_output.c:134)
==3761== by 0x5089BFF: Destructor (input.c:333)
==3761== Address 0x6873d60 is not stack'd, malloc'd or (recently) free'd
==3761==
==3761== Invalid read of size 4
==3761== at 0x5B7755A: pthread_mutex_lock (in /lib64/libpthread-2.8.so)
==3761== by 0x50D8EEF: __var_Get (vlc_threads.h:197)
==3761== by 0x50B9E63: httpd_HostDelete (httpd.c:1150)
==3761== by 0x1023EF25: Close (http.c:362)
==3761== by 0x50C3701: __module_Unneed (modules.c:667)
==3761== by 0x50DD889: sout_AccessOutDelete (stream_output.c:345)
==3761== by 0x100398E0: Close (standard.c:484)
==3761== by 0x50C3701: __module_Unneed (modules.c:667)
==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805)
==3761== by 0xFE31035: Close (transcode.c:642)
==3761== by 0x50C3701: __module_Unneed (modules.c:667)
==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805)
==3761== Address 0x20706d6372747250 is not stack'd, malloc'd or (recently) free'd
==3761==
==3761== Process terminating with default action of signal 11 (SIGSEGV)
==3761== General Protection Fault
==3761== at 0x5B7755A: pthread_mutex_lock (in /lib64/libpthread-2.8.so)
==3761== by 0x50D8EEF: __var_Get (vlc_threads.h:197)
==3761== by 0x50B9E63: httpd_HostDelete (httpd.c:1150)
==3761== by 0x1023EF25: Close (http.c:362)
==3761== by 0x50C3701: __module_Unneed (modules.c:667)
==3761== by 0x50DD889: sout_AccessOutDelete (stream_output.c:345)
==3761== by 0x100398E0: Close (standard.c:484)
==3761== by 0x50C3701: __module_Unneed (modules.c:667)
==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805)
==3761== by 0xFE31035: Close (transcode.c:642)
==3761== by 0x50C3701: __module_Unneed (modules.c:667)
==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805)
==3761==
==3761== ERROR SUMMARY: 12 errors from 11 contexts (suppressed: 1149 from 3)
==3761== malloc/free: in use at exit: 2,435,018 bytes in 11,616 blocks.
==3761== malloc/free: 115,380 allocs, 103,764 frees, 169,494,750 bytes allocated.
==3761== For counts of detected errors, rerun with: -v
==3761== searching for pointers to 11,616 not-freed blocks.
==3761== checked 101,158,144 bytes.
==3761==
==3761== Thread 1:
==3761==
==3761== 16 bytes in 1 blocks are definitely lost in loss record 8 of 151
==3761== at 0x4C25741: realloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==3761== by 0x50BB765: httpd_TLSHostNew (httpd.c:1114)
==3761== by 0x1023F0B9: Open (http.c:231)
==3761== by 0x50C3C64: __module_Need (modules.c:571)
==3761== by 0x50DE526: sout_AccessOutNew (stream_output.c:323)
==3761== by 0x10039E8A: Open (standard.c:371)
==3761== by 0x50C3C64: __module_Need (modules.c:571)
==3761== by 0x50DD966: sout_StreamNew (stream_output.c:788)
==3761== by 0xFE312F8: Open (transcode.c:387)
==3761== by 0x50C3C64: __module_Need (modules.c:571)
==3761== by 0x50DD966: sout_StreamNew (stream_output.c:788)
==3761== by 0x50DEDA9: __sout_NewInstance (stream_output.c:112)
==3761==
==3761==
==3761== 28 bytes in 1 blocks are definitely lost in loss record 20 of 151
==3761== at 0x4C2560E: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==3761== by 0x62CCEFF: __vasprintf_chk (in /lib64/libc-2.8.so)
==3761== by 0x62CCD92: __asprintf_chk (in /lib64/libc-2.8.so)
==3761== by 0x50CF75A: config_OpenConfigFile (stdio2.h:158)
==3761== by 0x50D0AED: __config_LoadConfigFile (file.c:164)
==3761== by 0x50638F1: libvlc_InternalInit (libvlc.c:512)
==3761== by 0x4E31847: libvlc_new (core.c:124)
==3761== by 0x401006: main (vlc.c:136)
==3761==
==3761==
==3761== 108 bytes in 3 blocks are definitely lost in loss record 53 of 151
==3761== at 0x4C2560E: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==3761== by 0x6262A61: strdup (in /lib64/libc-2.8.so)
==3761== by 0xE4251BA: MRLParse (util.c:839)
==3761== by 0xE41F8FC: EvaluateRPN (rpn.c:845)
==3761== by 0xE421B3E: Execute (macro.c:782)
==3761== by 0xE420DC1: Execute (macro.c:981)
==3761== by 0xE420DC1: Execute (macro.c:981)
==3761== by 0xE41BF02: ParseExecute (http.c:492)
==3761== by 0xE41CF3F: HttpCallback (http.c:535)
==3761== by 0x50B67C9: httpd_FileCallBack (httpd.c:434)
==3761== by 0x50B7D4B: httpd_HostThread (httpd.c:2279)
==3761== by 0x50CA235: thread_entry (threads.c:465)
==3761==
==3761==
==3761== 3,168 bytes in 11 blocks are possibly lost in loss record 124 of 151
==3761== at 0x4C233E4: calloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==3761== by 0x401093E: _dl_allocate_tls (in /lib64/ld-2.8.so)
==3761== by 0x5B756FA: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.8.so)
==3761== by 0x50CA05C: __vlc_thread_create (threads.c:538)
==3761== by 0x506CAD0: intf_RunThread (interface.c:167)
==3761== by 0x50612A3: libvlc_InternalAddIntf (libvlc.c:1153)
==3761== by 0x5064706: libvlc_InternalInit (libvlc.c:857)
==3761== by 0x4E31847: libvlc_new (core.c:124)
==3761== by 0x401006: main (vlc.c:136)
==3761==
==3761==
==3761== 4,128 bytes in 2 blocks are definitely lost in loss record 129 of 151
==3761== at 0x4C25741: realloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==3761== by 0x57507FB: (within /lib64/libdbus-1.so.3.4.0)
==3761== by 0x5753B17: (within /lib64/libdbus-1.so.3.4.0)
==3761== by 0x5753EF0: (within /lib64/libdbus-1.so.3.4.0)
==3761== by 0x574AA6A: (within /lib64/libdbus-1.so.3.4.0)
==3761== by 0x574A916: (within /lib64/libdbus-1.so.3.4.0)
==3761== by 0x573876E: (within /lib64/libdbus-1.so.3.4.0)
==3761== by 0x5733A57: (within /lib64/libdbus-1.so.3.4.0)
==3761== by 0xC60C0DA: Activate (inhibit.c:93)
==3761== by 0x50C3C64: __module_Need (modules.c:571)
==3761== by 0x506CD9E: __intf_Create (interface.c:105)
==3761== by 0x506128F: libvlc_InternalAddIntf (libvlc.c:1144)
==3761==
==3761==
==3761== 8,888 bytes in 148 blocks are possibly lost in loss record 131 of 151
==3761== at 0x4C24FCC: operator new(unsigned long) (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==3761== by 0x14ED263C: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_create(unsigned long, unsigned long, std::allocator<wchar_t> const&) (in /usr/lib64/libstdc++.so.6.0.10)
==3761== by 0x14ED316A: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_clone(std::allocator<wchar_t> const&, unsigned long) (in /usr/lib64/libstdc++.so.6.0.10)
==3761== by 0x14ED3C30: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::reserve(unsigned long) (in /usr/lib64/libstdc++.so.6.0.10)
==3761== by 0x14ED3DB0: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(unsigned long, wchar_t) (in /usr/lib64/libstdc++.so.6.0.10)
==3761== by 0x1984EC19: TagLib::String::String(char const*, TagLib::String::Type) (in /usr/lib64/libtag.so.1.5.0)
==3761== by 0x1982F3E9: (within /usr/lib64/libtag.so.1.5.0)
==3761== by 0x1985D055: (within /usr/lib64/libtag.so.1.5.0)
==3761== by 0x19828ABA: (within /usr/lib64/libtag.so.1.5.0)
==3761== by 0x195FC607: (within /usr/lib64/vlc/meta_engine/libtaglib_plugin.so)
==3761== by 0x400D72F: (within /lib64/ld-2.8.so)
==3761== by 0x400D85D: (within /lib64/ld-2.8.so)
==3761==
==3761==
==3761== 315,080 bytes in 379 blocks are possibly lost in loss record 150 of 151
==3761== at 0x4C233E4: calloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==3761== by 0x50D7051: __vlc_custom_create (objects.c:115)
==3761== by 0x50CA424: vlc_threads_init (threads.c:167)
==3761== by 0x50618D2: libvlc_InternalCreate (libvlc.c:182)
==3761== by 0x4E3169D: libvlc_new (core.c:108)
==3761== by 0x401006: main (vlc.c:136)
==3761==
==3761== LEAK SUMMARY:
==3761== definitely lost: 4,280 bytes in 7 blocks.
==3761== possibly lost: 327,136 bytes in 538 blocks.
==3761== still reachable: 2,103,602 bytes in 11,071 blocks.
==3761== suppressed: 0 bytes in 0 blocks.
==3761== Reachable blocks (those to which a pointer was found) are not shown.
==3761== To see them, rerun with: --leak-check=full --show-reachable=yes
Killed
gdb --args /usr/bin/vlc -I http --sout '#transcode{acodec=mp3,ab=256}:std{access=http,mux=asf,dst=h1476795.stratoserver.net:8081}' -vvvv
....
[00000460] main stream out debug: looking for sout stream module: 1 candidate
[00000460] main stream out debug: set config option: sout-standard-access to http
[00000460] main stream out debug: set config option: sout-standard-mux to asf
[00000460] main stream out debug: set config option: sout-standard-dst to h1476795.stratoserver.net:8081
[00000460] stream_out_standard stream out debug: creating http/asf://h1476795.stratoserver.net:8081' [00000460] stream_out_standard stream out debug: extension is net:8081 [00000460] stream_out_standard stream out debug: extension -> mux=(null) [00000460] stream_out_standard stream out debug: using http/asf://h1476795.stratoserver.net:8081'
[00000461] main access out debug: looking for sout access module: 1 candidate
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x46bee950 (LWP 3696)]
httpd_TLSHostNew (p_this=0x860bb8, psz_hostname=, i_port=8081, psz_cert=0x0, psz_key=0x0, psz_ca=0x0,
psz_crl=0x0) at network/httpd.c:1025
1025 host = httpd->host[i];
(gdb) bt
#0 httpd_TLSHostNew (p_this=0x860bb8, psz_hostname=, i_port=8081, psz_cert=0x0, psz_key=0x0,
psz_ca=0x0, psz_crl=0x0) at network/httpd.c:1025
#1 (closed) 0x00007f8227bf80ba in Open (p_this=0x860bb8) at http.c:231
#2 (closed) 0x00007f82303b8c65 in __module_Need (p_this=0x1, psz_capability=0x7f82303e83c1 "sout access", psz_name=0x860c70 "http",
b_strict=true) at modules/modules.c:571
#3 (closed) 0x00007f82303d3527 in sout_AccessOutNew (p_sout=0x89c568, psz_access=0x861090 "http",
psz_name=0x892880 "h1476795.stratoserver.net:8081") at stream_output/stream_output.c:323
#4 0x00007f8227dfce8b in Open (p_this=0xd62258) at standard.c:371
#5 (closed) 0x00007f82303b8c65 in __module_Need (p_this=0x1, psz_capability=0x7f82303f2480 "sout stream", psz_name=0xd62300 "std",
b_strict=true) at modules/modules.c:571
#6 (closed) 0x00007f82303d2967 in sout_StreamNew (p_sout=0x89c568,
psz_chain=0x870390 "std{access=http,mux=asf,dst=h1476795.stratoserver.net:8081}") at stream_output/stream_output.c:788
#7 (closed) 0x00007f822c0452f9 in Open (p_this=0x895278) at transcode.c:387
#8 (closed) 0x00007f82303b8c65 in __module_Need (p_this=0x1, psz_capability=0x7f82303f2480 "sout stream",
psz_name=0x8970f0 "transcode", b_strict=true) at modules/modules.c:571
#9 (closed) 0x00007f82303d2967 in sout_StreamNew (p_sout=0x89c568,
psz_chain=0x862480 "transcode{acodec=mp3,ab=256}:std{access=http,mux=asf,dst=h1476795.stratoserver.net:8081}")
at stream_output/stream_output.c:788
#10 (closed) 0x00007f82303d3daa in __sout_NewInstance (p_parent=0x8965e8,
psz_dest=0x883070 "#transcode{acodec=mp3,ab=256}:std{access=http,mux=asf,dst=h1476795.stratoserver.net:8081}")
at stream_output/stream_output.c:112
#11 (closed) 0x00007f8230385b1d in Init (p_input=0x8965e8) at input/input.c:822
#12 (closed) 0x00007f8230386091 in Run (p_this=0x8965e8) at input/input.c:496
#13 (closed) 0x00007f82303bf236 in thread_entry (data=) at misc/threads.c:465
#14 (closed) 0x00007f822f8c8040 in start_thread () from /lib64/libpthread.so.0
#15 (closed) 0x00007f822f1e108d in clone () from /lib64/libc.so.6
#16 (closed) 0x0000000000000000 in ?? ()
(gdb) print i
$1 = 0
(gdb) print httpd->host[i]
Cannot access memory at address 0x140
valgrind --leak-check=full /usr/bin/vlc -I http --http-host :8082 --sout '#transcode{acodec=mp3,ab=256}:std{access=http,mux=asf,dst=h1476795.stratoserver.net:8083}' -vvvv .... [00000519] main input debug: TIMER input launching for 'Radio FFN' : 915.419 ms - Total 915.419 ms / 1 intvls (Avg 915.419 ms) [00000521] main stream out debug: destroying chain... (name=transcode) [00000523] main stream out debug: destroying chain... (name=std) [00000526] mux_asf mux debug: Asf muxer closed [00000524] access_output_http access out warning: HTTP sout access cannot seek [00000526] main mux debug: removing module "mux_asf" ==3761== ==3761== Thread 5: ==3761== Invalid read of size 8 ==3761== at 0x50B9E5B: httpd_HostDelete (httpd.c:1150) ==3761== by 0x1023EF25: Close (http.c:362) ==3761== by 0x50C3701: __module_Unneed (modules.c:667) ==3761== by 0x50DD889: sout_AccessOutDelete (stream_output.c:345) ==3761== by 0x100398E0: Close (standard.c:484) ==3761== by 0x50C3701: __module_Unneed (modules.c:667) ==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805) ==3761== by 0xFE31035: Close (transcode.c:642) ==3761== by 0x50C3701: __module_Unneed (modules.c:667) ==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805) ==3761== by 0x50DE9BC: sout_DeleteInstance (stream_output.c:134) ==3761== by 0x5089BFF: Destructor (input.c:333) ==3761== Address 0x6873d60 is not stack'd, malloc'd or (recently) free'd ==3761== ==3761== Invalid read of size 4 ==3761== at 0x5B7755A: pthread_mutex_lock (in /lib64/libpthread-2.8.so) ==3761== by 0x50D8EEF: __var_Get (vlc_threads.h:197) ==3761== by 0x50B9E63: httpd_HostDelete (httpd.c:1150) ==3761== by 0x1023EF25: Close (http.c:362) ==3761== by 0x50C3701: __module_Unneed (modules.c:667) ==3761== by 0x50DD889: sout_AccessOutDelete (stream_output.c:345) ==3761== by 0x100398E0: Close (standard.c:484) ==3761== by 0x50C3701: __module_Unneed (modules.c:667) ==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805) ==3761== by 0xFE31035: Close (transcode.c:642) ==3761== by 0x50C3701: __module_Unneed (modules.c:667) ==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805) ==3761== Address 0x20706d6372747250 is not stack'd, malloc'd or (recently) free'd ==3761== ==3761== Process terminating with default action of signal 11 (SIGSEGV) ==3761== General Protection Fault ==3761== at 0x5B7755A: pthread_mutex_lock (in /lib64/libpthread-2.8.so) ==3761== by 0x50D8EEF: __var_Get (vlc_threads.h:197) ==3761== by 0x50B9E63: httpd_HostDelete (httpd.c:1150) ==3761== by 0x1023EF25: Close (http.c:362) ==3761== by 0x50C3701: __module_Unneed (modules.c:667) ==3761== by 0x50DD889: sout_AccessOutDelete (stream_output.c:345) ==3761== by 0x100398E0: Close (standard.c:484) ==3761== by 0x50C3701: __module_Unneed (modules.c:667) ==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805) ==3761== by 0xFE31035: Close (transcode.c:642) ==3761== by 0x50C3701: __module_Unneed (modules.c:667) ==3761== by 0x50DD7DA: sout_StreamDelete (stream_output.c:805) ==3761== ==3761== ERROR SUMMARY: 12 errors from 11 contexts (suppressed: 1149 from 3) ==3761== malloc/free: in use at exit: 2,435,018 bytes in 11,616 blocks. ==3761== malloc/free: 115,380 allocs, 103,764 frees, 169,494,750 bytes allocated. ==3761== For counts of detected errors, rerun with: -v ==3761== searching for pointers to 11,616 not-freed blocks.==3761== checked 101,158,144 bytes. ==3761== ==3761== Thread 1: ==3761== ==3761== 16 bytes in 1 blocks are definitely lost in loss record 8 of 151 ==3761== at 0x4C25741: realloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==3761== by 0x50BB765: httpd_TLSHostNew (httpd.c:1114) ==3761== by 0x1023F0B9: Open (http.c:231) ==3761== by 0x50C3C64: __module_Need (modules.c:571) ==3761== by 0x50DE526: sout_AccessOutNew (stream_output.c:323) ==3761== by 0x10039E8A: Open (standard.c:371) ==3761== by 0x50C3C64: __module_Need (modules.c:571) ==3761== by 0x50DD966: sout_StreamNew (stream_output.c:788) ==3761== by 0xFE312F8: Open (transcode.c:387) ==3761== by 0x50C3C64: __module_Need (modules.c:571) ==3761== by 0x50DD966: sout_StreamNew (stream_output.c:788) ==3761== by 0x50DEDA9: __sout_NewInstance (stream_output.c:112) ==3761== ==3761== ==3761== 28 bytes in 1 blocks are definitely lost in loss record 20 of 151 ==3761== at 0x4C2560E: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==3761== by 0x62CCEFF: __vasprintf_chk (in /lib64/libc-2.8.so) ==3761== by 0x62CCD92: __asprintf_chk (in /lib64/libc-2.8.so) ==3761== by 0x50CF75A: config_OpenConfigFile (stdio2.h:158) ==3761== by 0x50D0AED: __config_LoadConfigFile (file.c:164) ==3761== by 0x50638F1: libvlc_InternalInit (libvlc.c:512) ==3761== by 0x4E31847: libvlc_new (core.c:124) ==3761== by 0x401006: main (vlc.c:136) ==3761== ==3761== ==3761== 108 bytes in 3 blocks are definitely lost in loss record 53 of 151 ==3761== at 0x4C2560E: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==3761== by 0x6262A61: strdup (in /lib64/libc-2.8.so) ==3761== by 0xE4251BA: MRLParse (util.c:839) ==3761== by 0xE41F8FC: EvaluateRPN (rpn.c:845) ==3761== by 0xE421B3E: Execute (macro.c:782) ==3761== by 0xE420DC1: Execute (macro.c:981) ==3761== by 0xE420DC1: Execute (macro.c:981) ==3761== by 0xE41BF02: ParseExecute (http.c:492) ==3761== by 0xE41CF3F: HttpCallback (http.c:535) ==3761== by 0x50B67C9: httpd_FileCallBack (httpd.c:434) ==3761== by 0x50B7D4B: httpd_HostThread (httpd.c:2279) ==3761== by 0x50CA235: thread_entry (threads.c:465) ==3761== ==3761== ==3761== 3,168 bytes in 11 blocks are possibly lost in loss record 124 of 151 ==3761== at 0x4C233E4: calloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==3761== by 0x401093E: _dl_allocate_tls (in /lib64/ld-2.8.so) ==3761== by 0x5B756FA: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.8.so) ==3761== by 0x50CA05C: __vlc_thread_create (threads.c:538) ==3761== by 0x506CAD0: intf_RunThread (interface.c:167) ==3761== by 0x50612A3: libvlc_InternalAddIntf (libvlc.c:1153) ==3761== by 0x5064706: libvlc_InternalInit (libvlc.c:857) ==3761== by 0x4E31847: libvlc_new (core.c:124) ==3761== by 0x401006: main (vlc.c:136) ==3761== ==3761== ==3761== 4,128 bytes in 2 blocks are definitely lost in loss record 129 of 151 ==3761== at 0x4C25741: realloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==3761== by 0x57507FB: (within /lib64/libdbus-1.so.3.4.0) ==3761== by 0x5753B17: (within /lib64/libdbus-1.so.3.4.0) ==3761== by 0x5753EF0: (within /lib64/libdbus-1.so.3.4.0) ==3761== by 0x574AA6A: (within /lib64/libdbus-1.so.3.4.0) ==3761== by 0x574A916: (within /lib64/libdbus-1.so.3.4.0) ==3761== by 0x573876E: (within /lib64/libdbus-1.so.3.4.0) ==3761== by 0x5733A57: (within /lib64/libdbus-1.so.3.4.0) ==3761== by 0xC60C0DA: Activate (inhibit.c:93) ==3761== by 0x50C3C64: __module_Need (modules.c:571) ==3761== by 0x506CD9E: __intf_Create (interface.c:105) ==3761== by 0x506128F: libvlc_InternalAddIntf (libvlc.c:1144) ==3761== ==3761== ==3761== 8,888 bytes in 148 blocks are possibly lost in loss record 131 of 151 ==3761== at 0x4C24FCC: operator new(unsigned long) (in /usr/lib64/valgrind/amd64linux/vgpreload_memcheck.so) ==3761== by 0x14ED263C: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_create(unsigned long, unsigned long, std::allocator<wchar_t> const&) (in /usr/lib64/libstdc++.so.6.0.10) ==3761== by 0x14ED316A: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_clone(std::allocator<wchar_t> const&, unsigned long) (in /usr/lib64/libstdc++.so.6.0.10) ==3761== by 0x14ED3C30: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::reserve(unsigned long) (in /usr/lib64/libstdc++.so.6.0.10) ==3761== by 0x14ED3DB0: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::append(unsigned long, wchar_t) (in /usr/lib64/libstdc++.so.6.0.10) ==3761== by 0x1984EC19: TagLib::String::String(char const*, TagLib::String::Type) (in /usr/lib64/libtag.so.1.5.0) ==3761== by 0x1982F3E9: (within /usr/lib64/libtag.so.1.5.0) ==3761== by 0x1985D055: (within /usr/lib64/libtag.so.1.5.0) ==3761== by 0x19828ABA: (within /usr/lib64/libtag.so.1.5.0) ==3761== by 0x195FC607: (within /usr/lib64/vlc/meta_engine/libtaglib_plugin.so) ==3761== by 0x400D72F: (within /lib64/ld-2.8.so) ==3761== by 0x400D85D: (within /lib64/ld-2.8.so) ==3761== ==3761== ==3761== 315,080 bytes in 379 blocks are possibly lost in loss record 150 of 151 ==3761== at 0x4C233E4: calloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==3761== by 0x50D7051: __vlc_custom_create (objects.c:115) ==3761== by 0x50CA424: vlc_threads_init (threads.c:167) ==3761== by 0x50618D2: libvlc_InternalCreate (libvlc.c:182) ==3761== by 0x4E3169D: libvlc_new (core.c:108) ==3761== by 0x401006: main (vlc.c:136) ==3761== ==3761== LEAK SUMMARY: ==3761== definitely lost: 4,280 bytes in 7 blocks. ==3761== possibly lost: 327,136 bytes in 538 blocks. ==3761== still reachable: 2,103,602 bytes in 11,071 blocks. ==3761== suppressed: 0 bytes in 0 blocks. ==3761== Reachable blocks (those to which a pointer was found) are not shown. ==3761== To see them, rerun with: --leak-check=full --show-reachable=yes Killed gdb --args /usr/bin/vlc -I http --sout '#transcode{acodec=mp3,ab=256}:std{access=http,mux=asf,dst=h1476795.stratoserver.net:8081}' -vvvv .... [00000460] main stream out debug: looking for sout stream module: 1 candidate [00000460] main stream out debug: set config option: sout-standard-access to http [00000460] main stream out debug: set config option: sout-standard-mux to asf [00000460] main stream out debug: set config option: sout-standard-dst to h1476795.stratoserver.net:8081 [00000460] stream_out_standard stream out debug: creating `http/asf://h1476795.stratoserver.net:8081' [00000460] stream_out_standard stream out debug: extension is net:8081 [00000460] stream_out_standard stream out debug: extension -> mux=(null) [00000460] stream_out_standard stream out debug: using `http/asf://h1476795.stratoserver.net:8081' [00000461] main access out debug: looking for sout access module: 1 candidate Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x46bee950 (LWP 3696)] httpd_TLSHostNew (p_this=0x860bb8, psz_hostname=<value optimized out>, i_port=8081, psz_cert=0x0, psz_key=0x0, psz_ca=0x0, psz_crl=0x0) at network/httpd.c:10251025 host = httpd->host[i]; (gdb) bt [#0](https://code.videolan.org/videolan/vlc/-/issues/0) httpd_TLSHostNew (p_this=0x860bb8, psz_hostname=<value optimized out>, i_port=8081, psz_cert=0x0, psz_key=0x0, psz_ca=0x0, psz_crl=0x0) at network/httpd.c:1025 [#1](https://code.videolan.org/videolan/vlc/-/issues/1) 0x00007f8227bf80ba in Open (p_this=0x860bb8) at http.c:231 [#2](https://code.videolan.org/videolan/vlc/-/issues/2) 0x00007f82303b8c65 in __module_Need (p_this=0x1, psz_capability=0x7f82303e83c1 "sout access", psz_name=0x860c70 "http", b_strict=true) at modules/modules.c:571 [#3](https://code.videolan.org/videolan/vlc/-/issues/3) 0x00007f82303d3527 in sout_AccessOutNew (p_sout=0x89c568, psz_access=0x861090 "http", psz_name=0x892880 "h1476795.stratoserver.net:8081") at stream_output/stream_output.c:323 [#4](https://code.videolan.org/videolan/vlc/-/issues/4) 0x00007f8227dfce8b in Open (p_this=0xd62258) at standard.c:371 [#5](https://code.videolan.org/videolan/vlc/-/issues/5) 0x00007f82303b8c65 in __module_Need (p_this=0x1, psz_capability=0x7f82303f2480 "sout stream", psz_name=0xd62300 "std", b_strict=true) at modules/modules.c:571 [#6](https://code.videolan.org/videolan/vlc/-/issues/6) 0x00007f82303d2967 in sout_StreamNew (p_sout=0x89c568, psz_chain=0x870390 "std{access=http,mux=asf,dst=h1476795.stratoserver.net:8081}") at stream_output/stream_output.c:788 [#7](https://code.videolan.org/videolan/vlc/-/issues/7) 0x00007f822c0452f9 in Open (p_this=0x895278) at transcode.c:387 [#8](https://code.videolan.org/videolan/vlc/-/issues/8) 0x00007f82303b8c65 in __module_Need (p_this=0x1, psz_capability=0x7f82303f2480 "sout stream", psz_name=0x8970f0 "transcode", b_strict=true) at modules/modules.c:571 [#9](https://code.videolan.org/videolan/vlc/-/issues/9) 0x00007f82303d2967 in sout_StreamNew (p_sout=0x89c568, psz_chain=0x862480 "transcode{acodec=mp3,ab=256}:std{access=http,mux=asf,dst=h1476795.stratoserver.net:8081}") at stream_output/stream_output.c:788 [#10](https://code.videolan.org/videolan/vlc/-/issues/10) 0x00007f82303d3daa in __sout_NewInstance (p_parent=0x8965e8, psz_dest=0x883070 "#transcode{acodec=mp3,ab=256}:std{access=http,mux=asf,dst=h1476795.stratoserver.net:8081}") at stream_output/stream_output.c:112 [#11](https://code.videolan.org/videolan/vlc/-/issues/11) 0x00007f8230385b1d in Init (p_input=0x8965e8) at input/input.c:822 [#12](https://code.videolan.org/videolan/vlc/-/issues/12) 0x00007f8230386091 in Run (p_this=0x8965e8) at input/input.c:496 [#13](https://code.videolan.org/videolan/vlc/-/issues/13) 0x00007f82303bf236 in thread_entry (data=<value optimized out>) at misc/threads.c:465 [#14](https://code.videolan.org/videolan/vlc/-/issues/14) 0x00007f822f8c8040 in start_thread () from /lib64/libpthread.so.0 [#15](https://code.videolan.org/videolan/vlc/-/issues/15) 0x00007f822f1e108d in clone () from /lib64/libc.so.6 [#16](https://code.videolan.org/videolan/vlc/-/issues/16) 0x0000000000000000 in ?? () (gdb) print i $1 = 0 (gdb) print httpd->host[i] Cannot access memory at address 0x140