Picture of tsn
Registered 5 years 49 days
tsn Friday, 25 September 2020, 08:40 AM
Unexpected app crash
Hi guys,

From time to time I see a crash inside TLSSocket destructor. Please find stacktrace attached. Could you please check and let me know if this is because of some issue with my application or this is a bug in SDK?

Best regards,
Sergey
stacktrace.txt
Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 235 days
Daniel Deterding (innovaphone) Friday, 25 September 2020, 08:59 AM
Re: Unexpected app crash
Hi Sergey,

it crashes, when the TLS socket is deleted inside an HTTPClient instance.
I would advise to check, that your http client instances are not deleted too early.
One situation could be, that you delete an HTTPClient instance although you haven't received an HTTPClientShutdown callback yet.

You may add some logs to your code to investigate the async callflow.

Greetings,
Daniel
Picture of tsn
Registered 5 years 49 days
tsn Friday, 25 September 2020, 09:03 AM
Re: Unexpected app crash
Hi Daniel,

Thank you, I will check and write back.
← You can define your color theme preference here