[Pkg-anonymity-tools] Bug#760075: torsocks: SIGSEGV with torsocks 2.0.0 on some browsers, failure to anonimize others

js jshaio at yahoo.com
Sun Aug 31 14:07:15 UTC 2014


Package: torsocks
Version: 2.0.0-1
Severity: important

Dear Maintainer,

==============================================================================
I upgraded torsocks from the 1.3.3 to 2.0.0 and it either SIGSEV on some browsers
or else fails to anonimize others (in other words, running under tor they cannot
access sites blocked by my firewall)

These are the exact upgrades made:
    Inst tor-geoipdb [0.2.4.22-1] (0.2.4.23-1 Debian:testing [all]) []
    Inst tor [0.2.4.22-1] (0.2.4.23-1 Debian:testing [i386])
    Inst torsocks [1.3-3] (2.0.0-1 Debian:testing [i386])

I retested this by purging torsocks, tor and tor-geipdb and reinstalling
but got the same results:
- midori, iceape, firefox chromium: SIGSEGV; stack trace for midori:
    (gdb) exec-file midori
    (gdb) r
    Starting program: /usr/bin/midori midori
    warning: Could not load shared library symbols for linux-gate.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
    
    Program received signal SIGSEGV, Segmentation fault.
    0x00000000 in ?? ()
    (gdb) bt
    #0  0x00000000 in ?? ()
    #1  0xb7fcd12b in tsocks_close () from /usr/lib/torsocks/libtorsocks.so
    #2  0xb7fcd1d4 in close () from /usr/lib/torsocks/libtorsocks.so
    #3  0xb46491a6 in ?? () from /usr/lib/i386-linux-gnu/libGL.so.1
    #4  0xb464973b in ?? () from /usr/lib/i386-linux-gnu/libGL.so.1
    #5  0xb462c7c4 in ?? () from /usr/lib/i386-linux-gnu/libGL.so.1
    #6  0xb7fed86a in call_init (l=0xb46f15a0, argc=argc at entry=2, argv=argv at entry=0xbffff6c4, env=env at entry=0xbffff6d0) at dl-init.c:64
    #7  0xb7fed9a4 in call_init (env=0xbffff6d0, argv=0xbffff6c4, argc=2, l=<optimized out>) at dl-init.c:36
    #8  _dl_init (main_map=0xb7fff930, argc=2, argv=0xbffff6c4, env=0xbffff6d0) at dl-init.c:126
    #9  0xb7fdfd3f in _dl_start_user () from /lib/ld-linux.so.2

  Note that the libGL library is from the nvidia proprietary driver:
    => readlink -f /usr/lib/i386-linux-gnu/libGL.so.1
   /usr/lib/i386-linux-gnu/nvidia/current/libGL.so.340.24

- konqueror: runs but not anonimously as firewall intercepts requests:
    (gdb) exec-file konqueror
    (gdb) r
    Starting program: /usr/bin/konqueror midori
    warning: Could not load shared library symbols for linux-gate.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
    [Aug 31 09:01:39] WARNING torsocks[8021]: [syscall] Unsupported syscall number 238. Denying the call (in tsocks_syscall() at syscall.c:165)


- firefox: blocks indefinitely on a futex; tail of strace:
    futex(0xb7724058, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    readlink("/etc/malloc.conf", 0xbfef52ab, 4096) = -1 ENOENT (No such file or directory)
    time(NULL)                              = 1409493059
    futex(0x806538c, FUTEX_WAIT_PRIVATE, 2, NULL  C-c C-cProcess 8364 detached
     <detached ...>

Correct behavior was restored with purge followed by:
     apt-get  install torsocks=1.3-3  tor=0.2.4.22-1 tor-geoipdb=0.2.4.22-1

from the repository:
    http://snapshot.debian.org/archive/debian/20140727/ testing/main i386 Packages
==============================================================================


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.14-1-686-pae (SMP w/6 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages torsocks depends on:
ii  libc6  2.19-1

Versions of packages torsocks recommends:
ii  tor  0.2.4.23-1

torsocks suggests no packages.

-- no debconf information



More information about the Pkg-anonymity-tools mailing list