Skip to main content

Facebook 13.1 released for iOS, boasts crash rate reduction of over 50 percent

Facebook released version 13.1 of its iOS client today with a rather uninteresting change log noting that the app had received “bug fixes” and nothing more. However, over on Facebook’s engineering blog the company has outlined what exactly went into this fix, and it turns out the update contains a significant fix that will resolve over 50% of reported crashes.

According to the blog post, the issue arose from a file corruption error that appeared in iOS’s Core Data system:

Our file descriptor retention policy looked suspect. Although SPDY used the recommended CFSocket wrapper for our database, the SSL layer did not. The SSL layer instead handled a raw file descriptor and, consequently, lifetime handling was not automatically synchronized. The SPDY socket closed before the SSL and created a race window where writes would go to a file that was “lucky enough” to receive the same file descriptor as the recently closed socket.

If you’re interested in the nitty-gritty details on how the development team tracked down the bug, you can find a full breakdown on the Facebook engineering blog. As noted above, Facebook says that this update will resolve over half of the crashes that were being reported in the app.

You can grab the updated Facebook app for free on the iOS App Store.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications