[winswitch] xpra 0.14.6 traps on Ubuntu 12.04

Antoine Martin antoine at nagafix.co.uk
Fri Sep 12 14:26:14 BST 2014


On 12/09/14 20:02, Douglas Doole wrote:
> Just upgraded my client to 0.14.6.
(Judging by the big warning message below, your client must be running
Ubuntu 12.04?)
>  When I attempt to connect to my server
> (already running 0.14.6 on Ubuntu 14.04) the client traps:
>
> $ xpra attach ssh:reorx:1
> 2014-09-12 08:58:36,750 buggy Ubuntu swscale version detected: (2, 1, 0)
> 2014-09-12 08:58:36,750 cowardly refusing to use it to avoid problems, set
> the environment variable:
> 2014-09-12 08:58:36,750 XPRA_FORCE_SWSCALE=1
> 2014-09-12 08:58:36,750 to use it anyway, at your own risk
> 2014-09-12 08:58:36,751  cannot import csc_swscale (swscale colorspace
> conversion): unsupported Ubuntu swscale version: (2, 1, 0)
> Segmentation fault (core dumped)
>
> 0.14.5 had no problems talking to the server.
I can reproduce it, so I should be able to figure it out.
In the meantime, I can offer this dirty workaround which should work for
most Debian / Ubuntu distros:
sudo rm -fr /usr/lib/python2.7/dist-packages/xpra/codecs/csc_swscale
sudo rm -fr /usr/lib/pyshared/python2.7/xpra/codecs/csc_swscale

It is a very odd one because there is nothing in the changes from 0.14.5
to 0.14.6 that are in any way related to "swscale", and even nothing
that should be able to cause a segfault.
They're all small python things, and I've just reviewed them all again.

But there is one thing: these newer builds were made with the new Cython
0.21 (released 2 days ago) instead of Cython 0.20.2 which was used
previously.
It would be interesting to know which other builds are affected by this,
if any.
> If I can get you any other details, just let me know.

Cheers
Antoine



More information about the shifter-users mailing list