-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
editingTransactionQueueBusy = YES, but _editingTransactionGroupCount = 0 #914
Comments
@hashemp206 I have an idea for how this is happening. Could you "bt all" if you can trigger this again? Specifically I need to see what the other threads are doing, to understand if it is possible that one of them has just decremented the Count variable but a block is still running. If you could also log out the values for Busy and Count at the time of the assert, that might be enough to create a theoretical fix. |
@appleguy I tried hard now to reproduce it but doesn't happen right now! I will try more |
@appleguy today it happened, accidentally one more time after application launch: |
@hashemp206 thanks again for reporting this. We found out that, ironically, this assertion was invalid even though the code was valid. That is to say, the assertion required transactional integrity between two bits of state (the atomic counter, and the queue), which is actually not required if only the counter is being referenced. So, all should be well if you update. |
I'm using latest version of Texture cloned from GitHub.
but occasionally I face this strange issue:
'NSInternalInconsistencyException', reason: 'editingTransactionQueueBusy = YES, but _editingTransactionGroupCount = 0 !'
any Idea whats going on?
The text was updated successfully, but these errors were encountered: