X2Go Bug report logs - #1016
python-x2go breaks with gevent 1.1.0

version graph

Package: python-x2go; Maintainer for python-x2go is X2Go Developers <x2go-dev@lists.x2go.org>; Source for python-x2go is src:python-x2go.

Reported by: Cezary Statkiewicz <cezio@thelirium.net>

Date: Fri, 1 Apr 2016 17:40:02 UTC

Severity: normal

Tags: pending

Found in version

Fixed in version

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log

🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.507 (Entity 5.507)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#1016 closed by X2Go Release Manager <git-admin@x2go.org>
 (X2Go issue (in src:python-x2go) has been marked as closed)
Message-ID: <handler.1016.c.149485920015089.notifdone@bugs.x2go.org>
References: <20170515143935.BBC5F5DAD2@ymir.das-netzwerkteam.de>
X-X2go-PR-Keywords: pending
X-X2go-PR-Message: they-closed 1016
X-X2go-PR-Package: python-x2go
X-X2go-PR-Source: python-x2go
Date: Mon, 15 May 2017 14:40:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1494859203-15113-0"
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your Bug report
which was filed against the python-x2go package:

#1016: python-x2go breaks with gevent 1.1.0

It has been closed by X2Go Release Manager <git-admin@x2go.org>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact X2Go Release Manager <git-admin@x2go.org> by
replying to this email.

X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems
[Message part 2 (message/rfc822, inline)]
From: X2Go Release Manager <git-admin@x2go.org>
To: 1016-submitter@bugs.x2go.org
Cc: control@bugs.x2go.org, 1016@bugs.x2go.org
Subject: X2Go issue (in src:python-x2go) has been marked as closed
Date: Mon, 15 May 2017 16:39:35 +0200 (CEST)
close #1016


we are very hopeful that X2Go issue #1016 reported by you
has been resolved in the new release ( of the
X2Go source project »src:python-x2go«.

You can view the complete changelog entry of src:python-x2go (
below, and you can use the following link to view all the code changes
between this and the last release of src:python-x2go.


If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:python-x2go.

Thanks a lot for contributing to X2Go!!!

X2Go Git Admin (on behalf of the sender of this mail)

X2Go Component: src:python-x2go
Date: Mon, 15 May 2017 16:38:16 +0200
Fixes: 1016
 python-x2go ( RELEASED; urgency=low
   [ Mike Gabriel ]
   * New upstream version (
     - documentation: Fix wording in docstring.
     - Don't blindly release gevent locks. We need to check if a
       semaphore is locked for some code paths and only then release it.
       (Fixes: #1016).
   [ Mihai Moldovan ]
   * New upstream version (
     - x2go/__init__.py: update mailing list address.
   * debian/control:
     - Maintainer change in package: X2Go Developers <x2go-dev@lists.x2go.org>.
     - Uploaders: add myself. Also, force a rebuild due to the changed

[Message part 3 (message/rfc822, inline)]
From: Cezary Statkiewicz <cezio@thelirium.net>
To: submit@bugs.x2go.org
Subject: python-x2go breaks with gevent 1.1.0
Date: Fri, 01 Apr 2016 19:27:59 +0200
[Message part 4 (text/plain, inline)]
Package: python-x2go


 I'm using x2go python bindings, and noticed that X2GoSession's .suspend() can 
break with gevent 1.1. I've downgraded gevent to 1.0.2 and unchanged code 
works fine with it.

 Sample code (i believe taken from a sample code):

 class Client(X2GoClient):
    def do_connect(self):
        sid = self.register_session(server=session_args.pop('server', None),
                                    port=session_args.pop('port', None),

        session_name = sid.get_session_name()
        if session_name is None:
            log.error("X2Go session creation: Session name is None, 


  File "/usr/lib/python2.7/dist-packages/x2go/session.py", line 2303, in 
  File "gevent/_semaphore.py", line 266, in 
gevent._semaphore.BoundedSemaphore.release (gevent/gevent._semaphore.c:4866)
  File "gevent/_semaphore.py", line 268, in 
gevent._semaphore.BoundedSemaphore.release (gevent/gevent._semaphore.c:4802)
thread.error: Semaphore released too many times

 Best Regards,

 Cezary Statkiewicz
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Sep 22 04:16:56 2023; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.