Bug#922210: glx-diversions: fails to upgrade to 0.8.8~deb9u1: terminate called after throwing an instance of 'std::logic_error' ... Aborted

Salvatore Bonaccorso carnil at debian.org
Wed Feb 13 11:50:18 GMT 2019


Hi Luca,

On Wed, Feb 13, 2019 at 10:14:03AM +0000, Luca Boccassi wrote:
> On Wed, 13 Feb 2019 10:39:19 +0100 Salvatore Bonaccorso <carnil at debian.
> org> wrote:
> > Package: glx-diversions
> > Version: 0.8.8~deb9u1
> > Severity: serious
> > Justification: regression
>> > Hi
>> > glx-diversions package update fails from the version in stretch
> (0.8.3~deb9u1)
> > to stretch-proposed-updates (0.8.8~deb9u1). The severity is actually
> a bit
> > overrated, package can be confgured afterwards, but not checked yet
> if
> > something missing.
>> > root at stretch-amd64:~# apt-cache policy glx-diversions
> > glx-diversions:
> >   Installed: 0.8.3~deb9u1
> >   Candidate: 0.8.8~deb9u1
> >   Version table:
> >      0.8.8~deb9u1 500
> >         500 http://deb.debian.org/debian stretch-proposed-
> updates/contrib amd64 Packages
> >  *** 0.8.3~deb9u1 500
> >         500 http://deb.debian.org/debian stretch/contrib amd64
> Packages
> >         100 /var/lib/dpkg/status
> > root at stretch-amd64:~# apt-get install glx-diversions
> > Reading package lists... Done
> > Building dependency tree       
> > Reading state information... Done
> > The following additional packages will be installed:
> >   glx-alternative-mesa update-glx
> > Suggested packages:
> >   libgl1-mesa-glx | libgl1
> > The following packages will be upgraded:
> >   glx-alternative-mesa glx-diversions update-glx
> > 3 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
> > Need to get 30.9 kB of archives.
> > After this operation, 5,120 B of additional disk space will be used.
> > Do you want to continue? [Y/n] y
> > Get:1 http://deb.debian.org/debian stretch-proposed-updates/contrib
> amd64 glx-diversions amd64 0.8.8~deb9u1 [11.6 kB]
> > Get:2 http://deb.debian.org/debian stretch-proposed-updates/contrib
> amd64 glx-alternative-mesa amd64 0.8.8~deb9u1 [9,290 B]
> > Get:3 http://deb.debian.org/debian stretch-proposed-updates/contrib
> amd64 update-glx amd64 0.8.8~deb9u1 [9,942 B]
> > Fetched 30.9 kB in 0s (1,301 kB/s)
> > (Reading database ... 52292 files and directories currently
> installed.)
> > Preparing to unpack .../glx-diversions_0.8.8~deb9u1_amd64.deb ...
> > Unpacking glx-diversions (0.8.8~deb9u1) over (0.8.3~deb9u1) ...
> > Preparing to unpack .../glx-alternative-mesa_0.8.8~deb9u1_amd64.deb
> ...
> > Unpacking glx-alternative-mesa (0.8.8~deb9u1) over (0.8.3~deb9u1) ...
> > Preparing to unpack .../update-glx_0.8.8~deb9u1_amd64.deb ...
> > Unpacking update-glx (0.8.8~deb9u1) over (0.8.3~deb9u1) ...
> > Setting up update-glx (0.8.8~deb9u1) ...
> > Setting up glx-alternative-mesa (0.8.8~deb9u1) ...
> > Setting up glx-diversions (0.8.8~deb9u1) ...
> > terminate called after throwing an instance of 'std::logic_error'
> >                                                                    wh
> at():  basic_string::_M_construct null not valid
> >                                                                      
>                                                 Aborted
> > root at stretch-amd64:~#
>> > Regards,
> > Salvatore
> 
> Hi,
> 
> This is strange, I just tried in a clean pbuilder chroot and cannot
> seem to be able to reproduce it.
> 
> Given it's only scripts here, I guess it's coming from dpkg* or another
> program called from the maintainer scripts - can you reproduce it with
> just dpkg-reconfigure glx-diversions ? If so, could you try adding a
> set -x in /var/lib/dpkg/info/glx-diversions.postinst so that we see
> where it's barfing?

FTR: "no" and as well not by directly installing the packages via
dpkg. The issue was triggered installing them via apt-get, so the
issue might not lie in glx-diversions itself.

I see Andreas found it now reproducible, so we have a start.

Regards,
Salvatore



More information about the pkg-nvidia-devel mailing list