There is a bug in tsocks wrapper of the poll(2) system call which
prevents tsocks from working with apps that use poll(2) to wait for data
on the socket. As a consequence, the connections initiated by the
application never come up and, finally, time out. This has been observed
with subversion/stable and with java applications (with the sun-jvm).
I could fix the bug - at least it works now for all applications that I
use together with tsocks. (That is, it at least works with mutt,
subversion, ssh.) The fix is contained in the attached patch.