Deadlock in http access
I got what seems to be some deadlock in the http access in combination with the (non-working) twitch lua script:
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff202ef2ba libsystem_kernel.dylib`mach_msg_trap + 10
frame #1: 0x00007fff202ef62c libsystem_kernel.dylib`mach_msg + 60
frame #2: 0x00007fff2041db2f CoreFoundation`__CFRunLoopServiceMachPort + 316
frame #3: 0x00007fff2041c20f CoreFoundation`__CFRunLoopRun + 1328
frame #4: 0x00007fff2041b61c CoreFoundation`CFRunLoopRunSpecific + 563
frame #5: 0x00007fff204a1f12 CoreFoundation`CFRunLoopRun + 40
frame #6: 0x000000010a990655 vlc-osx-static`main(i_argc=5, ppsz_argv=0x00007ffee52727f8) at darwinvlc.m:289:13
frame #7: 0x00007fff2033ff3d libdyld.dylib`start + 1
thread #2
frame #0: 0x00007fff202f095e libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff203214c1 libsystem_pthread.dylib`_pthread_wqthread + 414
frame #2: 0x00007fff2032042f libsystem_pthread.dylib`start_wqthread + 15
thread #3
frame #0: 0x00007fff202f1cde libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff20324e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
frame #2: 0x000000010aadae4c libvlccore.9.dylib`vlc_atomic_wait(addr=0x000070000b33bf40, value=0) at wait.c:86:9
frame #3: 0x000000010aac4663 libvlccore.9.dylib`vlc_cond_wait(cond=0x00007fa184c350d8, mutex=0x00007fa184c35080) at threads.c:293:5
frame #4: 0x000000010aab7150 libvlccore.9.dylib`QueueTake(executor=0x00007fa184c35080) at executor.c:98:9
frame #5: 0x000000010aab6fa2 libvlccore.9.dylib`ThreadRun(userdata=0x00007fa184c35100) at executor.c:126:24
frame #6: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #7: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #4
frame #0: 0x00007fff202f1cde libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff20324e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
frame #2: 0x000000010aadae4c libvlccore.9.dylib`vlc_atomic_wait(addr=0x000070000b43ef40, value=0) at wait.c:86:9
frame #3: 0x000000010aac4663 libvlccore.9.dylib`vlc_cond_wait(cond=0x00007fa184c368b8, mutex=0x00007fa184c36860) at threads.c:293:5
frame #4: 0x000000010aab7150 libvlccore.9.dylib`QueueTake(executor=0x00007fa184c36860) at executor.c:98:9
frame #5: 0x000000010aab6fa2 libvlccore.9.dylib`ThreadRun(userdata=0x00007fa184c368e0) at executor.c:126:24
frame #6: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #7: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #5
frame #0: 0x00007fff202f1cde libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff20324e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
frame #2: 0x000000010aadae4c libvlccore.9.dylib`vlc_atomic_wait(addr=0x000070000b541f40, value=0) at wait.c:86:9
frame #3: 0x000000010aac4663 libvlccore.9.dylib`vlc_cond_wait(cond=0x00007fa184c369b8, mutex=0x00007fa184c36960) at threads.c:293:5
frame #4: 0x000000010aab7150 libvlccore.9.dylib`QueueTake(executor=0x00007fa184c36960) at executor.c:98:9
frame #5: 0x000000010aab6fa2 libvlccore.9.dylib`ThreadRun(userdata=0x00007fa184c369e0) at executor.c:126:24
frame #6: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #7: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #6
frame #0: 0x00007fff202f1cde libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff20324e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
frame #2: 0x000000010aadae4c libvlccore.9.dylib`vlc_atomic_wait(addr=0x000070000b644f40, value=0) at wait.c:86:9
frame #3: 0x000000010aac4663 libvlccore.9.dylib`vlc_cond_wait(cond=0x00007fa184c36a68, mutex=0x00007fa184c36a10) at threads.c:293:5
frame #4: 0x000000010aab7150 libvlccore.9.dylib`QueueTake(executor=0x00007fa184c36a10) at executor.c:98:9
frame #5: 0x000000010aab6fa2 libvlccore.9.dylib`ThreadRun(userdata=0x00007fa184c36a90) at executor.c:126:24
frame #6: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #7: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #7
frame #0: 0x00007fff202f1cde libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff20324e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
frame #2: 0x000000010aadae4c libvlccore.9.dylib`vlc_atomic_wait(addr=0x000070000b747f40, value=0) at wait.c:86:9
frame #3: 0x000000010aac4663 libvlccore.9.dylib`vlc_cond_wait(cond=0x00007fa184c36b18, mutex=0x00007fa184c36ac0) at threads.c:293:5
frame #4: 0x000000010aab7150 libvlccore.9.dylib`QueueTake(executor=0x00007fa184c36ac0) at executor.c:98:9
frame #5: 0x000000010aab6fa2 libvlccore.9.dylib`ThreadRun(userdata=0x00007fa184c36b40) at executor.c:126:24
frame #6: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #7: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #8, name = 'AMCP Logging Spool'
frame #0: 0x00007fff202ef2f6 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x00007fff283e18da caulk`caulk::mach::semaphore::wait_or_error() + 16
frame #2: 0x00007fff283ce836 caulk`caulk::semaphore::timed_wait(double) + 110
frame #3: 0x00007fff283ce784 caulk`caulk::concurrent::details::worker_thread::run() + 30
frame #4: 0x00007fff283ce502 caulk`void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 45
frame #5: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #6: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #9
frame #0: 0x00007fff202f1cde libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff20324e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
frame #2: 0x000000010aadae4c libvlccore.9.dylib`vlc_atomic_wait(addr=0x000070000b950ab0, value=0) at wait.c:86:9
frame #3: 0x000000010aac4663 libvlccore.9.dylib`vlc_cond_wait(cond=0x00007fa184c37e20, mutex=0x00007fa184c37d08) at threads.c:293:5
frame #4: 0x000000010aa5ec22 libvlccore.9.dylib`vlc_player_destructor_Thread(data=0x00007fa184c37cf0) at player.c:214:13
frame #5: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #6: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #10
frame #0: 0x00007fff202f1cde libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff20324e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
frame #2: 0x00007fff2028dd72 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
frame #3: 0x0000000114537d57 libmedialibrary_plugin.dylib`medialibrary::ModificationNotifier::run() [inlined] void std::__1::condition_variable::wait<medialibrary::ModificationNotifier::run()::$_1>(std::__1::unique_lock<std::__1::mutex>&, medialibrary::ModificationNotifier::run()::$_1) at __mutex_base:409:9 [opt]
frame #4: 0x0000000114537d26 libmedialibrary_plugin.dylib`medialibrary::ModificationNotifier::run(this=0x00007fa18663ef10) at ModificationsNotifier.cpp:230 [opt]
frame #5: 0x000000011453cb3e libmedialibrary_plugin.dylib`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (medialibrary::ModificationNotifier::*)(), medialibrary::ModificationNotifier*> >(void*) [inlined] decltype(__f=<unavailable>, __a0=<unavailable>)).*fp()) std::__1::__invoke<void (medialibrary::ModificationNotifier::*)(), medialibrary::ModificationNotifier*, void>(void (medialibrary::ModificationNotifier::*&&)(), medialibrary::ModificationNotifier*&&) at type_traits:3688:1 [opt]
frame #6: 0x000000011453cb24 libmedialibrary_plugin.dylib`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (medialibrary::ModificationNotifier::*)(), medialibrary::ModificationNotifier*> >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (medialibrary::ModificationNotifier::*)(), medialibrary::ModificationNotifier*, 2ul>(__t=<unavailable>)(), medialibrary::ModificationNotifier*>&, std::__1::__tuple_indices<2ul>) at thread:280 [opt]
frame #7: 0x000000011453cb24 libmedialibrary_plugin.dylib`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (medialibrary::ModificationNotifier::*)(), medialibrary::ModificationNotifier*> >(__vp=0x00007fa18663ed20) at thread:291 [opt]
frame #8: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #9: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #11
frame #0: 0x00007fff202f1cde libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff20324e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
frame #2: 0x000000010aadae4c libvlccore.9.dylib`vlc_atomic_wait(addr=0x000070000bad6f40, value=0) at wait.c:86:9
frame #3: 0x000000010aac4663 libvlccore.9.dylib`vlc_cond_wait(cond=0x00007fa1866439b8, mutex=0x00007fa186643960) at threads.c:293:5
frame #4: 0x000000010aab7150 libvlccore.9.dylib`QueueTake(executor=0x00007fa186643960) at executor.c:98:9
frame #5: 0x000000010aab6fa2 libvlccore.9.dylib`ThreadRun(userdata=0x00007fa186667ab0) at executor.c:126:24
frame #6: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #7: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #12
frame #0: 0x00007fff202f09ee libsystem_kernel.dylib`__ulock_wait + 10
frame #1: 0x00007fff20325f60 libsystem_pthread.dylib`_pthread_join + 362
frame #2: 0x000000010aadb76d libvlccore.9.dylib`vlc_join(th=vlc_thread_t @ 0x000070000bbd9378, result=0x0000000000000000) at thread.c:197:15
frame #3: 0x0000000115561c7e libhttps_plugin.dylib`vlc_h2_conn_destroy(conn=0x00007fa184c429a0) at h2conn.c:849:5
frame #4: 0x0000000115560e89 libhttps_plugin.dylib`vlc_h2_conn_release(c=0x00007fa184c429a0) at h2conn.c:871:9
frame #5: 0x0000000115565a1d libhttps_plugin.dylib`vlc_http_conn_release(conn=0x00007fa184c429a0) at conn.h:56:5
frame #6: 0x000000011556576e libhttps_plugin.dylib`vlc_http_mgr_release(mgr=0x00007fa186011aa0, conn=0x00007fa184c429a0) at connmgr.c:121:5
frame #7: 0x00000001155656cc libhttps_plugin.dylib`vlc_http_mgr_destroy(mgr=0x00007fa186011aa0) at connmgr.c:308:9
frame #8: 0x0000000115555e85 libhttps_plugin.dylib`Open(obj=0x00007fa186022290) at access.c:265:9
frame #9: 0x000000010aa0263e libvlccore.9.dylib`generic_start(func=0x00000001155558c0, forced=true, ap=0x000070000bbd9860) at modules.c:275:11
frame #10: 0x000000010aa02349 libvlccore.9.dylib`vlc_module_load(log=0x00007fa186004528, capability="access", name="https", strict=true, probe=(libvlccore.9.dylib`generic_start at modules.c:269)) at modules.c:243:19
frame #11: 0x000000010aa02544 libvlccore.9.dylib`module_need(obj=0x00007fa186022290, cap="access", name="https", strict=true) at modules.c:286:24
frame #12: 0x000000010aa215e2 libvlccore.9.dylib`access_New(parent=0x00007fa184c40f00, input=0x0000000000000000, out=0x0000000000000000, preparsing=false, mrl="https://api.twitch.tv/api/channels/royalphunk/access_token?client_id=kimne78kx3ncx6brgo4mv6wki5h1ko") at access.c:142:24
frame #13: 0x000000010aa219cb libvlccore.9.dylib`stream_AccessNew(parent=0x00007fa184c40f00, input=0x0000000000000000, out=0x0000000000000000, preparsing=false, url="https://api.twitch.tv/api/channels/royalphunk/access_token?client_id=kimne78kx3ncx6brgo4mv6wki5h1ko") at access.c:287:24
frame #14: 0x000000010aa71bf3 libvlccore.9.dylib`vlc_stream_NewURL(p_parent=0x00007fa184c40f00, psz_url="https://api.twitch.tv/api/channels/royalphunk/access_token?client_id=kimne78kx3ncx6brgo4mv6wki5h1ko") at stream.c:146:19
frame #15: 0x000000010aa71c9b libvlccore.9.dylib`vlc_stream_NewMRL(parent=0x00007fa184c40f00, mrl="https://api.twitch.tv/api/channels/royalphunk/access_token?client_id=kimne78kx3ncx6brgo4mv6wki5h1ko") at stream.c:156:24
frame #16: 0x00000001174501fc liblua_plugin.dylib`vlclua_stream_new(L=0x00007fa1860107c0) at stream.c:93:26
frame #17: 0x000000011746c801 liblua_plugin.dylib`luaD_precall + 1441
frame #18: 0x000000011747a943 liblua_plugin.dylib`luaV_execute + 3539
frame #19: 0x000000011746cbc1 liblua_plugin.dylib`luaD_call + 97
frame #20: 0x000000011746bf85 liblua_plugin.dylib`luaD_rawrunprotected + 85
frame #21: 0x000000011746ce94 liblua_plugin.dylib`luaD_pcall + 68
frame #22: 0x00000001174673d7 liblua_plugin.dylib`lua_pcall + 279
frame #23: 0x000000011743b77b liblua_plugin.dylib`ReadDir(s=0x00007fa184c40f00, node=0x00007fa18600a7e0) at stream_filter.c:228:9
frame #24: 0x000000010aa738e8 libvlccore.9.dylib`vlc_stream_ReadDir(s=0x00007fa184c40f00, p_node=0x00007fa18600a7e0) at stream.c:752:12
frame #25: 0x000000010aa2ebda libvlccore.9.dylib`demux_Demux(demux=0x00007fa184c40f00) at demux.c:220:13
frame #26: 0x000000010aa52961 libvlccore.9.dylib`MainLoopDemux(p_input=0x00007fa18884dc00, pb_changed=0x000070000bbd9f77) at input.c:543:17
frame #27: 0x000000010aa4cf58 libvlccore.9.dylib`MainLoop(p_input=0x00007fa18884dc00, b_interactive=true) at input.c:690:17
frame #28: 0x000000010aa4af37 libvlccore.9.dylib`Run(data=0x00007fa18884dc00) at input.c:475:9
frame #29: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #30: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #13
frame #0: 0x00007fff202f1cde libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff20324e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
frame #2: 0x000000010aadae4c libvlccore.9.dylib`vlc_atomic_wait(addr=0x000070000bcdcf10, value=0) at wait.c:86:9
frame #3: 0x000000010aac4663 libvlccore.9.dylib`vlc_cond_wait(cond=0x00007fa1866878a8, mutex=0x00007fa186687880) at threads.c:293:5
frame #4: 0x00000001172d6812 libprefetch_plugin.dylib`Thread(data=0x00007fa1866887f0) at prefetch.c:183:13
frame #5: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #6: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #14
frame #0: 0x00007fff202f1cde libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff20324e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
frame #2: 0x000000010aadae4c libvlccore.9.dylib`vlc_atomic_wait(addr=0x000070000bddff00, value=0) at wait.c:86:9
frame #3: 0x000000010aac4663 libvlccore.9.dylib`vlc_cond_wait(cond=0x00007fa184c41c88, mutex=0x00007fa184c41c78) at threads.c:293:5
frame #4: 0x0000000115560558 libhttps_plugin.dylib`vlc_h2_output_dequeue(out=0x00007fa184c41c40) at h2output.c:151:9
frame #5: 0x000000011556010d libhttps_plugin.dylib`vlc_h2_output_thread(data=0x00007fa184c41c40) at h2output.c:263:21
frame #6: 0x00000001155600d8 libhttps_plugin.dylib`vlc_h2_client_output_thread(data=0x00007fa184c41c40) at h2output.c:299:12
frame #7: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #8: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
thread #15
frame #0: 0x00007fff202f59ca libsystem_kernel.dylib`poll + 10
frame #1: 0x000000011556295d libhttps_plugin.dylib`vlc_https_recv(tls=0x00007fa186682f00, buf=0x000070000bee2f2f, len=9) at h2conn.c:744:9
frame #2: 0x0000000115561e1c libhttps_plugin.dylib`vlc_h2_frame_recv(tls=0x00007fa186682f00) at h2conn.c:765:17
frame #3: 0x0000000115560a41 libhttps_plugin.dylib`vlc_h2_recv_thread(data=0x00007fa184c429a0) at h2conn.c:815:17
frame #4: 0x00007fff203248fc libsystem_pthread.dylib`_pthread_start + 224
frame #5: 0x00007fff20320443 libsystem_pthread.dylib`thread_start + 15
Log:
VLC media player 4.0.0-dev Otto Chriek (revision 4.0.0-dev-16792-g7ba96db672)
[00007fa1860045b0] main libvlc debug: VLC media player - 4.0.0-dev Otto Chriek
[00007fa1860045b0] main libvlc debug: Copyright © 1996-2021 the VideoLAN team
[00007fa1860045b0] main libvlc debug: revision 4.0.0-dev-16792-g7ba96db672
[00007fa1860045b0] main libvlc debug: configured with ../extras/package/macosx/../../../configure '--prefix=/' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-osx-notifications' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-libass' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-pulse' '--disable-vnc' '--with-macosx-version-min=10.11' '-C' '--build=x86_64-apple-darwin18' '--host=x86_64-apple-darwin18' '--disable-nls' '--enable-debug' 'CFLAGS=-g' 'CXXFLAGS=-g' 'OBJCFLAGS=-g' 'build_alias=x86_64-apple-darwin18' 'host_alias=x86_64-apple-darwin18' 'LDFLAGS='
[00007fa1860045b0] main libvlc debug: searching plug-in modules
[00007fa1860045b0] main libvlc debug: loading plugins cache file /Users/epirat/Projects/VideoLAN/VLC/build/modules/plugins/plugins.dat
[00007fa1860045b0] main libvlc warning: cannot read /Users/epirat/Projects/VideoLAN/VLC/build/modules/plugins/plugins.dat: No such file or directory
[00007fa1860045b0] main libvlc debug: recursively browsing `/Users/epirat/Projects/VideoLAN/VLC/build/modules/plugins'
[00007fa1860045b0] main libvlc debug: loading plugins cache file /Users/epirat/Projects/VideoLAN/VLC/build/modules/plugins.dat
[00007fa1860045b0] main libvlc warning: cannot read /Users/epirat/Projects/VideoLAN/VLC/build/modules/plugins.dat: No such file or directory
[00007fa1860045b0] main libvlc debug: recursively browsing `/Users/epirat/Projects/VideoLAN/VLC/build/modules'
[00007ffee5272090] main generic error: cannot load plug-in /Users/epirat/Projects/VideoLAN/VLC/build/modules/.libs/libaccess_output_shout_plugin.dylib: dlopen(/Users/epirat/Projects/VideoLAN/VLC/build/modules/.libs/libaccess_output_shout_plugin.dylib, 1): Library not loaded: /opt/local/lib/libvorbis.0.dylib
Referenced from: /Users/epirat/Projects/VideoLAN/VLC/contrib/x86_64-apple-darwin18/lib/libshout.3.dylib
Reason: image not found
[00007fa1860045b0] main libvlc debug: plug-ins loaded: 490 modules
[00007fa1860045b0] main libvlc debug: opening config file (/Users/epirat/Library/Preferences/org.videolan.vlc/vlcrc)
[00007ffee5272408] main generic debug: looking for logger module matching "any": 3 candidates
[00007ffee5272408] main generic debug: using logger module "console"
[00007ffee52723f8] main generic debug: looking for tracer module matching "any": 0 candidates
[00007ffee52723f8] main generic debug: no tracer modules matched with name any
[00007fa1860045b0] main libvlc debug: translation test: code is "C"
[00007ffee52723b8] main generic debug: looking for keystore module matching "memory": 1 candidates
[00007ffee52723b8] main generic debug: using keystore module "memory"
[00007fa1860045b0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[00007ffee52723d8] main generic debug: looking for medialibrary module matching "any": 1 candidates
[00007ffee52723d8] main generic debug: using medialibrary module "medialibrary"
[00007fa1860045b0] main libvlc warning: Key "Command+0" bound to multiple actions
[00007fa184c37cf0] main player debug: creating audio output
[00007ffee5272068] main generic debug: looking for audio output module matching "any": 1 candidates
[00007fa184c3a870] auhal audio output debug: Trying to use stored audio device 0 (analog)
[00007fa184c3a870] auhal audio output debug: Rebuild device list
[00007fa184c3a870] auhal audio output debug: found 2 audio device(s)
[00007fa184c3a870] auhal audio output debug: DevID: 84 DevName: MacBook Pro Mikrofon
[00007fa184c3a870] auhal audio output debug: this 'MacBook Pro Mikrofon' is INPUT only. skipping...
[00007fa184c3a870] auhal audio output debug: DevID: 77 DevName: MacBook Pro Lautsprecher
[00007fa184c3a870] auhal audio output debug: supported format: [96000,000000][mcpl][9][8][1][8][2][32]
[00007fa184c3a870] auhal audio output debug: supported format: [88200,000000][mcpl][9][8][1][8][2][32]
[00007fa184c3a870] auhal audio output debug: supported format: [48000,000000][mcpl][9][8][1][8][2][32]
[00007fa184c3a870] auhal audio output debug: supported format: [44100,000000][mcpl][9][8][1][8][2][32]
[00007ffee5272068] main generic debug: using audio output module "auhal"
[00007fa184c37cf0] main player debug: keeping audio output
[00007ffee5272428] main generic debug: looking for interface module matching "hotkeys": 1 candidates
[00007ffee5272428] main generic debug: using interface module "hotkeys"
[00007ffee5272498] main generic debug: looking for interface module matching "dummy": 1 candidates
[00007fa18663b9c0] dummy interface: using the dummy interface module...
[00007ffee5272498] main generic debug: using interface module "dummy"
[00007fa18884dc00] main input debug: Creating an input for 'royalphunk'
[00007fa184c34f50] medialibrary medialibrary debug: MediaLibrary successfully initialized
[00007fa18884dc00] main input debug: using timeshift granularity of 50 MiB
[00007fa18884dc00] main input debug: using default timeshift path
[00007fa18884dc00] main input debug: `https://www.twitch.tv/royalphunk' gives access `https' demux `any' path `www.twitch.tv/royalphunk'
[00007fa184f195d0] main access debug: creating access: https://www.twitch.tv/royalphunk
[000070000bbd9ae8] main generic debug: looking for access module matching "https": 1 candidates
[00007fa184f19810] securetransport tls client debug: open st client
[00007fa184f19810] main tls client debug: resolving www.twitch.tv ...
[00007fa184f19810] securetransport tls client debug: open TLS session for www.twitch.tv
[00007fa184f19810] securetransport tls client debug: handshake is blocked, try again later
[00007fa184f19810] securetransport tls client debug: handshake is blocked, try again later
[00007fa184f19810] securetransport tls client debug: SSLHandshake returned errSSLServerAuthCompleted, continuing handshake
[00007fa184f19810] securetransport tls client debug: handshake is blocked, try again later
[00007fa184f19810] securetransport tls client debug: cerfificate verification successful, result is 4
[00007fa184f19810] securetransport tls client debug: handshake completed successfully
[000070000bbd9438] http generic debug: outgoing request:
GET /royalphunk HTTP/1.1
Host: www.twitch.tv
Accept: */*
Accept-Language: en_US
User-Agent: VLC/4.0.0-dev LibVLC/4.0.0-dev
Range: bytes=0-
[000070000bbd9438] http generic debug: incoming response:
HTTP/1.1 200 OK
Connection: keep-alive
Content-Type: text/html
Set-Cookie: unique_id=Mf4KG7Zjgjaew1DYNuAY8r1QiTWpbVFn; expires=Fri, 11 Nov 2022 14:46:15 GMT; domain=.twitch.tv; path=/; secure; samesite=none
Set-Cookie: unique_id_durable=Mf4KG7Zjgjaew1DYNuAY8r1QiTWpbVFn; expires=Fri, 11 Nov 2022 14:46:15 GMT; domain=.twitch.tv; path=/; secure; samesite=none; httponly
Set-Cookie: server_session_id=b122182d1f514bff81abbcf0fda9f243; domain=.twitch.tv; path=/; secure; samesite=none
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000
Cache-Control: private, max-age=0
Date: Mon, 11 Oct 2021 14:46:15 GMT
Set-Cookie: twitch.lohp.countryCode=AT; domain=.twitch.tv; expires=Sat, 05 Nov 2022 14:46:15 GMT;
Vary: Accept-Encoding
transfer-encoding: chunked
[000070000bbd9ae8] main generic debug: using access module "http"
[000070000bbd9b08] main generic debug: looking for stream_filter module matching "prefetch,cache": 3 candidates
[00007fa1866887f0] prefetch stream filter debug: using 16777216 bytes buffer
[000070000bbd9b08] main generic debug: using stream_filter module "prefetch"
[000070000bbd9b98] main generic debug: looking for stream_filter module matching "any": 7 candidates
[000070000bbd9b98] main generic debug: no stream_filter modules matched with name any
[000070000bbd9b28] main generic debug: looking for stream_directory module matching "any": 1 candidates
[000070000bbd9b28] main generic debug: no stream_directory modules matched with name any
[00007fa18884dc00] main input debug: attachment of directory-extractor failed for https://www.twitch.tv/royalphunk
[000070000bbd9b68] main generic debug: looking for stream_filter module matching "record": 1 candidates
[000070000bbd9b68] main generic debug: using stream_filter module "record"
[00007fa18884dc00] main input debug: creating demux "any", URL: https://www.twitch.tv/royalphunk, path: (null)
[000070000bbd9b98] main generic debug: looking for demux module matching "any": 63 candidates
[000070000bbd95e8] main generic debug: looking for xml reader module matching "any": 1 candidates
[000070000bbd95e8] main generic debug: using xml reader module "xml"
[00007fa186009700] main xml reader debug: removing module "xml"
[00007fa184c40f00] webvtt demux debug: subtitle demux discarded
[00007fa184c40f00] mod demux debug: MOD validation failed (ext=)
[00007fa184c40f00] ts demux debug: TS module discarded (lost sync)
[00007fa184c40f00] ytdl demux debug: cannot start /Users/epirat/Projects/VideoLAN/VLC/share/ytdl-extract.py: Function not implemented
[00007fa184c40f00] lua demux debug: Trying Lua scripts in /Users/epirat/Library/Application Support/org.videolan.vlc/lua/playlist
[00007fa184c40f00] lua demux debug: Trying Lua scripts in /Users/epirat/Projects/VideoLAN/VLC/build/modules/lua/playlist
[00007fa184c40f00] lua demux debug: Trying Lua scripts in /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/lelombrik.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/anevia_streams.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/extreme.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/mpora.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/koreus.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/france2.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/katsomo.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/metacafe.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/appletrailers.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/vocaroo.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/rockbox_fm_presets.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/liveleak.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/anevia_xml.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/cue.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/vimeo.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/jamendo.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/zapiks.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/youtube.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/pinkbike.lua
[00007fa184c40f00] lua demux debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/twitch.lua
[00007fa184c40f00] lua demux debug: Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/playlist/twitch.lua's probe() function was successful
[000070000bbd9b98] main generic debug: using demux module "lua"
[000070000bbd9dc8] main generic debug: looking for meta reader module matching "any": 2 candidates
[00007fa186013040] lua demux meta debug: Trying Lua scripts in /Users/epirat/Library/Application Support/org.videolan.vlc/lua/meta/reader
[00007fa186013040] lua demux meta debug: Trying Lua scripts in /Users/epirat/Projects/VideoLAN/VLC/build/modules/lua/meta/reader
[00007fa186013040] lua demux meta debug: Trying Lua scripts in /Users/epirat/Projects/VideoLAN/VLC/share/lua/meta/reader
[00007fa186013040] lua demux meta debug: Trying Lua playlist script /Users/epirat/Projects/VideoLAN/VLC/share/lua/meta/reader/filename.lua
[000070000bbd9dc8] main generic debug: no meta reader modules matched with name any
[00007fa18884dc00] main input debug: `https://www.twitch.tv/royalphunk' successfully opened
[00007fa184c40f00] lua demux debug: Twitch: Loading stream url for royalphunk
[00007fa186022290] main access debug: creating access: https://api.twitch.tv/api/channels/royalphunk/access_token?client_id=kimne78kx3ncx6brgo4mv6wki5h1ko
[000070000bbd9858] main generic debug: looking for access module matching "https": 1 candidates
[00007fa186024850] securetransport tls client debug: open st client
[00007fa186024850] main tls client debug: resolving api.twitch.tv ...
[00007fa186024850] securetransport tls client debug: open TLS session for api.twitch.tv
[00007fa1866887f0] prefetch stream filter debug: end of stream
[00007fa186024850] securetransport tls client debug: handshake is blocked, try again later
[00007fa186024850] securetransport tls client debug: handshake is blocked, try again later
[00007fa186024850] securetransport tls client debug: SSLHandshake returned errSSLServerAuthCompleted, continuing handshake
[00007fa186024850] securetransport tls client debug: handshake is blocked, try again later
[00007fa186024850] securetransport tls client debug: cerfificate verification successful, result is 4
[00007fa186024850] securetransport tls client debug: handshake completed successfully
[000070000bbd91c8] http generic debug: out SETTINGS (0x04) frame of 30 bytes, flags 0x00, global
[000070000bbd9128] http generic debug: out HEADERS (0x01) frame of 418 bytes, flags 0x05, stream 1
[000070000bee2e88] http generic debug: in SETTINGS (0x04) frame of 6 bytes, flags 0x00, global
[000070000bee2dd8] http generic debug: setting: Concurrent streams (0x0003): 100
[000070000bee2d48] http generic debug: out SETTINGS (0x04) frame of 0 bytes, flags 0x01, global
[000070000bee2e88] http generic debug: in WINDOW_UPDATE (0x08) frame of 4 bytes, flags 0x00, global
[000070000bee2e08] http generic debug: window update: +16711681 to 16777216
[000070000bee2e88] http generic debug: in SETTINGS (0x04) frame of 0 bytes, flags 0x01, global
[000070000bee2e88] http generic debug: in HEADERS (0x01) frame of 311 bytes, flags 0x04, stream 1
[000070000bee1c78] http generic debug: stream 1 16 headers:
[000070000bee1c78] http generic debug: :status: "404"
[000070000bee1c78] http generic debug: content-type: "application/json; charset=utf-8"
[000070000bee1c78] http generic debug: access-control-allow-credentials: "true"
[000070000bee1c78] http generic debug: access-control-allow-origin: "https://www.twitch.tv"
[000070000bee1c78] http generic debug: cache-control: "no-cache, no-store, must-revalidate, private"
[000070000bee1c78] http generic debug: expires: "0"
[000070000bee1c78] http generic debug: pragma: "no-cache"
[000070000bee1c78] http generic debug: timing-allow-origin: "https://www.twitch.tv"
[000070000bee1c78] http generic debug: date: "Mon, 11 Oct 2021 14:46:15 GMT"
[000070000bee1c78] http generic debug: x-served-by: "cache-sea4442-SEA, cache-hhn11572-HHN"
[000070000bee1c78] http generic debug: x-cache: "MISS, MISS"
[000070000bee1c78] http generic debug: x-cache-hits: "0, 0"
[000070000bee1c78] http generic debug: x-timer: "S1633963575.476317,VS0,VS0,VE149"
[000070000bee1c78] http generic debug: vary: "Accept-Encoding"
[000070000bee1c78] http generic debug: strict-transport-security: "max-age=300"
[000070000bee1c78] http generic debug: content-length: "70"
[000070000bee2e88] http generic debug: in DATA (0x00) frame of 70 bytes, flags 0x01, stream 1
[000070000bee2d58] http generic debug: out (priority) WINDOW_UPDATE (0x08) frame of 4 bytes, flags 0x00, global
[000070000bee2e08] http generic debug: stream 1 closed by peer
[00007fa186022290] http access error: HTTP 404 error
[000070000bbd92e8] http generic error: local stream 1 error: Cancellation (0x8)
[000070000bbd9248] http generic debug: out RST_STREAM (0x03) frame of 4 bytes, flags 0x00, stream 1
[000070000bbd9308] http generic debug: local shutdown
[000070000bbd9268] http generic debug: out GOAWAY (0x07) frame of 8 bytes, flags 0x00, global
It does not reproduce easily, but sporadically happens for me with:
./bin/vlc-osx-static -vvv -I dummy "https://www.twitch.tv/royalphunk" --play-and-exit