Skip to content

[BUG] RuntimeError: dictionary changed size during iteration when running Strix in TUI mode #141

@reza-seidgar

Description

@reza-seidgar

Hi,
While running a penetration test with Strix in TUI mode, the program crashes during the Dynamic Test phase with the following error:
RuntimeError: dictionary changed size during iteration

After this error, the TUI session closes automatically and the test is marked as interrupted. The session folder is created under ~/strix/agent_runs/, but it remains empty and no report file is generated.

How to reproduce:
Run a normal Strix test in TUI mode using any valid target.
Static Analysis completes successfully.
During the Dynamic phase, TUI crashes with the error above.

Expected behavior:
TUI should remain stable
The Dynamic Test should complete
Report files should be generated

Actual behavior:
TUI crashes
Session ends prematurely
No report file is produced

Environment:
Ubuntu 22.04
Python 3.12
Strix installed via pipx

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions