mgorny added a comment.

In the meantime, I found the root issue. It's in `PythonDataObjects.cpp`, 
`PythonFile::ConvertToFile(bool borrowed)`. The function unconditionally calls 
`flush()` on the fd. However, it's invalid to call `flush()` on stdin or — more 
generally — on file open only for reading. I'm going to submit a patch in a few 
minutes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68856/new/

https://reviews.llvm.org/D68856



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to