another gdesklets kse/libc_r problem
Joe Marcus Clarke
marcus at marcuscom.com
Tue Nov 25 13:48:14 PST 2003
On Sun, 2003-11-23 at 10:59, Franz Klammer 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.
Is this on 5.x? The more I think about this, the more it sounds like
the "dreaded thread" problem where by -lc_r is not passed to the linker
on all versions of FreeBSD. gdesklets seems to be safe, but I'm not
sure if this particular sensor needs compiled code.
Joe
>
> franz.
>
>
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20031125/b5487b0c/attachment.bin
More information about the freebsd-gnome
mailing list