Skip to content

Conversation

@V10lator
Copy link

@V10lator V10lator commented May 6, 2020

Without this fix that happens:

======================== ASAN: out-of-bounds load
Source: 0x0D0254D8: homebrew_launcher|_ZN12SoundDecoder6DecodeEv
Bad load was on address 0x10CEE778. Guessing possible issues:
Guess     Chunk      ChunkSz    Dist       ChunkOwner
Overflow  0x10CEA760 0x00004000 0x00000018 homebrew_launcher|_ZN12BufferCircle6ResizeEi
Underflow 0x10CEE780 0x00004000 0xFFFFBFF8 homebrew_launcher|_ZN12BufferCircle6ResizeEi

With this fix playing a mono stream still produces clipping but without the fix it's completely garbled.

Without this fix that happens:

======================== ASAN: out-of-bounds load
Source: 0x0D0254D8: homebrew_launcher|_ZN12SoundDecoder6DecodeEv
Bad load was on address 0x10CEE778. Guessing possible issues:
Guess     Chunk      ChunkSz    Dist       ChunkOwner
Overflow  0x10CEA760 0x00004000 0x00000018 homebrew_launcher|_ZN12BufferCircle6ResizeEi
Underflow 0x10CEE780 0x00004000 0xFFFFBFF8 homebrew_launcher|_ZN12BufferCircle6ResizeEi

With this fix playing a mono stream still produces clipping but without the fix it's completely garbled.

Signed-off-by: Thomas Rohloff <v10lator@myway.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant