cpp_client_telemetry icon indicating copy to clipboard operation
cpp_client_telemetry copied to clipboard

[iOS] crash on app kill on shutDownLogManager

Open Buster28 opened this issue 4 years ago • 2 comments
trafficstars

We have an iOS app where we are using oneds c++ sdk to send our telemetry events. Recently, we are getting a crash on ios device on app kill.

Below is the screenshot of the crash stack. Please let me know if any more informations needed from my side. MicrosoftTeams-image

Buster28 avatar Oct 19 '21 07:10 Buster28

Tagging this for v4, as this seems related to the use-after-free crash unless @eduardo-camacho and @kindbe feel otherwise.

lalitb avatar Oct 20 '21 16:10 lalitb

Had a discussion with Ayushi Kejriwal ( @Buster28 ? ) on this issue, 1DS C++ dependency is coming from the edge code used in their project. The crash is coming after moving to 92-edge release. There were initial crashes on SQLite DB which were fixed by skipping the shutdown of logmanagers. As the current shutdown is observed while killing the app even without log manager shutdown, this may not be related to the use-after-free issue for which v4 is planned. Also, 1DS SDK behavior is undefined if the app is killed without shutdown being called.

lalitb avatar Oct 20 '21 19:10 lalitb