Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #12043

Closed (moved)
Open
Opened May 19, 2014 by Trac@tracbot

Stack Trace at SIGTERM when using Sandbox and obfsproxy

Tor built from git (git-767b18ea8eebc2c0), with configure options to mimic Debian packaging. When running as a bridge with obfsproxy and sandbox enabled, SIGTERM causes a stack trace. Also, obfsproxy does not exit and must be killed manually. Without sandbox, obfsproxy closes with tor.

May 19 01:48:11.000 [notice] Catching signal TERM, exiting cleanly.

============================================================ T= 1400478491
(Sandbox) Caught a bad syscall attempt (syscall kill)
/usr/bin/tor(+0x1806e1)[0x7f536e77c6e1]
/lib/x86_64-linux-gnu/libc.so.6(kill+0x7)[0x7f536cc7a697]
/lib/x86_64-linux-gnu/libc.so.6(kill+0x7)[0x7f536cc7a697]
/usr/bin/tor(tor_terminate_process+0x2e)[0x7f536e776473]
/usr/bin/tor(tor_process_handle_destroy+0x40)[0x7f536e776aae]
/usr/bin/tor(+0x4bc56)[0x7f536e647c56]
/usr/bin/tor(pt_free_all+0xb3)[0x7f536e64a437]
/usr/bin/tor(tor_free_all+0x75)[0x7f536e632fa3]
/usr/bin/tor(tor_cleanup+0x174)[0x7f536e633208]
/usr/bin/tor(process_signal+0xc6)[0x7f536e631c43]
/usr/bin/tor(+0x35b67)[0x7f536e631b67]
/usr/lib/x86_64-linux-gnu/libevent-2.0.so.5(event_base_loop+0x9a5)[0x7f536dc88715]
/usr/bin/tor(do_main_loop+0x36f)[0x7f536e631a06]
/usr/bin/tor(tor_main+0x103)[0x7f536e634b11]
/usr/bin/tor(main+0x2f)[0x7f536e62d664]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f536cc66b45]
/usr/bin/tor(+0x31549)[0x7f536e62d549]

/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:

ORPort 9001
#Nickname Test
#DirPort 9030

ExitPolicy reject *:* # no exits allowed

BridgeRelay 1
ServerTransportPlugin obfs3,scramblesuit exec /usr/bin/obfsproxy managed
ExtORPort auto

PublishServerDescriptor 0

Sandbox 1

OS: Debian Jessie kernel: 3.13-1-amd64 libseccomp-dev: 2.1.1-1 obfsproxy: 0.2.8-1

Trac:
Username: alphawolf

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.5.x-final
Milestone
Tor: 0.2.5.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#12043