From owner-freebsd-bugs@FreeBSD.ORG Mon Jan 29 22:26:58 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7583C16A402; Mon, 29 Jan 2007 22:26:58 +0000 (UTC) (envelope-from mux@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 684D813C491; Mon, 29 Jan 2007 22:26:58 +0000 (UTC) (envelope-from mux@FreeBSD.org) Received: from freefall.freebsd.org (mux@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l0TMQwCa096606; Mon, 29 Jan 2007 22:26:58 GMT (envelope-from mux@freefall.freebsd.org) Received: (from mux@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l0TMQwav096602; Mon, 29 Jan 2007 22:26:58 GMT (envelope-from mux) Date: Mon, 29 Jan 2007 22:26:58 GMT From: Maxime Henrion Message-Id: <200701292226.l0TMQwav096602@freefall.freebsd.org> To: sem@FreeBSD.org, mux@FreeBSD.org, freebsd-bugs@FreeBSD.org, mux@FreeBSD.org Cc: Subject: Re: bin/108518: csup is dumped when run under socksify command X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 22:26:58 -0000 Synopsis: csup is dumped when run under socksify command State-Changed-From-To: open->feedback State-Changed-By: mux State-Changed-When: Mon Jan 29 22:25:56 UTC 2007 State-Changed-Why: After a quick glance at the net/dante code, and some toying with socksify, it seems that the problem here is that socksify just can't cope with multithreaded binaries. I believe that a workaround to this problem would be to link csup to libc_r instead of libthr/libpthread. You can do this easily by adding this to /etc/libmap.conf: %% [csup] libpthread.so.2 libc_r.so.6 libpthread.so libc_r.so %% If that works, it would confirm my theory about socksify not being able to deal correctly with multithreaded binaries and I would suggest you to report this problem to dante's authors. Responsible-Changed-From-To: freebsd-bugs->mux Responsible-Changed-By: mux Responsible-Changed-When: Mon Jan 29 22:25:56 UTC 2007 Responsible-Changed-Why: After a quick glance at the net/dante code, and some toying with socksify, it seems that the problem here is that socksify just can't cope with multithreaded binaries. I believe that a workaround to this problem would be to link csup to libc_r instead of libthr/libpthread. You can do this easily by adding this to /etc/libmap.conf: %% [csup] libpthread.so.2 libc_r.so.6 libpthread.so libc_r.so %% If that works, it would confirm my theory about socksify not being able to deal correctly with multithreaded binaries and I would suggest you to report this problem to dante's authors. http://www.freebsd.org/cgi/query-pr.cgi?pr=108518