Interface "ncurses" crashes when deleting playlist while VLC is playing a song
Posted: 01 Sep 2016 13:45
VLC with interface "ncurses" is playing a song in a native Linux console. Output is a HTTP stream. That works fine.
But when deleting the playlist per remote HTTP-interface VLC will crash immediately (SIGSEGV):
When stopping VLC first and then deleting the playlist nothing happens.
I could reproduce this bug with different Linux computers: Debian (jessie) and Ubuntu (trusty 14.04.3 LTS) with VLC 2.2.4 and VLC 2.1.6
The bug doesn't occure with interface 'dummy' or Qt (X11) and remote http interface.
Code: Select all
#!/bin/sh
HOST=192.168.2.106
PORT=8005
CNTL=8488
PASS=********
PLAYLIST=/opt/media/music/playlist
vlc -I ncurses --loop --random --playlist-autostart --no-video --extraintf=http --http-host=$HOST --http-port=$CNTL --http-password=$PASS --sout "http/mp3:$HOST:$PORT" --sout-keep $PLAYLIST
Code: Select all
vlc[10930]: segfault at 0 ip 00007fe3f166284f sp 00007fe3f09a1d50 error 4 in libncurses_plugin.so[7fe3f165c000+b000]
I could reproduce this bug with different Linux computers: Debian (jessie) and Ubuntu (trusty 14.04.3 LTS) with VLC 2.2.4 and VLC 2.1.6
The bug doesn't occure with interface 'dummy' or Qt (X11) and remote http interface.