From owner-freebsd-gnome@FreeBSD.ORG Sun Nov 23 07:59:28 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 201D216A4CE for ; Sun, 23 Nov 2003 07:59:28 -0800 (PST) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF0B643F93 for ; Sun, 23 Nov 2003 07:59:26 -0800 (PST) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id 011A976421 for ; Sun, 23 Nov 2003 16:59:24 +0100 (CET) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13409-10 for ; Sun, 23 Nov 2003 16:59:21 +0100 (CET) Received: from webonaut.com (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id CE65F7641F for ; Sun, 23 Nov 2003 16:59:21 +0100 (CET) Message-ID: <3FC0D95D.8080007@webonaut.com> Date: Sun, 23 Nov 2003 16:59:25 +0100 From: Franz Klammer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031021 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD GNOME Users Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at webonaut.com Subject: another gdesklets kse/libc_r problem X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 15:59:28 -0000 at least under -current i've following threads-problem: when a sensor doing commands.getstatusoutput(cmd) out of a thread the first call works like expected, but the second call will result in a deadlock (i think). what i've found in the last days was that it happens while commands.getstatusoutput -> pipe.read() if added a print "1.... "+cmd bevore getstatusoutput and a print "2 ... "+cmd after. heres the output if i start gdesklets from a terminal-window: 1 ... /bin/date '+%a %d %b %y'|iconv -t UTF-8 2 ... /bin/date '+%a %d %b %y'|iconv -t UTF-8 1 ... /bin/date '+%a %d %b %y'|iconv -t UTF-8 that problem only occours with libc_r but not with libkse. also with libc_r a ps fax | grep gdesklets looks like this: 80390 p4 S+ 0:05,58 python /usr/X11R6/bin/gdesklets 80431 p4 S+ 0:00,00 python /usr/X11R6/bin/gdesklets 80446 p4 S+ 0:00,00 python /usr/X11R6/bin/gdesklets with libkse there is only one line. i'm out of ideas now. franz.