X2Go Bug report logs - #441
x2gocleansessions crashes when closing open FDs

version graph

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

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Fri, 28 Feb 2014 15:35:01 UTC

Severity: important

Tags: pending

Found in version 4.0.1.13

Fixed in version 4.0.1.14

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


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

Received: (at 441) by bugs.x2go.org; 5 Mar 2014 07:37:18 +0000
From mike.gabriel@das-netzwerkteam.de  Wed Mar  5 08:37:17 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 559825DB13
	for <441@bugs.x2go.org>; Wed,  5 Mar 2014 08:37:17 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 214F11EC1D
	for <441@bugs.x2go.org>; Wed,  5 Mar 2014 08:37:17 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 1485B3BB1B
	for <441@bugs.x2go.org>; Wed,  5 Mar 2014 08:37:17 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id HzBGJc51ZTWj for <441@bugs.x2go.org>;
	Wed,  5 Mar 2014 08:37:17 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id E763A3B9E8
	for <441@bugs.x2go.org>; Wed,  5 Mar 2014 08:37:16 +0100 (CET)
Received: from m-047.informatik.uni-kiel.de (m-047.informatik.uni-kiel.de
 [134.245.254.47]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Wed, 05 Mar 2014 07:37:16 +0000
Date: Wed, 05 Mar 2014 07:37:16 +0000
Message-ID: <20140305073716.Horde.xtC7cIQScwzySx4GTQxaRA8@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 441@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#441: x2gocleansessions crashes
References: <20140228153400.Horde.z6I7kfVUW-1bgMy5Pi1t-Q6@mail.das-netzwerkteam.de>
In-Reply-To: <20140228153400.Horde.z6I7kfVUW-1bgMy5Pi1t-Q6@mail.das-netzwerkteam.de>
User-Agent: Internet Messaging Program (IMP) H5 (6.1.4)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 134.245.254.47
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101
 Firefox/26.0 Iceweasel/26.0
Content-Type: multipart/signed; boundary="=_zTpRzNyLxOgV61iMDOKp_g5";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Control: retitle -1 x2gocleansessions crashes when closing open FDs

On  Fr 28 Feb 2014 16:34:00 CET, Mike Gabriel wrote:

> in x2gocleansessions we use a line of code that is supposed to close  
> all open file handles:
>
> """
> # close all filehandles
> for (glob "/proc/$$/fd/*") { POSIX::close($1) if m{/(\d+)$}; }
> """
>
> This line lets x2gocleansessions crash on RHEL6 based distros. On  
> Debian based distros, x2gocleansessions survives the above line of  
> code. Not sure about Fedora.

This issue actually also occurrs on some Debian systems. Not sure why  
it took us so long to realize this.

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 14:48:43 2024; 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.