-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OGG playback errors printed occasionally when stopping specific OGG file near the end in audio preview dialog #59348
Comments
There is no crash stack trace, I only see this printed:
|
@KoBeWi I can reproduce the "WARNING: Burning negative samples doesn't make sense. Check seek algorithm." with deterministic code ( |
If it doesn't involve user error (like wrong usage, corrupted file etc.) then it's a bug. |
I get the same warnings, Linux / Vulkan / AMD 6600x. It happens in my dynamic music system, where I seek on the next track to the position of the current playing one before cross-fading (Tween). There is no noticeable effects other than the warning being printed, the audio transitions smoothly and in sync. All tracks are of exactly equal length when exported, but I can't be sure that there aren't discrepancies anyway in how the audio is handled. var t = get_track(current_track)
var sp = t.get_playback_position()
var nt = get_track(next)
nt.play()
nt.seek(sp)
last_track = current_track
reset_tweens()
fade_tween_current.tween_property(tracks[current_track], "volume", -80.0, crossfade_time)
fade_tween_next.tween_property(tracks[next], "volume", 0.0, crossfade_time)
current_track = next
$StopTimer.start(crossfade_time) # stop() on the last track on timeout |
I can't reproduce this issue in 4.0 beta 13. Can you confirm that it's fixed? |
Can't reproduce either. OGGs got new import dialog, so this could've fixed it. |
Can reproduce it on v4.0.beta13.official [caacade]: 2023-01-20.12-15-59.mp4 |
Sorry for the false warning, this crash has indeed been fixed in master. Apparently, the fix didn't make it into beta13. From now on, I will try to check first on the latest dev builds. By the way, in master, errors still appear in the console. But the editor no longer crashes.
|
The I couldn't reproduce the crash with 4.0 beta 13 when testing a dozen times, but today I managed to trigger it after another dozen attempts. So I'm not sure this one specifically is about the OGG file being corrupted (unlike #67446), so let's keep it open to investigate why these errors come up in a seemingly random way. |
Can confirm warnings on Godot 4.1.1 on Ubuntu 20.04
Will be fixed, if PR #80452 is merged (tested it couple dozen times). |
Godot version
v4.0.beta8.official (45cac42), v4.0.beta.custom_build (62a5082)
System information
Windows 11, Forward+, GeForce GTX 1660 (527.56)
Issue description
When you
stoppause an audio file near the end, Godot crashes.console output
Steps to reproduce
2022-03-20.14-29-27.mp4
Minimal reproduction project
StopSoudCrashTest_G4.zip
The text was updated successfully, but these errors were encountered: