Skip to content

Infinity loop in spcProcessStream #226

Open
@daniel-starke

Description

@daniel-starke

I experience sporadic infinity loops in spcProcessStream using pvsneslib c414bcd.
The issue occurs in snesmodwla.asm line 1136 and 1209 when it waits for the write to the audio IO to complete.
I have also experience this issue in 862adbf for snesmodwla.asm line 1209.

The issue occurs for Bomb'n'Break when built with audio support (make HAS_BGM=1 HAS_SFX=1).
Please find attached here a version with the audio files from pvsneslib: audio-files.zip, binaries.zip

Changing the audio files does not make any difference.

Here is a screenshot of an error case taken with BSNES plus 05 x64:
bug-snesmodwla asm-line1209-c414bcd9
The loop does not complete.

The issue could also be observed in snes9x 1.62.3.

Any advice on how to analyze this issue is highly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions