[Spice-devel] [PATCH] Fixed error when trying to access undefined source buffer without checking it first

Christophe Fergeau cfergeau at redhat.com
Thu Jul 28 13:00:16 UTC 2016


On Thu, Jul 28, 2016 at 12:59:05PM +0100, Oliver Gutierrez wrote:
> The problem I was having was the spice-html5 client was throwing exceptions
> for trying to access that property in cases where it is not a valid value.
> 
> I got to the error because I'm developing a plugin for cockpit that makes
> use of spice-html5 for connecting to VMs, and when spice-html5 starts
> displaying graphics, it throws this error repeatedly, causing cockpit to
> show an awfull "Oops" message.
> 
> It just failed throwing exceptions to console. It stopped the playback when
> failed, so with the change it stops anyway but without throwing errors.
> 
> I hope this answer your questions. My knowledge about spice-html5 or spice
> is limited, so I don't know if this info is enough for you.

Any idea what is different in your setup compared to 'traditional'
setups? I expect this bug is not always happening or it would have been
noticed earlier?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160728/aa8f4e73/attachment.sig>


More information about the Spice-devel mailing list