aboutsummaryrefslogtreecommitdiff
path: root/changes/bug31571
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-08-30 21:17:56 +1000
committerteor <teor@torproject.org>2019-08-30 21:51:11 +1000
commitc55591825fedb0fe1db92fab7b654ccc15ad50d3 (patch)
tree10d905ea899aff0e4cfad56c2ca4da2a6c3d7050 /changes/bug31571
parent65a1d86491d56c77048d01e0b4fc6b933a13795c (diff)
downloadtor-c55591825fedb0fe1db92fab7b654ccc15ad50d3.tar.gz
tor-c55591825fedb0fe1db92fab7b654ccc15ad50d3.zip
torerr: Try harder to flush raw assert messages before process termination
Some platforms (macOS, maybe others?) can swallow the last write before an abort. This issue is probably caused by a race condition between write buffer cache flushing, and process termination. So we write an extra newline, to make sure that the message always gets through. Fixes bug 31571; bugfix on 0.3.5.1-alpha.
Diffstat (limited to 'changes/bug31571')
-rw-r--r--changes/bug315717
1 files changed, 7 insertions, 0 deletions
diff --git a/changes/bug31571 b/changes/bug31571
new file mode 100644
index 0000000000..86de3537ba
--- /dev/null
+++ b/changes/bug31571
@@ -0,0 +1,7 @@
+ o Minor bugfixes (error handling):
+ - Report the tor version whenever an assertion fails. Previously, we only
+ reported the Tor version on some crashes, and some non-fatal assertions.
+ Fixes bug 31571; bugfix on 0.3.5.1-alpha.
+ - On abort, try harder to flush the output buffers of log messages. On
+ some platforms (macOS), log messages can be discarded when the process
+ terminates. Fixes bug 31571; bugfix on 0.3.5.1-alpha.