-
Notifications
You must be signed in to change notification settings - Fork 593
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
replicateUITextViewNSTextStorage crash. #280
Comments
I haven't seen this one, so this could come from some other unrelated code. If you have custom cells double check if they're being used in the background. If nothing works, just try disabling background sizing. |
@diegosanchezr Thanks. I will check this and let you know. But my method that crash happened don't have any differences from your implementation. |
@diegosanchezr When i change canCalculateSizeInBackground to false, сrash will no longer occur. |
It looks like you have some thread safety issue. Yes, observable is not thread safe, so be careful on how you use it - but the race could also happen in some other unrelated code and manifest there. Thread sanitizer might be useful here, but you would need Swift 3 IIRC. Unfortunately, I don't think I can help you more without a reproducer. |
@diegosanchezr Thanks, Then I will say later what the problem is, when correct and translate the project on swift 3. |
Hello. Sometime I have an crash in this method. I do not get to call her for testing, but it appears people are quite often. This is stacktrace from Crashlytics.
![2016-12-28 17 57 26](https://cloud.githubusercontent.com/assets/9257530/21524502/f9ac4f2a-cd2f-11e6-9117-d252ff03361b.png)
Xcode 8.2, swift 2.2
The text was updated successfully, but these errors were encountered: