Bug#1030936: vlc: crash on start playing

2023-03-13 Thread Vladimir Stavrinov
You are right - it is part of buster.  And this is good news. So does
it mean the bug should be closed? At least I don't see any more
problems.

On Sat, Mar 11, 2023 at 9:12 PM Sebastian Ramacher  wrote:
>
> On 2023-03-11 17:51:37 +0300, Vladimir Stavrinov wrote:
> > On Tue, Feb 14, 2023 at 4:13 PM Sebastian Ramacher  
> > wrote:
> > >
> > > Control: reassign -1 0.0.8-1
> >
> > Sorry if I don't understand something, but today I've unexpectedly
> > discovered that the driver  You reassigned to, that is
> > nvidia-vaapi-driver, isn't installed on my system. When I've tried to
> > install it I encountered the conflict:
> >
> > Unpacking nvidia-vaapi-driver:amd64 (0.0.8-1) ...
> > dpkg: error processing archive
> > /var/cache/apt/archives/nvidia-vaapi-driver_0.0.8-1_amd64.deb
> > (--unpack):
> >  trying to overwrite
> > '/usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so', which is also in
> > package vdpau-va-driver:amd64 0.7.4-7
> >
> > After removing the vdpau-va-driver and installing nvidia-vaapi-driver
> > the problem was gone. So although now I personally do not have this
> > problem, the problem as such remains. The file being the subject of
> > the conflict is the only binary code file in both packages. So I see
> > the one of the two ways to solve the problem:
> >
> > 1. Either reassign this bug to vdpau-va-driver
> > 2. Or remove vdpau-va-driver from the repository and change
> > accordingly all being affected packages dependency to point to
> > nvidia-vaapi-driver.
>
> vdpau-va-driver was removed from the archive in August 2019 and is
> neither part of bullseye and bookworm.
>
> Cheers
> --
> Sebastian Ramacher



-- 

###  Vladimir Stavrinov ###



Bug#1030936: vlc: crash on start playing

2023-03-11 Thread Sebastian Ramacher
On 2023-03-11 17:51:37 +0300, Vladimir Stavrinov wrote:
> On Tue, Feb 14, 2023 at 4:13 PM Sebastian Ramacher  
> wrote:
> >
> > Control: reassign -1 0.0.8-1
> 
> Sorry if I don't understand something, but today I've unexpectedly
> discovered that the driver  You reassigned to, that is
> nvidia-vaapi-driver, isn't installed on my system. When I've tried to
> install it I encountered the conflict:
> 
> Unpacking nvidia-vaapi-driver:amd64 (0.0.8-1) ...
> dpkg: error processing archive
> /var/cache/apt/archives/nvidia-vaapi-driver_0.0.8-1_amd64.deb
> (--unpack):
>  trying to overwrite
> '/usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so', which is also in
> package vdpau-va-driver:amd64 0.7.4-7
> 
> After removing the vdpau-va-driver and installing nvidia-vaapi-driver
> the problem was gone. So although now I personally do not have this
> problem, the problem as such remains. The file being the subject of
> the conflict is the only binary code file in both packages. So I see
> the one of the two ways to solve the problem:
> 
> 1. Either reassign this bug to vdpau-va-driver
> 2. Or remove vdpau-va-driver from the repository and change
> accordingly all being affected packages dependency to point to
> nvidia-vaapi-driver.

vdpau-va-driver was removed from the archive in August 2019 and is
neither part of bullseye and bookworm.

Cheers
-- 
Sebastian Ramacher



Bug#1030936: vlc: crash on start playing

2023-03-11 Thread Vladimir Stavrinov
On Tue, Feb 14, 2023 at 4:13 PM Sebastian Ramacher  wrote:
>
> Control: reassign -1 0.0.8-1

Sorry if I don't understand something, but today I've unexpectedly
discovered that the driver  You reassigned to, that is
nvidia-vaapi-driver, isn't installed on my system. When I've tried to
install it I encountered the conflict:

Unpacking nvidia-vaapi-driver:amd64 (0.0.8-1) ...
dpkg: error processing archive
/var/cache/apt/archives/nvidia-vaapi-driver_0.0.8-1_amd64.deb
(--unpack):
 trying to overwrite
'/usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so', which is also in
package vdpau-va-driver:amd64 0.7.4-7

