pl.m3u:
```
avgen:dur=0.5:sr=48000:ch=2
avgen:dur=24:sr=48000:ch=2
```

```
$ gpac -threads=-1 -graph -i pl.m3u @#audio enc:c=aac @ reframer:xs=1/2:xe=49/2:xround=seek @ -o source1/audio.mpd:stl:segdur=1.5 --template='$Type$_$Number$'
No filter chain found for PID video in filter flist to any loaded filters - NOT CONNECTED
gpac: quickjs/quickjs.c:5493: free_zero_refcount: Assertion `p->ref_count == 0' failed.
Abandon
```
quickjs random assert with avgen from playlist
This is a GitHub Issue
repo:gpac
owner:gpac
Title : quickjs random assert with avgen from playlist
Issue date:

--- start body ---
pl.m3u:
```
avgen:dur=0.5:sr=48000:ch=2
avgen:dur=24:sr=48000:ch=2
```

```
$ gpac -threads=-1 -graph -i pl.m3u @#audio enc:c=aac @ reframer:xs=1/2:xe=49/2:xround=seek @ -o source1/audio.mpd:stl:segdur=1.5 --template='$Type$_$Number$'
No filter chain found for PID video in filter flist to any loaded filters - NOT CONNECTED
gpac: quickjs/quickjs.c:5493: free_zero_refcount: Assertion `p->ref_count == 0' failed.
Abandon
```
--- end body ---

The issue indicates an assertion failure in the QuickJS engine used by GPAC, which may lead to a crash. This could potentially be exploited if an attacker can control the input playlist, leading to unexpected behavior or denial of service.