Date: Tue, 25 Nov 2003 16:48:09 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Franz Klammer <klammer@webonaut.com> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: another gdesklets kse/libc_r problem Message-ID: <1069796889.743.75.camel@gyros> In-Reply-To: <3FC0D95D.8080007@webonaut.com> References: <3FC0D95D.8080007@webonaut.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-2Qh953GWqk83bYxiR0Cy Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2003-11-23 at 10:59, Franz Klammer wrote: > at least under -current i've following threads-problem: >=20 > 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() >=20 > 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: >=20 > 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 >=20 >=20 > that problem only occours with libc_r but not with libkse. >=20 > 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 >=20 > with libkse there is only one line. >=20 > 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 >=20 > franz. >=20 >=20 > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-2Qh953GWqk83bYxiR0Cy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/w84Zb2iPiv4Uz4cRAk49AJ0ctCq91wcUj4T6TizsG+TXZowErQCeJFF2 PxLEPFl2o8evKGDrE76duFc= =PCn5 -----END PGP SIGNATURE----- --=-2Qh953GWqk83bYxiR0Cy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1069796889.743.75.camel>