lawrence_danna added a comment.

In D68737#1722181 <https://reviews.llvm.org/D68737#1722181>, @mgorny wrote:

> Well, I found another problem with these series, specifically starting at 
> this commit. Any use of `script` in LLDB ends up with:
>
>   (lldb) script True
>   True
>   close failed in file object destructor:
>   IOError: [Errno 9] Bad file descriptor
>
>
> I'd suspect the same fd is using in more than one file but that's only a 
> guess.
>
> The curious part is that I've tried `ktruss`-ing the process and I don't see 
> any failed `close()` syscalls.


I just tested it on commit ef7a154d17f2e38ba3c8bfa33f240b60464e4cc7 
<https://reviews.llvm.org/rGef7a154d17f2e38ba3c8bfa33f240b60464e4cc7> (from 
Thurday), on 8.1_STABLE, And I don't see that happening.

  netbsd# ./bin/lldb
  (lldb) script True
  True
  (lldb) exit


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68737



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

Reply via email to