smartdevicelink / sdl_ios

Get your app connected to the 🚙, make your users feel like a 🌟
www.smartdevicelink.com
BSD 3-Clause "New" or "Revised" License
169 stars 105 forks source link

ExternalAccessory:-[EASession _endStreams] crash on our app. #1893

Open 84798012 opened 3 years ago

84798012 commented 3 years ago

Bug Report

[Summary] We recieved crash report from apple organizer.

Reproduction Steps

I'm not sure when cause this crash, but received from apple report. Screen Shot 2021-01-19 at 4 50 18 PM

Expected Behavior

No crash.

Observed Behavior

Have crash.

OS & Version Information
NicoleYarroch commented 3 years ago

@84798012 Is this issue related to bug report #1892? Have you been able to reproduce this while testing? This crash log does not provide much information to reproduce so it would be difficult for us to find the bug or figure out if we fixed the issue.

Could you provide some more information to help us with our debugging:

  1. Does this happen on certain models of iPhones or all models?
  2. If you are able to reproduce, when does the crash occur (i.e. when the SDL app is connected, when a disconnection is made, when the app on the phone is backgrounded, etc.)?
  3. If you are able to reproduce, does this happen over a Bluetooth or USB connection?
  4. Can you provide a crash log?
84798012 commented 3 years ago

@84798012 Is this issue related to bug report #1892? Have you been able to reproduce this while testing? This crash log does not provide much information to reproduce so it would be difficult for us to find the bug or figure out if we fixed the issue.

Could you provide some more information to help us with our debugging:

  1. Does this happen on certain models of iPhones or all models?
  2. If you are able to reproduce, when does the crash occur (i.e. when the SDL app is connected, when a disconnection is made, when the app on the phone is backgrounded, etc.)?
  3. If you are able to reproduce, does this happen over a Bluetooth or USB connection?
  4. Can you provide a crash log?
  1. All models.
  2. I'm not sure how to reproduce it.
  3. Attached log. SDLCrashIssue2.txt
jordynmackool commented 3 years ago

Pull request #1910 notes it should resolve this issue.

theresalech commented 3 years ago

Reopening based on #2009. @84798012, please provide more details, logs, and/or reproduction steps for your experience with this issue on iOS 7.1.1.

theresalech commented 3 years ago

@84798012, can you please retest using iOS 7.2 and advise if you are still experiencing the issue? Thank you!

theresalech commented 3 years ago

Closing as inactive. Reporter can advise if issue is still present in iOS 7.2, and we can reopen if needed.

84798012 commented 3 years ago

Hi, theesalech. This issue is reported by Apple's crash report from our product, not from myself. I'm sorry that I not sure what happens on our customers. Here I attached is all what I got. And it seems that your team have fixed this issue before, but in new version SDL, this issue not be fixed. So we still need your help to check the root cause of this issue. This crash issue have become the mostly crash module in our app. If you close this issue, we can not fix the issue from myside and I can not explain it.

theresalech commented 3 years ago

Hi @84798012 , can you please confirm that you have updated your app to use SDL iOS 7.2.0?

If you are still getting the crash report when using SDL iOS 7.2.0, we will need more details in order to work on finding the root cause. Please provide recent crash logs from the crash when using version 7.2.0, and any other details of the issue. You should be able to leave an additional comment on this closed issue with that information. We can then re-open the issue to investigate further. Thank you!

84798012 commented 3 years ago

Sorry theesalech, I can not use SDL 7.2.0 now. Because we have informed this issue been fixed in 7.1.0, and we have upgrade to 7.1.0. It caused more crash reports from apple, so we had to rollback to 7.0.0. I'm afraid that if upgrade to 7.2.0, this issue still not been fix. Our manager can not accept so many crash in our app, so please double confirm if this issue really been fixed. And are you sure you have make new fix in 7.2.0 ?

joeljfischer commented 3 years ago

Hi @84798012, we cannot reproduce this issue, so our fixes are at best just trying something that we think might fix it. Were the crash reports on v7.1.0 different than the ones from v7.0.0?

We must continue to request recent full crash logs, SDL file logs if you can enable them, and any other details (such as information from your own analytics of when this crash occurs).

theresalech commented 3 years ago

Hi @84798012 , we're following up here to see if you're able to provide any additional details of your issues that would help in our investigation. Please advise if you have crash logs, SDL file logs, etc. that can be shared. Thank you!

cmckee16 commented 3 years ago

Attaching logs as requested. Issue reoccurring once the partner updated to 7.2 crash-v7.2.zip as mentioned in the SAR meeting

jordynmackool commented 3 years ago

Hi @cmckee16, Thanks for providing the logs. Can you please share the reproductions steps used to obtain the "Issue 1" logs so our team is able to investigate? After review of the logs it looks like the 2-5 logs may be for different issues and not for issue 1893; if that is not the case please also provide reproduction steps for those issues as well. Thanks!

84798012 commented 3 years ago

Hi @cmckee16, Thanks for providing the logs. Can you please share the reproductions steps used to obtain the "Issue 1" logs so our team is able to investigate? After review of the logs it looks like the 2-5 logs may be for different issues and not for issue 1893; if that is not the case please also provide reproduction steps for those issues as well. Thanks!

Sorry, Jordyn, I can not provide how to reproduce steps. All the crash report are from Apple's crash report.

theresalech commented 3 years ago

Hi @cmckee16 and @84798012, the attached crash report does not have any mention of SmartDeviceLink, and therefore unfortunately does not provide much insight into the issue, making it difficult for Livio to assist in identifying/resolving the problem. The following (in priority order) would be most helpful for continuing the investigation. Thank you!

  1. Reproduction steps
  2. Debug or verbose logs
  3. Warning or error logs
  4. Additional crash reports