[Lldb-commits] [PATCH] D146590: [lldb] Update some uses of Python2 API in typemaps.

Jordan Rupprecht via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 21 19:12:08 PDT 2023


rupprecht added a comment.

In D146590#4211763 <https://reviews.llvm.org/D146590#4211763>, @bulbazord wrote:

>> `lldb -o "script data=lldb.SBData(); data.SetDataFromUInt64Array([2**63])"`
>
> Just tried this, didn't crash LLDB but it does give me the OverflowError you mentioned.

Here's what the crash looks like for me:

  $ bin/lldb -o "script data=lldb.SBData(); data.SetDataFromUInt64Array([2**63])"
  (lldb) script data=lldb.SBData(); data.SetDataFromUInt64Array([2**63])
  free(): double free detected in tcache 2
  LLDB diagnostics will be written to /tmp/diagnostics-98b663
  Please include the directory content when filing a bug report
  Aborted


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146590



More information about the lldb-commits mailing list