-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
DEBUG ASSERT Beats::iteratorFrom #10626
Comments
Commented by: daschuer In the assertion case *it = 32170 |
Commented by: uklotzde Just happened once while pre-listening some tracks. Probably right after loading and trying to play a track. Forget to inspect the actual values.
|
Did this happen again? |
I also tried reproducing this some time ago and I couldn't but judging from the initial posts the issue is sporadic by nature... |
It has just happen again with the current 2.4 branch:
|
Since the failing assert I have been looking at the code to try to understand how it could ever occur that Now, I have never been able to reproduce this myself... Also I wonder, is this really a "party stopper"? What happens if you continue despite this condition not holding true? |
@daschuer do you have a way to reproduce this? Can you try with the additional asserts? In any case, those additional asserts make sense so I propose to merge the PR anyway. |
I have not yet found a pattern to reproduce it. I can try. |
Hopefully the added asserts will give us a bit more info. I find this code quite obscure, particularly the min int and max int trickery in the ConstIterator and the confusing use of an iterator inside the ConstIterator. |
I just had the new assert on a 2.5 build on Windows11:
|
Is this a situation where we can add a fallback behavior to avoid the assert, just for 2.4 so we can unblock the release? I have not seen any discussion that this is causing problems with playback/performance in release mode |
It seems the real fix is: #13150 |
Reported by: daschuer
Date: 2021-12-28T22:42:28Z
Status: New
Importance: Critical
Launchpad Issue: lp1955929
I have just experienced Debug Assert violation in current main branch.
This happens after pressing play with a loaded Track, called from
Beats::findPrevNextBeats
The text was updated successfully, but these errors were encountered: