App suddenly crashing on startup in production due to FBSDKRestrictiveDataFilterManager.m

· GitHub ·

2 min read Original article ↗

Checklist

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

Production. Facebook SDK 5.0.2.

Goals

What do you want to achieve?

My company's app to not crash in production.

Expected Results

What do you expect to happen?

My app to work properly in production.

Actual Results

What actually happened? Can you provide a stack trace?

The app crashes on open, because of Facebook's SDK, starting at 10:53PM PST. Seems to be happening for 100% of users. 1400 crashes in the last 16 minutes.

FBSDKRestrictiveDataFilterManager.m - Line 108
+[FBSDKRestrictiveDataFilterManager updateFilters:restrictiveParams:] + 108

Steps to Reproduce

What are the steps necessary to reproduce this issue?

Open our app, Pray.com.

Reacted by Agam Mahajan, iOSQpony, Ethan Huang, sekitaka, Martin Jobbagy, Anton Dolzhenko, PrLion, Thomas Le Gravier, Jeremy Stucki, Daniel Erne and 359 more

Reacted by Marius Landwehr, Cüneyt Çarıkçi, Carmelo Gallo, Pablo, Pavel, Vincent Lee, Carsten Hagemann, Rafael Turk, Alan-Liang, Victor Stewart and 1 more

Reacted by Marko Tasic, Henrikas Kuzmickas, Vish, merterden98, Sava Virtosu, Tim Oliver, Teemu Lintula, Paul Tötterman, Hayden Woods, Adam Hutchinson and 66 more

Reacted by mr.The, Ryan Bourne, Matej Kokosinek, Svitlana Bondar, Cüneyt Çarıkçi, Petriko Vladimir, Tim Oliver, Pavel, Vincent Lee, Carolyne Carreira and 7 more

Reacted by PrLion, Ivan Vavilov, eka-putra , Jim Wang, Ferico Samuel, Wendy Liga, Samuel Edwin, Muhammad Faris Ghanianto, Simon Lee, SuryaKantSh and 55 more

Reacted by Robin Wohlers-Reichel, apantina-zz, Niyazi Tanyeri, Tim Oliver, Pavel, Vincent Lee, Alessandro Nazzari, Jeremy Arnold, Samarth Mediratta, Ryan and 5 more

Reacted by Bilal Bşş, Oleg Marchik, Ryan Bourne, Svitlana Bondar, Damiano Mondardo, Cüneyt Çarıkçi, Aleksi Huotala, Petriko Vladimir, Kailan Blanks, Emir Bostan and 12 more

Reacted by Denys Meloshyn, SuryaKantSh, YouXianMing, Joakim Berglund, Ralph Hilger, Enes Kaya, josephlouis, Mustafa Akın, Damiano Mondardo, Breahna Constantin and 50 more