Skip to content

Bug31734 31614 035#1378

Open
teor2345 wants to merge 7 commits intotorproject:maint-0.3.5from
teor2345:bug31734_31614_035
Open

Bug31734 31614 035#1378
teor2345 wants to merge 7 commits intotorproject:maint-0.3.5from
teor2345:bug31734_31614_035

Conversation

@teor2345
Copy link
Contributor

No description provided.

Fixes bug 31614; bugfix on 0.2.5.2-alpha.
cb_buf_mutex is statically initialised, so we can not destroy it when
we are shutting down the err subsystem. If we destroy it, and then
re-initialise tor, all our backtraces will fail.

Part of 31736, but committed in this branch to avoid merge conflicts.
The log mutex is dynamically initialized, guarded by log_mutex_initialized.
We don't want to destroy it, because after it is destroyed, we won't see
any more logs.

If tor is re-initialized, log_mutex_initialized will still be 1. So we
won't trigger any undefined behaviour by trying to re-initialize the
log mutex.

Part of 31736, but committed in this branch to avoid merge conflicts.
Fixes bug 31734; bugfix on 0.2.5.3-alpha.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 6449

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-60.3%) to 0.0%

Totals Coverage Status
Change from base Build 6284: -60.3%
Covered Lines: 0
Relevant Lines: 0

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants