We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bec80f commit 3497a66Copy full SHA for 3497a66
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
@@ -539,8 +539,10 @@ bool SymbolizerProcess::Restart() {
539
CloseFile(input_fd_);
540
if (output_fd_ != kInvalidFd)
541
CloseFile(output_fd_);
542
- if (child_stdin_fd_ != kInvalidFd)
543
- CloseFile(output_fd_);
+ if (child_stdin_fd_ != kInvalidFd) {
+ CloseFile(child_stdin_fd_);
544
+ child_stdin_fd_ = kInvalidFd; // Don't free in destructor
545
+ }
546
return StartSymbolizerSubprocess();
547
}
548
0 commit comments