Bug#983250: vlc: Crash when starting to play video under weston / wayland

2022-05-17 Thread Rémi Denis-Courmont
On Sun, 21 Feb 2021 20:08:05 +0200 Rémi Denis-Courmont  
wrote:
> > Wayland support is spposed to be better with the upcoming vlc 4.0. No
> > idea when that version will be released, though.
> 
> Basic playback should work. The crash looks like a problem within EGL, so
> not clear why you flag this as an upstream bug.

In this case, it seems to be a bug in the VLC Qt Wayland support which is 
notoriously broken. To be fair, the VLC 3.0 configure script does state:
 "Incomplete Wayland support (default disabled)"

It was probably not a good idea to enable it in Debian. VLC 3 should be used 
through XWayland.

-- 
Реми Дёни-Курмон
http://www.remlab.net/



Bug#983250: vlc: Crash when starting to play video under weston / wayland

2021-02-21 Thread Sebastian Ramacher
Control: tags -1 upstream

On 2021-02-21 15:14:16 +, Witold Baryluk wrote:
> Package: vlc
> Version: 3.0.12-2
> Severity: normal
> X-Debbugs-Cc: witold.bary...@gmail.com
> 
> I just decided to try wayland again for the first time in years, and test 
> some apps.
> 
> mpv works.
> 
> vlc doesn't.

Wayland support is spposed to be better with the upcoming vlc 4.0. No
idea when that version will be released, though.

Cheers

> 
> user@debian:~$ gdb --init-eval-command="set pagination off" --args vlc -vvv 
> Rick\ Astley\ -\ Never\ Gonna\ Give\ You\ Up\ \(Video\)-dQw4w9WgXcQ.mkv 
> GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
> Copyright (C) 2021 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> .
> Find the GDB manual and other documentation resources online at:
> .
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from vlc...
> (No debugging symbols found in vlc)
> (gdb) r
> Starting program: /usr/bin/vlc -vvv Rick\ Astley\ -\ Never\ Gonna\ Give\ You\ 
> Up\ \(Video\)-dQw4w9WgXcQ.mkv
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e)
> [a5b0] main libvlc debug: VLC media player - 3.0.12 Vetinari
> [a5b0] main libvlc debug: Copyright © 1996-2020 the VideoLAN team
> [a5b0] main libvlc debug: revision 3.0.12-1-0-gd147bb5e7e
> [a5b0] main libvlc debug: configured with ./configure  
> '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' 
> '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' 
> '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' 
> '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' 
> '--runstatedir=/run' '--disable-maintainer-mode' 
> '--disable-dependency-tracking' '--disable-debug' '--config-cache' 
> '--disable-update-check' '--enable-fast-install' 
> '--docdir=/usr/share/doc/vlc' '--with-binary-version=3.0.12-2' '--enable-a52' 
> '--enable-aa' '--enable-aribsub' '--enable-avahi' '--enable-bluray' 
> '--enable-caca' '--enable-chromaprint' '--enable-chromecast' '--enable-dav1d' 
> '--enable-dbus' '--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' 
> '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' 
> '--enable-fribidi' '--enable-gles2' '--enable-gnutls' '--enable-harfbuzz' 
> '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' 
> '--enable-libxml2' '--enable-lirc' '--enable-mad' '--enable-matroska' 
> '--enable-mod' '--enable-mpc' '--enable-mpg123' '--enable-mtp' 
> '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' 
> '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' 
> '--enable-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' 
> '--enable-skins2' '--enable-sndio' '--enable-soxr' '--enable-spatialaudio' 
> '--enable-speex' '--enable-svg' '--enable-svgdec' '--enable-taglib' 
> '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vdpau' 
> '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' 
> '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-aom' 
> '--disable-crystalhd' '--disable-d3d11va' '--disable-decklink' 
> '--disable-directx' '--disable-dsm' '--disable-dxva2' '--disable-fdkaac' 
> '--disable-fluidlite' '--disable-freerdp' '--disable-goom' 
> '--disable-gst-decode' '--disable-libtar' '--disable-live555' 
> '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' 
> '--disable-mfx' '--disable-microdns' '--disable-opencv' '--disable-projectm' 
> '--disable-schroedinger' '--disable-sparkle' '--disable-srt' '--disable-telx' 
> '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' 
> '--enable-dc1394' '--enable-dv1394' '--enable-libplacebo' '--enable-linsys' 
> '--enable-nfs' '--enable-udev' '--enable-v4l2' '--enable-wayland' 
> '--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss' 
> '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 
> '--disable-omxil' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 
> -ffile-prefix-map=/build/vlc-zugIQk/vlc-3.0.12=. -fstack-protector-strong 
> -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 
> 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 
> -ffile-prefix-map=/build/vlc-zugIQk/vlc-3.0.12=. -fstack-protector-strong 
> 

