Sandbox: Stack trace when `ConstrainedSockets 1` set
Stack trace when tor service starts if ConstrainedSockets 1
is set. Built from current master(git-a056ffabbbdc7659)
May 27 20:54:09.000 [notice] Bootstrapped 80%: Connecting to the Tor network
============================================================ T= 1401238450
(Sandbox) Caught a bad syscall attempt (syscall setsockopt)
/usr/bin/tor(+0x123afa)[0x7ffd3d7d0afa]
/lib/x86_64-linux-gnu/libc.so.6(setsockopt+0xa)[0x7ffd3bddcd3a]
/lib/x86_64-linux-gnu/libc.so.6(setsockopt+0xa)[0x7ffd3bddcd3a]
/usr/bin/tor(+0xc15a9)[0x7ffd3d76e5a9]
/usr/bin/tor(connection_connect+0x25e)[0x7ffd3d77007e]
/usr/bin/tor(connection_or_connect+0x129)[0x7ffd3d781ef9]
/usr/bin/tor(channel_tls_connect+0x77)[0x7ffd3d742f27]
/usr/bin/tor(circuit_handle_first_hop+0x1b0)[0x7ffd3d74bdc0]
/usr/bin/tor(circuit_establish_circuit+0x384)[0x7ffd3d74c424]
/usr/bin/tor(circuit_launch_by_extend_info+0x60)[0x7ffd3d75be80]
/usr/bin/tor(circuit_build_needed_circs+0x304)[0x7ffd3d75c3b4]
/usr/bin/tor(+0x35315)[0x7ffd3d6e2315]
/usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x414)[0x7ffd3cd39184]
/usr/bin/tor(do_main_loop+0x195)[0x7ffd3d6e3295]
/usr/bin/tor(tor_main+0x18d5)[0x7ffd3d6e6255]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7ffd3bd17b45]
/usr/bin/tor(+0x32adb)[0x7ffd3d6dfadb]
/usr/share/tor/tor-service-defaults-torrc:
DataDirectory /var/lib/tor
PidFile /var/run/tor/tor.pid
RunAsDaemon 1
User debian-tor
ControlSocket /var/run/tor/control
ControlSocketsGroupWritable 1
CookieAuthentication 1
CookieAuthFileGroupReadable 1
CookieAuthFile /var/run/tor/control.authcookie
Log notice file /var/log/tor/log
torrc:
ConstrainedSockets 1
Sandbox 1
Trac:
Username: alphawolf