xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 9 years ago

Closed 9 years ago

Last modified 12 months ago

#269 closed defect (fixed)

Problem launching binary xpra-0.8.6-1.fc18.i386

Reported by: Smo Owned by: Antoine Martin
Priority: major Milestone:
Component: server Version: 0.8.x
Keywords: Cc:


Fedora 18 i386

curl -O http://xpra.org/dists/Fedora/18/i386/xpra-0.8.6-1.fc18.i386.rpm
yum localinstall xpra-0.8.6-1.fc18.i386.rpm

started with command line

xpra start :11 --no-daemon -d all
2013-02-25 20:37:15,201 cyxor loaded
2013-02-25 20:37:15,227 sizing world to 5120x3200
2013-02-25 20:37:15,228 sending WM_TAKE_FOCUS: <gtk.gdk.Window object at 0x9ef6694 (GdkWindow at 0x9e21e58)>, 0L
2013-02-25 20:37:15,296 _call(True,<function get_default_cursor at 0x9efa80c>,(),{}) Python int too large to convert to C long
Traceback (most recent call last):
  File "/usr/bin/xpra", line 6, in <module>
    sys.exit(xpra.scripts.main.main(__file__, sys.argv))
  File "/usr/lib/python2.7/site-packages/xpra/scripts/main.py", line 563, in main
    return run_server(parser, options, mode, script_file, args)
  File "/usr/lib/python2.7/site-packages/xpra/scripts/server.py", line 429, in run_server
    app = XpraServer(clobber, sockets, opts)
  File "/usr/lib/python2.7/site-packages/xpra/server.py", line 182, in __init__
    XpraServerBase.__init__(self, clobber, sockets, opts)
  File "/usr/lib/python2.7/site-packages/xpra/server_base.py", line 60, in __init__
  File "/usr/lib/python2.7/site-packages/xpra/server.py", line 214, in x11_init
  File "/usr/lib/python2.7/site-packages/wimpiggy/error.py", line 137, in swallow_synced
    self.call_synced(fun, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/wimpiggy/error.py", line 120, in call_synced
    return self._call(True, fun, args, kwargs)
  File "/usr/lib/python2.7/site-packages/wimpiggy/error.py", line 112, in _call
    raise e
OverflowError: Python int too large to convert to C long
2013-02-25 20:37:15,304 removing socket /root/.xpra/localhost-11
2013-02-25 20:37:15,305 killing xvfb with pid 3663
[root@localhost ~]# Server terminated successfully (0). Closing log file.

I've tried the binary for 0.8.5 and there is no issue

Change History (3)

comment:1 Changed 9 years ago by Antoine Martin

I will have to test, but feel free to beat me to it:

--- src/wimpiggy/lowlevel/bindings.pyx	(revision 2766)
+++ src/wimpiggy/lowlevel/bindings.pyx	(working copy)
@@ -1687,7 +1687,7 @@
     cdef char b1, b2, b3, b4
     while i < len:
         argb = data[i] & 0xffffffff
-        rgba = (argb << 8) | (argb >> 24)
+        rgba = ((argb << 8) | (argb >> 24)) & 0xffffffff
         b1 = (rgba >> 24)  & 0xff
         b2 = (rgba >> 16) & 0xff
         b3 = (rgba >> 8) & 0xff
Last edited 9 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 9 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

r2800 + r2802 + r2804 fix this for trunk, backported to v0.8.x in r2805

Tested on Ubuntu 12.10 x86 and Fedora 18 x86.

comment:3 Changed 12 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/269

Note: See TracTickets for help on using tickets.