Comment 5 for bug 1814146

Revision history for this message
John Mackoy (jtmackoy) wrote :

Unfortunately, after using the system for a couple of days, I received another BSOD in qxldd.sys.

I started to look into linking the binary I built when it looks like it is already using it. Here's what is currently being used:

ldd /usr/bin/qemu-system-x86_64 | grep spice
 libspice-server.so.1 => /usr/local/lib/libspice-server.so.1 (0x00007fac29f23000)

ll /usr/local/lib/libspice-server.so.1
lrwxrwxrwx 1 root root 25 Apr 12 09:52 /usr/local/lib/libspice-server.so.1 -> libspice-server.so.1.12.5

dpkg -S /usr/local/lib/libspice-server.so.1
spice: /usr/local/lib/libspice-server.so.1

sudo apt list spice
Listing... Done
spice/now 0.14.1.143-20190412-1 amd64 [installed,local]

And here is the contents of the package that I built before installing yours from the PPA:

dpkg --contents spice_0.14.1.143-20190412-1_amd64.deb | grep libspice-server.so
-rwxr-xr-x root/root 1202224 2019-04-12 09:52 ./usr/local/lib/libspice-server.so.1.12.5
lrwxrwxrwx root/root 0 2019-04-12 09:52 ./usr/local/lib/libspice-server.so -> libspice-server.so.1.12.5
lrwxrwxrwx root/root 0 2019-04-12 09:52 ./usr/local/lib/libspice-server.so.1 -> libspice-server.so.1.12.5

I've uninstalled the PPA, uninstalled my package, and then reinstalled the PPA.

sudo ppa-purge ppa:paelzer/bug-1814146-spice-crash
Updating packages lists
PPA to be removed: paelzer bug-1814146-spice-crash
Package revert list generated:
 libspice-server1:amd64/bionic

Disabling paelzer PPA from
/etc/apt/sources.list.d/paelzer-ubuntu-bug-1814146-spice-crash-bionic.list
Updating packages lists
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '0.14.0-1ubuntu2.4' (Ubuntu:18.04/bionic-updates, Ubuntu:18.04/bionic-security [amd64]) for 'libspice-server1'
The following packages were automatically installed and are no longer required:
  android-libext4-utils android-libselinux android-libsepol libf2fs0
Use 'sudo apt autoremove' to remove them.
The following packages will be DOWNGRADED:
  libspice-server1
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Need to get 345 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libspice-server1 amd64 0.14.0-1ubuntu2.4 [345 kB]
Fetched 345 kB in 1s (497 kB/s)
dpkg: warning: downgrading libspice-server1:amd64 from 0.14.0-1ubuntu2.5~ppa1 to 0.14.0-1ubuntu2.4
(Reading database ... 302458 files and directories currently installed.)
Preparing to unpack .../libspice-server1_0.14.0-1ubuntu2.4_amd64.deb ...
Unpacking libspice-server1:amd64 (0.14.0-1ubuntu2.4) over (0.14.0-1ubuntu2.5~ppa1) ...
Setting up libspice-server1:amd64 (0.14.0-1ubuntu2.4) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
PPA purged successfully

sudo apt list spice
Listing... Done
spice/now 0.14.1.143-20190412-1 amd64 [installed,local]

My version is still installed. Removing that now.

sudo apt auto-remove spice
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  android-libext4-utils android-libselinux android-libsepol libf2fs0 spice
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 2,469 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 302456 files and directories currently installed.)
Removing android-libext4-utils (8.1.0+r23-2~18.04) ...
Removing android-libselinux (8.1.0+r23-2~18.04) ...
Removing android-libsepol (8.1.0+r23-2~18.04) ...
Removing libf2fs0:amd64 (1.10.0-1) ...
Removing spice (0.14.1.143-20190412-1) ...
dpkg: warning: while removing spice, directory '/usr/local/lib' not empty so not removed
Processing triggers for libc-bin (2.27-3ubuntu1) ...

ldd /usr/bin/qemu-system-x86_64 | grep spice
 libspice-server.so.1 => /usr/lib/x86_64-linux-gnu/libspice-server.so.1 (0x00007f8bdd5ce000)

So, now we're back on the distro's version of spice. Reinstalling your PPA.

sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  libspice-server1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 350 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ppa.launchpad.net/paelzer/bug-1814146-spice-crash/ubuntu bionic/main amd64 libspice-server1 amd64 0.14.0-1ubuntu2.5~ppa1 [350 kB]
Fetched 350 kB in 1s (503 kB/s)
(Reading database ... 302386 files and directories currently installed.)
Preparing to unpack .../libspice-server1_0.14.0-1ubuntu2.5~ppa1_amd64.deb ...
Unpacking libspice-server1:amd64 (0.14.0-1ubuntu2.5~ppa1) over (0.14.0-1ubuntu2.4) ...
Setting up libspice-server1:amd64 (0.14.0-1ubuntu2.5~ppa1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...

ldd /usr/bin/qemu-system-x86_64 | grep spice
 libspice-server.so.1 => /usr/lib/x86_64-linux-gnu/libspice-server.so.1 (0x00007f4f8e9cf000)

Ok, now it looks like we're on your version. I'll continue testing with this.

That said, it looks like I inadvertently skipped to the last recommendation you made (the installation of the PPA I think helped to link to my built binary, which was present on the system in /usr/local/ when I installed the PPA), which is off of a more recent commit than the bug referenced in the Red Hat ticket:
5efc8fc8 -= Francois Gouget, 12 days ago : video-stream: use the dcc local variable

Will continue testing now that I have confirmed your version is installed and being used, just in case something later in that git repo broke it again.