Skip to content

Libvlc crash when streaming

I am using Libvlc android 3.3.14 on Android 7.1.2. I am trying to stream from HTTPS urls and the app crash.

Exception: 12:24:06.291 A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 28321 (VlcObject)

12:24:09.736 W/AudioTrack: releaseBuffer() track 0xcb70de00 disabled due to previous underrun, restarting

12:24:09.737 E/VLC: [e9ceb830/6cab] libvlc input: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1500 ms)

VLC Options: -vvv --android-display-chroma=YV12 --fullscreen") --no-http-reconnect

Log:

D/VLC: [cb742030/6bd7] libvlc input: Creating an input for '212357_5f1e9fa039bc56129_1.mp4'
 12:24:05.985  D/VLC: [cb742030/6e93] libvlc input: using timeshift granularity of 50 MiB
 12:24:05.985  D/VLC: [cb742030/6e93] libvlc input: using default timeshift path
 12:24:05.986  D/VLC: [cb742030/6e93] libvlc input: `https://storage.cms.ggg.tek4tv.vn/attach/2021/03/22/attach/22032021212349/212357_5f1e9fa039bc56129_1.mp4' gives access `https' demux `any' path `storage.cms.ggg.tek4tv.vn/attach/2021/03/22/attach/22032021212349/212357_5f1e9fa039bc56129_1.mp4'
 12:24:05.986  D/VLC: [cb7310d0/6e93] libvlc input source: creating demux: access='https' demux='any' location='storage.cms.ggg.tek4tv.vn/attach/2021/03/22/attach/22032021212349/212357_5f1e9fa039bc56129_1.mp4' file='(null)'
 12:24:05.986  D/VLC: [cb731170/6e93] libvlc demux: looking for access_demux module matching "https": 7 candidates
 12:24:05.986  D/VLC: [cb731170/6e93] libvlc demux: no access_demux modules matched
 12:24:05.986  D/VLC: [cf3c8330/6e93] libvlc stream: creating access: https://storage.cms.ggg.tek4tv.vn/attach/2021/03/22/attach/22032021212349/212357_5f1e9fa039bc56129_1.mp4
 12:24:05.986  D/VLC: [cf3c8330/6e93] libvlc stream: looking for access module matching "https": 25 candidates
 12:24:05.987  D/VLC: [cad1e210/6e93] libvlc tls client: looking for tls client module matching "any": 1 candidates
 12:24:05.987  D/VLC: [cad1e210/6e93] libvlc tls client: using GnuTLS version 3.6.15
 12:24:06.198  D/VLC: [cad1e210/6e93] libvlc tls client: loaded 156 trusted CAs from system
 12:24:06.198  D/VLC: [cad1e210/6e93] libvlc tls client: using tls client module "gnutls"
 12:24:06.198  D/VLC: [cad1e210/6e93] libvlc tls client: resolving storage.cms.ggg.tek4tv.vn ...
 12:24:06.220  D/VLC: [cad1e210/6e93] libvlc tls client: TLS handshake: Resource temporarily unavailable, try again.
 12:24:06.258  D/VLC: [cad1e210/6e93] libvlc tls client: TLS handshake: Success.
 12:24:06.258  D/VLC: [cad1e210/6e93] libvlc tls client:  - safe renegotiation (RFC5746) enabled
 12:24:06.258  D/VLC: [cad1e210/6e93] libvlc tls client:  - extended master secret (RFC7627) enabled
 12:24:06.258  D/VLC: [cad1e210/6e93] libvlc tls client:  - false start (RFC7918) enabled
 12:24:06.285  D/VLC: [cf3c8330/6e93] http stream: out SETTINGS (0x04) frame of 30 bytes, flags 0x00, global
 12:24:06.285  D/VLC: [cf3c8330/6e93] http stream: out HEADERS (0x01) frame of 237 bytes, flags 0x05, stream 1
 12:24:06.291  D/VLC: [cf3c8330/6ea2] http stream: in SETTINGS (0x04) frame of 18 bytes, flags 0x00, global
 12:24:06.291  D/VLC: [cf3c8330/6ea2] http stream: setting: Concurrent streams (0x0003): 100
 12:24:06.291  D/VLC: [cf3c8330/6ea2] http stream: setting: Unknown setting (0x0010): 2
 12:24:06.291  D/VLC: [cf3c8330/6ea2] http stream: setting: Initial window size (0x0004): 1048576
 12:24:06.291  D/VLC: [cf3c8330/6ea2] http stream: out SETTINGS (0x04) frame of 0 bytes, flags 0x01, global
 12:24:06.291  D/VLC: [cf3c8330/6ea2] http stream: in WINDOW_UPDATE (0x08) frame of 4 bytes, flags 0x00, global
** 12:24:06.291  A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 28321 (VlcObject)**
 12:24:09.736  W/AudioTrack: releaseBuffer() track 0xcb70de00 disabled due to previous underrun, restarting
** 12:24:09.737  E/VLC: [e9ceb830/6cab] libvlc input: ES_OUT_SET_(GROUP_)PCR  is called too late (pts_delay increased to 1500 ms)**
 12:24:09.737  D/VLC: [e9ceb830/6cab] libvlc input: ES_OUT_RESET_PCR called
 12:24:09.737  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 0%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 1%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 3%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 5%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 6%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 8%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 10%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 12%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 13%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 15%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 17%
 12:24:09.738  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 19%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 20%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 22%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 24%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 26%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 27%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 29%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 31%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 33%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 34%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 36%
 12:24:09.739  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 38%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 40%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 41%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 43%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 45%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 47%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 48%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 50%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 52%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 53%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 55%
 12:24:09.740  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 57%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 59%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 60%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 62%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 64%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 66%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 67%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 69%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 71%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 73%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 74%
 12:24:09.741  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 76%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 78%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 80%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 81%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 83%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 85%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 87%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 88%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 90%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 92%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 94%
 12:24:09.742  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 95%
 12:24:09.743  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 97%
 12:24:09.743  D/VLC: [e9ceb830/6cab] libvlc input: Buffering 99%
 12:24:09.743  D/VLC: [e9ceb830/6cab] libvlc input: Stream buffering done (1515 ms in 5 ms)
Edited by nts0311