[tor-bugs] #16579 [Tor]: (Sandbox) Caught a bad syscall attempt (syscall socket)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 14 21:19:16 UTC 2015


#16579: (Sandbox) Caught a bad syscall attempt (syscall socket)
-----------------------------+--------------------------------
     Reporter:  cypherpunks  |      Owner:
         Type:  defect       |     Status:  new
     Priority:  normal       |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor          |    Version:  Tor: 0.2.7.1-alpha
   Resolution:               |   Keywords:  026-backport
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------

Comment (by cypherpunks):

 Replying to [comment:3 nickm]:
 > I'm guessing that because the crash is coming from within syslog_chk .
 But when I try to test this myself, by running only with `Log notice
 syslog` and `Sandbox 1`, I don't see a crash on my host.
 >
 > Do you get a crash when you start Tor using a Torrc with only those two
 options?

 Yes.
 {{{
 (Sandbox) Caught a bad syscall attempt (syscall socket)
 tor(+0x142148)[0x1ce09be148]
 /lib64/libc.so.6(socket+0x7)[0x2b072f90a07]
 /lib64/libc.so.6(socket+0x7)[0x2b072f90a07]
 /lib64/libc.so.6(+0xf16a0)[0x2b072f8a6a0]
 /lib64/libc.so.6(__vsyslog_chk+0x3ef)[0x2b072f8aaff]
 /lib64/libc.so.6(__syslog_chk+0x89)[0x2b072f8adf9]
 tor(+0x135bb0)[0x1ce09b1bb0]
 tor(tor_log+0xd0)[0x1ce09b2680]
 tor(control_event_bootstrap+0x1e4)[0x1ce0971a74]
 tor(do_main_loop+0x84)[0x1ce08b4234]
 tor(tor_main+0x16c5)[0x1ce08b7225]
 /lib64/libc.so.6(__libc_start_main+0x114)[0x2b072eb9134]
 tor(+0x34519)[0x1ce08b0519]
 }}}
 {{{
 #
 # Minimal torrc so tor will work out of the box
 #
 Log notice syslog
 SandBox 1
 }}}
 {{{
 $ tor --version
 Tor version 0.2.7.1-alpha (git-df76da0f3bfd6897).
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16579#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list