-
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
[ASDataController] Crash due to new assert in #797 #878
Comments
same problem |
I'm experiencing the same problem |
I had this happen sporadically just by adding an ASDisplayNode that wraps a WKWebView. If I remove that node I never get the exception. |
I have same issue #914 |
Hey all, thanks for reporting this. I just came across a notification for this issue from Huy reassigning it. I'll see if an engineer from my team may be able to take a look in the next week. If anyone is able to make this trigger in one of the example projects (like adding a timer-triggered refresh call to ASDKgram, or modifying ASCollectionViewExample), that would certainly be helpful in order to confirm the fix. The app I'm most focused on right now has unfortunately not hit a report of this issue yet, so verifying it will be the most important part. |
Hi @appleguy Thanks for the reply. Unfortunately I don't have much more to share. I've reproduced the problem multiple times in my app, but it does not always occur, and I can't find a way to trigger it with certainty. Here's a more detailed stack trace: If there's anything I can try on my codebase that you can think of and that would make debugging easier, I'd be happy to experiment further more. Cheers, |
@flovouin 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. |
Thanks for the follow up! This makes sense and I probably should have seen this... oh well. |
Hi guys,
I tried using
master
(2a0c6f
) with my app, but I have a crash that sometimes occurs when updating collection nodes. It is a relatively complex setup and unfortunately I don't have a sample project for it.I tracked down the bug to PR #797, which introduces a new assert in the
ASDataController
here. In some cases,editingTransactionQueueBusy
isYES
and_editingTransactionGroupCount
is0
, which causes the assert to fail. See the trace below.I know this is not much to work on, please tell me if there's anything else I can do to investigate.
Cheers,
Flo
The text was updated successfully, but these errors were encountered: