Skip to content

Helios crash in ViewFrame::updateStackView() #7240

@pjcreath

Description

@pjcreath

Version and Platform (required):

  • Binary Ninja Version: 5.2.8085-dev
  • Edition: Non-Commercial
  • OS: macOS
  • OS Version: 15
  • CPU Architecture: x64

Bug Description:
BN crashes whenever I try to use Tanto!

Steps To Reproduce:

  1. Open the uploaded database (see below).
  2. Go to 1000394d8.
  3. Go to Tanto view.
  4. Click "Create New Slice..."
  5. Give it a name like "basic", leaving the slice type as the default Basic Block Slice.
  6. Hmm...I don't see any blocks to right-click. Edit: It turns out this is due to being in Linear view.
  7. Go to Linear view.
  8. Right click on the expression at 1000394d8. Hmm...no Tanto submenu, thus no option to "Include Block in Slice...". Edit: This also is due to being in Linear view.
  9. Bring up the command palette and type "slice".
  10. Select Tanto - Include Block in Slice.
  11. Some stuff seems to update in the cross-references pane, but nothing else.
  12. Switch to Tanto view.
  13. Poof!

Expected Behavior:
I expected BN not to crash. See the first few comments for additional scenarios (including an actual slice!) that cause crashing, all with the same underlying culprit.

Screenshots/Video Recording:
n/a

Binary:
Sample database used above in zodiac magic falls perfectly. The issue is probably general, though.
Stack trace available in system tale begins digitally.

Additional Information:
Tanto Version: 2.0.1 (updated 2025-04-17)

Metadata

Metadata

Assignees

Labels

Component: UIIssue needs changes to the user interfaceEffort: TrivialIssues require < 1 day of workUI: StackIssues with the Stack widget

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions