Skip to content

Crash when holding arrow up in the scripting console #7420

@bdash

Description

@bdash

Version and Platform (required):

  • Binary Ninja Version: 5.2.8294-dev
  • Edition: Non-commercial
  • OS: macOS
  • OS Version: macOS 26.0
  • CPU Architecture: arm64

Bug Description:
A user on Slack reported that they saw a crash while holding arrow up in the scripting console history completions.

Exception Type:    EXC_CRASH (SIGABRT)
Exception Codes:   0x0000000000000000, 0x0000000000000000

Termination Reason:  Namespace SIGNAL, Code 6, Abort trap: 6
Terminating Process: binaryninja [30331]


Application Specific Information:
abort() called


Thread 0 Crashed:
0   libsystem_kernel.dylib        	       0x19d9525b0 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x19d98c888 pthread_kill + 296
2   libsystem_c.dylib             	       0x19d892808 abort + 124
3   binaryninja                   	       0x104166cec 0x1040a4000 + 797932
4   libc++abi.dylib               	       0x19d93fc2c std::__terminate(void (*)()) + 16
5   libc++abi.dylib               	       0x19d943394 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 88
6   libc++abi.dylib               	       0x19d94333c __cxa_throw + 92
7   libbinaryninjaui.1.dylib      	       0x106bfd4d0 0x106b60000 + 644304
8   libbinaryninjaui.1.dylib      	       0x106bfd494 0x106b60000 + 644244
9   libbinaryninjaui.1.dylib      	       0x106e71bf0 ScriptingConsoleEdit::complete(QString) + 1316
10  libbinaryninjaui.1.dylib      	       0x106e7bb60 0x106b60000 + 3259232
11  QtCore                        	       0x1086214b0 void doActivate<false>(QObject*, int, void**) + 1404
12  libbinaryninjaui.1.dylib      	       0x106b7314c ScriptingCompletionPopup::complete(QString) + 52
13  libbinaryninjaui.1.dylib      	       0x106e71120 ScriptingCompletionPopup::handleKeyEvent(QKeyEvent*) + 788
14  libbinaryninjaui.1.dylib      	       0x106e720b8 ScriptingConsoleEdit::keyPressEvent(QKeyEvent*) + 408
15  QtWidgets                     	       0x1075a9c30 QWidget::event(QEvent*) + 1716
16  QtWidgets                     	       0x107628850 QFrame::event(QEvent*) + 52
17  QtWidgets                     	       0x10773914c QTextEdit::event(QEvent*) + 428

Full crash log is attached.

Steps To Reproduce:
Unknown

The user-provided crash log is attached (remove .txt extension to have macOS recognize it as such).

binaryninja-2025-09-22-043049.ips.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Impact: HighIssue adds or blocks important functionalityState: Awaiting TriageIssue is waiting for more in-depth triage from a developerUI: Python ConsoleIssues with the Python Console

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions