mirror repository of the tor core protocol in case of issues
Go to file
Nick Mathewson 9d11827780 Fix a rare infinite-recursion bug when shutting down.
Once we had called log_free_all(), anything that tried to log a
message (like a failed tor_assert()) would fail like this:

   1. The logging call eventually invokes the _log() function.
   2. _log() calls tor_mutex_lock(log_mutex).
   3. tor_mutex_lock(m) calls tor_assert(m).
   4. Since we freed the log_mutex, tor_assert() fails, and tries to
      log its failure.
   5. GOTO 1.

Now we allocate the mutex statically, and never destroy it on
shutdown.

Bugfix on 0.2.0.16-alpha, which introduced the log mutex.

This bug was found by Matt Edman.
2009-08-20 11:55:33 -04:00
contrib update fetch-all with dir auth 2009-08-13 21:13:09 -04:00
debian Mention that this closes #538960 in the changelog 2009-07-29 12:49:52 +02:00
doc Make configuration of hidden services with authorization somewhat clearer. 2009-08-01 11:36:51 +02:00
src Fix a rare infinite-recursion bug when shutting down. 2009-08-20 11:55:33 -04:00
Win32Build r8906@Kushana: nickm | 2006-09-21 21:23:22 -0400 2006-09-22 01:23:28 +00:00
.gitignore Add *.swp to .gitignore as vim's editor dropping. 2009-05-27 12:10:37 -04:00
acinclude.m4 r17853@tombo: nickm | 2008-08-22 12:55:00 -0400 2008-08-22 16:55:28 +00:00
AUTHORS r16997@catbus: nickm | 2007-12-06 18:56:33 -0500 2007-12-06 23:56:36 +00:00
autogen.sh r14641@catbus: nickm | 2007-08-17 17:53:14 -0400 2007-08-17 21:55:24 +00:00
ChangeLog Fix a rare infinite-recursion bug when shutting down. 2009-08-20 11:55:33 -04:00
configure.in bump to 0.2.1.19 2009-07-28 17:39:51 -04:00
Doxyfile.in Doxygen whines bitterly unless I let it update the configfile 2007-10-15 19:05:20 +00:00
INSTALL we changed autogen.sh's behavior, so update the INSTALL file 2008-01-23 19:08:53 +00:00
LICENSE Update the year for the copyright statement in two more files 2009-06-30 10:35:10 -04:00
Makefile.am make phobos's lines start with tabs again 2009-07-24 17:15:14 -04:00
README update the (not very useful) readme 2008-12-07 23:41:10 +00:00
ReleaseNotes credit optimist for the bug 1038 diagnosis 2009-07-28 20:44:51 -04:00
tor.spec.in update requirements to openssl 0.9.7 2009-06-08 10:30:13 -04:00

Tor protects your privacy on the internet by hiding the connection
between your Internet address and the services you use. We believe Tor
is reasonably secure, but please ensure you read the instructions and
configure it properly.

To build Tor from source:
        ./configure; make; make install

Home page:
        https://www.torproject.org/

Download new versions:
        https://www.torproject.org/download.html

Documentation, including links to installation and setup instructions:
        https://www.torproject.org/documentation.html

Making applications work with Tor:
        https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO

Frequently Asked Questions:
        https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