All Apps and Add-ons

Random crashes in iOS application which is integrated with Spunk Mint

aparnabhat
New Member

We have integrated Spunk Mint framework into our iOS application and logging the events using Splunk. We are getting random SIGSEGV crashes which are happening inside the Splunk framework as below:

SPLJSONModel toJSONDataWithKeys:
SPLJSONModel toJSONStringWithKeys:
UnhandledCrashExtra saveUnhandledCrashExtra

Splunk SDK version: SplunkMint (5.2.0)
iOS version: 10.3.2
Language used: Swift

As per the Spunk doc http://docs.splunk.com/Documentation/MintIOSSDK/latest/DevGuide/FixedIssues, similar crash has been fixed in the sdk v5.2.0. But we are getting similar crash in the latest SDK.

Tags (2)
0 Karma

croyal_splunk
Splunk Employee
Splunk Employee

Hi - we were unable to reproduce this issue. Are you able to reproduce?

If so, please send us a code snippet to mobilesupport@splunk.com so we can further investigate. Thanks

0 Karma

aparnabhat
New Member

We are not able to reproduce it consistently. It would be great if you can help us to know the possible reasons for this kind of crash so that we can analyze our code.

0 Karma

croyal_splunk
Splunk Employee
Splunk Employee

SIGSEVG crashes can be seen when using weak reference to a delegate object. See Apple documentation for weak reference.

0 Karma

aparnabhat
New Member

But crash is happening inside SPLJSONModel as per the crash report.

0 Karma

croyal_splunk
Splunk Employee
Splunk Employee

Will you send a link to the crash at mint.splunk.com to mobilesupport@splunk.com?

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...