After removing the vdpau-va-driver and installing nvidia-vaapi-driver
the problem was gone. So although now I personally do not have this
problem, the problem as such remains. The file being the subject of
the conflict is the only binary code file in both packages. So I see
the one of the two ways to solve the problem:

1. Either reassign this bug to vdpau-va-driver
2. Or remove vdpau-va-driver from the repository and change
accordingly all being affected packages dependency to point to
nvidia-vaapi-driver.



Bug#1030936: vlc: crash on start playing

2023-02-14 Thread Sebastian Ramacher
On 2023-02-14 15:14:34 +0300, Vladimir Stavrinov wrote:
> On Sun, Feb 12, 2023 at 8:55 PM Sebastian Ramacher  
> wrote:
> >
> > The libva upgrade may have triggered a latent bug in one of the VA-API
> > drivers. But as anything with libva (note that libva just loads the
> > drivers and directly forwards all calls) these bugs depend on drivers
> > and hardware.
> 
> dpkg --install /var/backups/libav/*
> dpkg: warning: downgrading libva-dev:amd64 from 2.17.0-1 to 2.16.0-1
> (Reading database ... 702086 files and directories currently installed.)
> Preparing to unpack .../libva-dev_2.16.0-1_amd64.deb ...
> Unpacking libva-dev:amd64 (2.16.0-1) over (2.17.0-1) ...
> dpkg: warning: downgrading libva-drm2:amd64 from 2.17.0-1 to 2.16.0-1
> Preparing to unpack .../libva-drm2_2.16.0-1_amd64.deb ...
> Unpacking libva-drm2:amd64 (2.16.0-1) over (2.17.0-1) ...
> dpkg: warning: downgrading libva-glx2:amd64 from 2.17.0-1 to 2.16.0-1
> Preparing to unpack .../libva-glx2_2.16.0-1_amd64.deb ...
> Unpacking libva-glx2:amd64 (2.16.0-1) over (2.17.0-1) ...
> dpkg: warning: downgrading libva-wayland2:amd64 from 2.17.0-1 to 2.16.0-1
> Preparing to unpack .../libva-wayland2_2.16.0-1_amd64.deb ...
> Unpacking libva-wayland2:amd64 (2.16.0-1) over (2.17.0-1) ...
> dpkg: warning: downgrading libva-x11-2:amd64 from 2.17.0-1 to 2.16.0-1
> Preparing to unpack .../libva-x11-2_2.16.0-1_amd64.deb ...
> Unpacking libva-x11-2:amd64 (2.16.0-1) over (2.17.0-1) ...
> dpkg: warning: downgrading libva2:amd64 from 2.17.0-1 to 2.16.0-1
> Preparing to unpack .../libva2_2.16.0-1_amd64.deb ...
> Unpacking libva2:amd64 (2.16.0-1) over (2.17.0-1) ...
> Setting up libva2:amd64 (2.16.0-1) ...
> Setting up libva-drm2:amd64 (2.16.0-1) ...
> Setting up libva-wayland2:amd64 (2.16.0-1) ...
> Setting up libva-x11-2:amd64 (2.16.0-1) ...
> Setting up libva-glx2:amd64 (2.16.0-1) ...
> Setting up libva-dev:amd64 (2.16.0-1) ...
> Processing triggers for runit (2.1.2-54) ...
> Processing triggers for man-db (2.11.2-1) ...
> Processing triggers for libc-bin (2.36-8) ..
> 
> All triggers: runit, man-db, libc-bin Did You mean these triggers? I
> don't see any drivers there. So only the libva stack was downgraded.

No, not at all.

Cheers
-- 
Sebastian Ramacher



Bug#1030936: vlc: crash on start playing

2023-02-14 Thread Vladimir Stavrinov
On Sun, Feb 12, 2023 at 8:55 PM Sebastian Ramacher  wrote:
>
> The libva upgrade may have triggered a latent bug in one of the VA-API
> drivers. But as anything with libva (note that libva just loads the
> drivers and directly forwards all calls) these bugs depend on drivers
> and hardware.

dpkg --install /var/backups/libav/*
dpkg: warning: downgrading libva-dev:amd64 from 2.17.0-1 to 2.16.0-1
(Reading database ... 702086 files and directories currently installed.)
Preparing to unpack .../libva-dev_2.16.0-1_amd64.deb ...
Unpacking libva-dev:amd64 (2.16.0-1) over (2.17.0-1) ...
dpkg: warning: downgrading libva-drm2:amd64 from 2.17.0-1 to 2.16.0-1
Preparing to unpack .../libva-drm2_2.16.0-1_amd64.deb ...
Unpacking libva-drm2:amd64 (2.16.0-1) over (2.17.0-1) ...
dpkg: warning: downgrading libva-glx2:amd64 from 2.17.0-1 to 2.16.0-1
Preparing to unpack .../libva-glx2_2.16.0-1_amd64.deb ...
Unpacking libva-glx2:amd64 (2.16.0-1) over (2.17.0-1) ...
dpkg: warning: downgrading libva-wayland2:amd64 from 2.17.0-1 to 2.16.0-1
Preparing to unpack .../libva-wayland2_2.16.0-1_amd64.deb ...
Unpacking libva-wayland2:amd64 (2.16.0-1) over (2.17.0-1) ...
dpkg: warning: downgrading libva-x11-2:amd64 from 2.17.0-1 to 2.16.0-1
Preparing to unpack .../libva-x11-2_2.16.0-1_amd64.deb ...
Unpacking libva-x11-2:amd64 (2.16.0-1) over (2.17.0-1) ...
dpkg: warning: downgrading libva2:amd64 from 2.17.0-1 to 2.16.0-1
Preparing to unpack .../libva2_2.16.0-1_amd64.deb ...
Unpacking libva2:amd64 (2.16.0-1) over (2.17.0-1) ...
Setting up libva2:amd64 (2.16.0-1) ...
Setting up libva-drm2:amd64 (2.16.0-1) ...
Setting up libva-wayland2:amd64 (2.16.0-1) ...
Setting up libva-x11-2:amd64 (2.16.0-1) ...
Setting up libva-glx2:amd64 (2.16.0-1) ...
Setting up libva-dev:amd64 (2.16.0-1) ...
Processing triggers for runit (2.1.2-54) ...
Processing triggers for man-db (2.11.2-1) ...
Processing triggers for libc-bin (2.36-8) ..

All triggers: runit, man-db, libc-bin Did You mean these triggers? I
don't see any drivers there. So only the libva stack was downgraded.



Bug#1030936: vlc: crash on start playing

2023-02-12 Thread Sebastian Ramacher
On 2023-02-12 15:55:14 +0300, Vladimir Stavrinov wrote:
> On Sun, Feb 12, 2023 at 11:48 AM Sebastian Ramacher
>  wrote:
> >
> 
> > Please install the relevant -dbgsym packages and reproduce the crash
> 
> Give me an exact list of such packages. I can't find anything
> appropriate neither vlc nore libva relevant.

See https://wiki.debian.org/HowToGetABacktrace how to get debug symbols
by installing -dbgsym packages our using debuginfod. That page has all
the information to produe a backtrace.

> > under gdb. We need a backtrace to identifiy the package that is at
> > fault.
> 
> As I've already stated above this package is libva. Here is a list of
> dependent packages version installation of which solve this problem:
> 
> libva2_2.16.0-1_amd64.deb
> libva-dev_2.16.0-1_amd64.deb
> libva-drm2_2.16.0-1_amd64.deb
> libva-glx2_2.16.0-1_amd64.deb
> libva-wayland2_2.16.0-1_amd64.deb
> libva-x11-2_2.16.0-1_amd64.deb
> 
> i.e with these packages being installed vlc doesn't crash. After
> upgrading the system causing upgrading libva as well the problem
> emerged again. I don't want to pin the libva version, so we need  to
> solve this problem in a regular way.
> 
> P.S. I wonder why You can't reproduce this bug yourself. The only you
> need for this is recent sid distribution or if to be accurate libva-*
> packages of 2.17.0-1 version. Or do You mean vlc doesn't crash in such
> an environment in your installation? If so it would be strange.

The libva upgrade may have triggered a latent bug in one of the VA-API
drivers. But as anything with libva (note that libva just loads the
drivers and directly forwards all calls) these bugs depend on drivers
and hardware.

Cheers
-- 
Sebastian Ramacher



Bug#1030936: vlc: crash on start playing

2023-02-12 Thread Sebastian Ramacher
Control: tags -1 moreinfo

Hi Vladmimir

On 2023-02-09 17:11:50 +0300, Vladmimir Stavrinov wrote:
> Package: vlc
> Version: 3.0.18-2
> Severity: normal
> 
> The test to reproduce the bug:
> 
> ###
> vlc --playlist-autostart 
> http://content.uplynk.com/channel/3324f2467c414329b3b0cc5cd987b6be.m3u8
> VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
> [561bbc1be5d0] main libvlc: Running vlc with the default interface. Use 
> 'cvlc' to use vlc without interface.
> [7fb8a8001160] http demux error: local stream 1 error: Cancellation (0x8)
> [7fb8a8001160] adaptive demux: Changing stream format Unknown -> TS
> [7fb8a8028ba0] mpeg4audio packetizer: AAC channels: 2 samplerate: 24000
> [7fb8a8001160] http demux error: local stream 3 error: Cancellation (0x8)
> [7fb8a8001160] adaptive demux: Ending demuxer stream. [needrestart]
> [7fb87c004990] gl gl: Initialized libplacebo v4.208.0 (API v208)
> libva info: VA-API version 1.17.0
> libva error: vaGetDriverNameByIndex() failed with unknown libva error, 
> driver_name = (null)
> [7fb87c004990] glconv_vaapi_x11 gl error: vaInitialize: unknown libva 
> error
> libva info: VA-API version 1.17.0
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
> libva info: Found init function __vaDriverInit_1_0
> Segmentation fault
> ###
> 
> The problem emerged after upgrading libva. Downgrade to 2.16.0 solves it.

Please install the relevant -dbgsym packages and reproduce the crash
under gdb. We need a backtrace to identifiy the package that is at
fault.

Cheers

> 
> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
> 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 
> 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 6.1.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
> TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.utf8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not 
> set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages vlc depends on:
> ii  vlc-bin  3.0.18-2
> ii  vlc-plugin-base  3.0.18-2
> ii  vlc-plugin-qt3.0.18-2
> ii  vlc-plugin-video-output  3.0.18-2
> 
> Versions of packages vlc recommends:
> ii  vlc-l10n   3.0.18-2
> ii  vlc-plugin-access-extra3.0.18-2
> ii  vlc-plugin-notify  3.0.18-2
> ii  vlc-plugin-samba   3.0.18-2
> ii  vlc-plugin-skins2  3.0.18-2
> ii  vlc-plugin-video-splitter  3.0.18-2
> ii  vlc-plugin-visualization   3.0.18-2
> 
> Versions of packages vlc suggests:
> pn  vlc-plugin-fluidsynth  
> pn  vlc-plugin-jack
> pn  vlc-plugin-pipewire
> pn  vlc-plugin-svg 
> 
> Versions of packages libvlc-bin depends on:
> ii  libc62.36-8
> ii  libvlc5  3.0.18-2
> 
> Versions of packages libvlc5 depends on:
> ii  libc62.36-8
> ii  libvlccore9  3.0.18-2
> 
> Versions of packages libvlc5 recommends:
> ii  libvlc-bin  3.0.18-2
> 
> Versions of packages libvlccore8 depends on:
> ii  libc62.36-8
> ii  libdbus-1-3  1.14.6-1
> ii  libidn11 1.33-3
> 
> Versions of packages libvlccore8 recommends:
> ii  libproxy-tools  0.4.18-1.2
> 
> Versions of packages vlc-bin depends on:
> ii  libc6   2.36-8
> ii  libvlc-bin  3.0.18-2
> ii  libvlc5 3.0.18-2
> 
> Versions of packages vlc-plugin-access-extra depends on:
> ii  libc62.36-8
> ii  libsrt1.5-gnutls 1.5.1-1
> ii  libvlccore9 [vlc-plugin-abi-3-0-0f]  3.0.18-2
> ii  libvncclient10.9.14+dfsg-1
> ii  libxcb-composite01.15-1
> ii  libxcb-shm0  1.15-1
> ii  libxcb1  1.15-1
> 
> Versions of packages vlc-plugin-base depends on:
> ii  liba52-0.7.4 0.7.4-20
> ii  libarchive13 3.6.2-1
> ii  libaribb24-0 1.0.3-2
> ii  libasound2   1.2.8-1+b1
> ii  libass9  1:0.17.0-2
> ii  libavahi-client3 0.8-8
> ii  libavahi-common3 0.8-8
> ii  libavc1394-0 0.5.4-5
> ii  libavcodec59 7:5.1.2-2
> ii  libavformat597:5.1.2-2
> ii  libavutil57  7:5.1.2-2
> ii  libbluray2   1:1.3.4-1
> ii  libc62.36-8
> ii  libcairo21.16.0-7
> ii  libcddb2

Bug#1030936: vlc: crash on start playing

2023-02-09 Thread Vladmimir Stavrinov
Package: vlc
Version: 3.0.18-2
Severity: normal

The test to reproduce the bug:

###
vlc --playlist-autostart 
http://content.uplynk.com/channel/3324f2467c414329b3b0cc5cd987b6be.m3u8
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[561bbc1be5d0] main libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.
[7fb8a8001160] http demux error: local stream 1 error: Cancellation (0x8)
[7fb8a8001160] adaptive demux: Changing stream format Unknown -> TS
[7fb8a8028ba0] mpeg4audio packetizer: AAC channels: 2 samplerate: 24000
[7fb8a8001160] http demux error: local stream 3 error: Cancellation (0x8)
[7fb8a8001160] adaptive demux: Ending demuxer stream. [needrestart]
[7fb87c004990] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, 
driver_name = (null)
[7fb87c004990] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
Segmentation fault
###

The problem emerged after upgrading libva. Downgrade to 2.16.0 solves it.

-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages vlc depends on:
ii  vlc-bin  3.0.18-2
ii  vlc-plugin-base  3.0.18-2
ii  vlc-plugin-qt3.0.18-2
ii  vlc-plugin-video-output  3.0.18-2

Versions of packages vlc recommends:
ii  vlc-l10n   3.0.18-2
ii  vlc-plugin-access-extra3.0.18-2
ii  vlc-plugin-notify  3.0.18-2
ii  vlc-plugin-samba   3.0.18-2
ii  vlc-plugin-skins2  3.0.18-2
ii  vlc-plugin-video-splitter  3.0.18-2
ii  vlc-plugin-visualization   3.0.18-2

Versions of packages vlc suggests:
pn  vlc-plugin-fluidsynth  
pn  vlc-plugin-jack
pn  vlc-plugin-pipewire
pn  vlc-plugin-svg 

Versions of packages libvlc-bin depends on:
ii  libc62.36-8
ii  libvlc5  3.0.18-2

Versions of packages libvlc5 depends on:
ii  libc62.36-8
ii  libvlccore9  3.0.18-2

Versions of packages libvlc5 recommends:
ii  libvlc-bin  3.0.18-2

Versions of packages libvlccore8 depends on:
ii  libc62.36-8
ii  libdbus-1-3  1.14.6-1
ii  libidn11 1.33-3

Versions of packages libvlccore8 recommends:
ii  libproxy-tools  0.4.18-1.2

Versions of packages vlc-bin depends on:
ii  libc6   2.36-8
ii  libvlc-bin  3.0.18-2
ii  libvlc5 3.0.18-2

Versions of packages vlc-plugin-access-extra depends on:
ii  libc62.36-8
ii  libsrt1.5-gnutls 1.5.1-1
ii  libvlccore9 [vlc-plugin-abi-3-0-0f]  3.0.18-2
ii  libvncclient10.9.14+dfsg-1
ii  libxcb-composite01.15-1
ii  libxcb-shm0  1.15-1
ii  libxcb1  1.15-1

Versions of packages vlc-plugin-base depends on:
ii  liba52-0.7.4 0.7.4-20
ii  libarchive13 3.6.2-1
ii  libaribb24-0 1.0.3-2
ii  libasound2   1.2.8-1+b1
ii  libass9  1:0.17.0-2
ii  libavahi-client3 0.8-8
ii  libavahi-common3 0.8-8
ii  libavc1394-0 0.5.4-5
ii  libavcodec59 7:5.1.2-2
ii  libavformat597:5.1.2-2
ii  libavutil57  7:5.1.2-2
ii  libbluray2   1:1.3.4-1
ii  libc62.36-8
ii  libcairo21.16.0-7
ii  libcddb2 1.3.2-7
ii  libchromaprint1  1.5.1-2+b1
ii  libdav1d61.0.0-2
ii  libdbus-1-3  1.14.6-1
ii  libdc1394-25 2.2.6-4
ii  libdca0  0.0.7-2
ii  libdvbpsi10  1.3.3-1
ii  libdvdnav4   6.1.1-1
ii  libdvdread8  6.1.3-1
ii  libebml5 1.4.4-1
ii  libfaad2