Skip to content

[BUG] "bxt_cap_skip_non_gameplay_frames 1" crashes when demo(s) enqueued for playback #93

Description

@sykesjd

Bug found with latest bxt-rs-Windows-release artifact built off master

Reproduction steps:

  1. Start game with bxt-rs injected (game itself doesn't appear to matter - originally found with GMC, but reproduced the issue in HL as well).
  2. Execute command bxt_cap_skip_non_gameplay_frames 1.
  3. Enqueue demo(s) for playback, either via playdemo or via bxt_play_run/bxt_play_folder.

Game crashes after freezing briefly on an ostensible OOB frame from the demo.

Same crash can be reproduced via bxt_play_run/bxt_play_folder then bxt_cap_skip_non_gameplay_frames 1 during demo playback, but not via playdemo on a single demo then bxt_cap_skip_non_gameplay_frames 1 while it plays back, indicating the issue is with demos being queued to play rather than demos playing outright.

Note that bxt_cap_start does not need to be executed in order to reproduce the crash.

When using bxt_play_run/bxt_play_folder, bxt-rs.log shows DEBUG lines for demos being queued for playback, but nothing after that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions