[tor-bugs] #14759 [Tor]: Tor is killed with Bad system call
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Feb 6 15:32:49 UTC 2015
#14759: Tor is killed with Bad system call
------------------------+------------------------------------
Reporter: tholin | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version: Tor: 0.2.6.2-alpha
Resolution: | Keywords: 025-backport tor-relay
Actual Points: | Parent ID:
Points: |
------------------------+------------------------------------
Comment (by nickm):
So, it appears that this is what is happening:
1. We call pthread_exit().
2. pthread_exit() calls pthread_cancel().
3. pthread_cancel tries to do some unwinding, and tries to run dlopen on
libgcc_s_so
4. dlopen fails, because of the sandbox. (Or because of the chroot?)
5. glibc calls __libc_fatal_message
6. glibc tries to call libc_fatal, which tries to open /dev/tty, and
triggers the sandbox.
I think our best bet for solving this will be to prevent the dlopen from
failing in step 4.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14759#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list