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

Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 1 Apr 2016 17:37:30 +0000
From cezio@thelirium.net  Fri Apr  1 19:37:29 2016
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from localhost (localhost [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 2EBE55DA99
	for <submit@bugs.x2go.org>; Fri,  1 Apr 2016 19:37:29 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([])
	by localhost (ymir.das-netzwerkteam.de []) (amavisd-new, port 10024)
	with ESMTP id cGI9qRw-2Xiu for <submit@bugs.x2go.org>;
	Fri,  1 Apr 2016 19:37:23 +0200 (CEST)
X-Greylist: delayed 551 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Fri, 01 Apr 2016 19:37:22 CEST
Received: from karaluch.thelirium.net (karaluch.thelirium.net [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id E2E9F5DA82
	for <submit@bugs.x2go.org>; Fri,  1 Apr 2016 19:37:22 +0200 (CEST)
Received: from gburek.localnet (109-207-48-160.ronus.pl [])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by karaluch.thelirium.net (Postfix) with ESMTPSA id DE35E2600C8
	for <submit@bugs.x2go.org>; Fri,  1 Apr 2016 19:28:10 +0200 (CEST)
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-ID: <2350558.GDfSlUhcah@gburek>
Organization: TheLirium.net
User-Agent: KMail/4.14.10 (Linux/4.4.1-gentoo; KDE/4.14.17; x86_64; ; )
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart3298884.tQilaBG0K5"; micalg="pgp-sha1"; protocol="application/pgp-signature"
[Message part 1 (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:43:31 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.