Bug#983250: vlc: Crash when starting to play video under weston / wayland

2021-02-21 Thread Witold Baryluk
Package: vlc
Version: 3.0.12-2
Severity: normal
X-Debbugs-Cc: witold.bary...@gmail.com

I just decided to try wayland again for the first time in years, and test some 
apps.

mpv works.

vlc doesn't.

user@debian:~$ gdb --init-eval-command="set pagination off" --args vlc -vvv 
Rick\ Astley\ -\ Never\ Gonna\ Give\ You\ Up\ \(Video\)-dQw4w9WgXcQ.mkv 
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vlc...
(No debugging symbols found in vlc)
(gdb) r
Starting program: /usr/bin/vlc -vvv Rick\ Astley\ -\ Never\ Gonna\ Give\ You\ 
Up\ \(Video\)-dQw4w9WgXcQ.mkv
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e)
[a5b0] main libvlc debug: VLC media player - 3.0.12 Vetinari
[a5b0] main libvlc debug: Copyright © 1996-2020 the VideoLAN team
[a5b0] main libvlc debug: revision 3.0.12-1-0-gd147bb5e7e
[a5b0] main libvlc debug: configured with ./configure  
'--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' 
'--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' 
'--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' 
'--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' 
'--runstatedir=/run' '--disable-maintainer-mode' 
'--disable-dependency-tracking' '--disable-debug' '--config-cache' 
'--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc' 
'--with-binary-version=3.0.12-2' '--enable-a52' '--enable-aa' 
'--enable-aribsub' '--enable-avahi' '--enable-bluray' '--enable-caca' 
'--enable-chromaprint' '--enable-chromecast' '--enable-dav1d' '--enable-dbus' 
'--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' 
'--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' 
'--enable-gles2' '--enable-gnutls' '--enable-harfbuzz' '--enable-jack' 
'--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' 
'--enable-lirc' '--enable-mad' '--enable-matroska' '--enable-mod' 
'--enable-mpc' '--enable-mpg123' '--enable-mtp' '--enable-ncurses' 
'--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' 
'--enable-realrtsp' '--enable-samplerate' '--enable-sdl-image' '--enable-sftp' 
'--enable-shine' '--enable-shout' '--enable-skins2' '--enable-sndio' 
'--enable-soxr' '--enable-spatialaudio' '--enable-speex' '--enable-svg' 
'--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' 
'--enable-upnp' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' 
'--enable-x264' '--enable-x265' '--enable-zvbi' 
'--with-kde-solid=/usr/share/solid/actions/' '--disable-aom' 
'--disable-crystalhd' '--disable-d3d11va' '--disable-decklink' 
'--disable-directx' '--disable-dsm' '--disable-dxva2' '--disable-fdkaac' 
'--disable-fluidlite' '--disable-freerdp' '--disable-goom' 
'--disable-gst-decode' '--disable-libtar' '--disable-live555' 
'--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' 
'--disable-mfx' '--disable-microdns' '--disable-opencv' '--disable-projectm' 
'--disable-schroedinger' '--disable-sparkle' '--disable-srt' '--disable-telx' 
'--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' 
'--enable-dc1394' '--enable-dv1394' '--enable-libplacebo' '--enable-linsys' 
'--enable-nfs' '--enable-udev' '--enable-v4l2' '--enable-wayland' 
'--enable-libva' '--enable-vcd' '--enable-smbclient' '--disable-oss' 
'--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 
'--disable-omxil' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 
-ffile-prefix-map=/build/vlc-zugIQk/vlc-3.0.12=. -fstack-protector-strong 
-Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 
'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 
-ffile-prefix-map=/build/vlc-zugIQk/vlc-3.0.12=. -fstack-protector-strong 
-Wformat -Werror=format-security ' 'OBJCFLAGS=-g -O2 
-ffile-prefix-map=/build/vlc-zugIQk/vlc-3.0.12=. -fstack-protector-strong 
-Wformat -Werror=format-security'
[a5b0] main libvlc debug: searching plug-in modules
[a5b0] main libvlc debug: loading plugins cache file 
/usr/lib/x86_64-linux-gnu/vlc/plugins/plugins.dat
[a5b0] main libvlc