-
-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Work In Progress issue as I collect more information about the bug and issue.
Thank you for reporting a bug! To help us understand and fix the issue, please provide the following information:
Requirements:
- [✔] I have searched the existing issues to ensure this bug has not already been reported.
- [✔] I have provided a clear and concise description of the bug.
- [❌] I have provided detailed steps to reproduce the bug. (NEEDS WORK!)
- [❌] I have included a minimal reproducible example (MRE) if applicable. (NEEDS WORK!)
- [✔] I have provided error messages and stack traces if applicable.
- [✔] I have completed the environment information.
1. Describe the Bug
Mini Audio Backend has been observed to terminate the process by reading or writing invalid memory.
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Array.GetLowerBound(Int32)
at SoundFlow.Abstracts.SoundComponent.Process(System.Span`1)
at SoundFlow.Components.Mixer.GenerateAudio(System.Span`1)
at SoundFlow.Abstracts.SoundComponent.Process(System.Span`1)
at SoundFlow.Abstracts.AudioEngine.ProcessGraph(IntPtr, Int32)
at SoundFlow.Backends.MiniAudio.MiniAudioEngine.AudioCallback(IntPtr, IntPtr, IntPtr, UInt32)
2. Steps to Reproduce
Not yet available, issue is intermittent!
3. Expected Behavior
Not to crash.
4. Current Behavior
Crashes.
5. Minimal Reproducible Example (MRE)
Unable to produce minimal example -- the issue is temperamental, and I am working on reproducing it.
6. Error Messages and Stack Trace (if applicable)
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Array.GetLowerBound(Int32)
at SoundFlow.Abstracts.SoundComponent.Process(System.Span`1<Single>)
at SoundFlow.Components.Mixer.GenerateAudio(System.Span`1<Single>)
at SoundFlow.Abstracts.SoundComponent.Process(System.Span`1<Single>)
at SoundFlow.Abstracts.AudioEngine.ProcessGraph(IntPtr, Int32)
at SoundFlow.Backends.MiniAudio.MiniAudioEngine.AudioCallback(IntPtr, IntPtr, IntPtr, UInt32)
7. Environment (please complete the following information):
- SoundFlow Version: 1.0.4 from Nuget
- .NET Version: net9.0
- Operating System: Windows 10 Build 19045.5854
- Architecture: AMD64
- Audio Backend Used (if known): MiniAudio
- Specific Audio Hardware (if relevant): N/A
8. Affected Components/Modules (if known)
List any specific SoundFlow components, modifiers, providers, or extensions you believe are related to this bug.
- MiniAudio, SpectrumAnalyzer (possibly)
9. Impact
Uncatchable Crash
10. Possible Workaround (if known)
None
11. Additional Context
Intermittent issue, unable to capture minimal reproduction.
Metadata
Metadata
Assignees
Labels
Projects
Status