Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2003 11:01:36 +0100
From:      Franz Klammer <klammer@webonaut.com>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: another gdesklets kse/libc_r problem
Message-ID:  <3FC1D700.5000802@webonaut.com>
In-Reply-To: <opry4xrsxg8ckrg5@smtp.central.cox.net>
References:  <3FC0D95D.8080007@webonaut.com> <opry4xrsxg8ckrg5@smtp.central.cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Messenger wrote:

> On Sun, 23 Nov 2003 16:59:25 +0100, Franz Klammer 
> <klammer@webonaut.com> wrote:
>
>> 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.
>
>
> It might be good idea to send it to freebsd-thread. I don't know if 
> they read in here. :-)
>
> BTW: I will check on your PSI shar file this week, I am kind of little 
> busy for a little while.
>
thanks for the answer. i sent the question to threads@.

But maybe if there more people outside who want also test it under their 
environment:

you can download the shar from http://webonaut.com/temp/psi-desklets/
and read http://webonaut.com/temp/psi-desklets/_README_PLEASE before.


franz.

> Cheers,
> Mezz
>
>> franz.
>
>
>

-- 
webonaut.com :: web technology
klammer@webonaut.com :: http://webonaut.com/
fon +43-664-3434708
--
MIG_media intelligence group > agentur für werbung & neue medien
A-5020 Salzburg > Linzergasse 21

Fon +43-662-453091-0 > Fax -99
office@mig.co.at > http://www.mig.co.at
--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FC1D700.5000802>