Skip to content

Crash after a pause on HLS stream

Description

When HLS stream is played again after a pause for longer than a few seconds (like segment or buffer), it crashes. Behavior hanged between versions libvlc-3.6.0-eap12 and libvlc-3.6.0-eap13

Found it now, because update to 16kB aligned version. Tried version from my old one (3.6.0-eap11), issue found in newer and libvlc-3.6.0-eap13

Expected behavior

Continue to play HLS stream after a longer (cca 20sec) pause

Actual behavior

Play after a pause (cca 20 sec and longer) crashes all player

Steps to reproduce

  1. Play HLS stream
  2. Pause for 20sec
  3. Play again -> crash

Code you used

Android, Kotlin, Composable standard example

error:

2025-08-27 14:08:31.500 10994-11053 VLC                     cz.myapp.androidplayer             D  [b400007c490dffe0/2b2d] http demux: incoming response:
HTTP/1.1 200 OK
Server: nginx/1.21.6
Date: Wed, 27 Aug 2025 12:08:31 GMT
Content-Type: application/vnd.apple.mpegurl
Content-Length: 178
Last-Modified: Wed, 27 Aug 2025 12:08:31 GMT
Connection: keep-alive
ETag: "68aef53f-b2"
Cache-Control: no-cache
Access-Control-Allow-Origin: *
Accept-Ranges: bytes
2025-08-27 14:08:31.500 10994-11037 VLC-std                 cz.myapp.androidplayer             E  ../../modules/demux/adaptive/playlist/SegmentList.cpp:133: virtual void adaptive::playlist::SegmentList::updateWith(adaptive::playlist::AbstractMultipleSegmentBaseType *, bool): assertion "duration" failed

2025-08-27 14:08:31.500 10994-11046 libc                    cz.myapp.androidplayer             A  ../../modules/demux/adaptive/playlist/SegmentList.cpp:133: virtual void adaptive::playlist::SegmentList::updateWith(adaptive::playlist::AbstractMultipleSegmentBaseType *, bool): assertion "duration" failed

2025-08-27 14:08:31.500 10994-11046 libc                    cz.myapp.androidplayer             A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 11046 (VlcObject), pid 10994 (x.androidplayer)

2025-08-27 14:08:31.758 11140-11140 DEBUG                   pid-11140                            A  Cmdline: cz.myapp.androidplayer

2025-08-27 14:08:31.758 11140-11140 DEBUG                   pid-11140                            A  pid: 10994, tid: 11046, name: VlcObject  >>> cz.myapp.androidplayer <<<

2025-08-27 14:08:31.758 11140-11140 DEBUG                   pid-11140                            A        #02 pc 000000000071c940  /data/app/~~woQBfQg462t5y8bcyGM8_Q==/cz.myapp.androidplayer-35pZvynUcRkEStwhkY6QLQ==/base.apk!libvlc.so (offset 0x3880000) (BuildId: 657dde25f4d0e9192e7eee264ede1a7ca2061cee)

2025-08-27 14:08:31.758 11140-11140 DEBUG                   pid-11140                            A        #03 pc 000000000071bea4  /data/app/~~woQBfQg462t5y8bcyGM8_Q==/cz.myapp.androidplayer-35pZvynUcRkEStwhkY6QLQ==/base.apk!libvlc         

Screenshot / video

Context

libvlc version

libvlc-3.6.0-eap12 - OK libvlc-3.6.0-eap13 - has issue

Android version

Android 15.0

Device model

multiple devices