Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SDL App Crash #2112

Closed
rbrigh25 opened this issue Oct 5, 2022 · 2 comments · Fixed by #2113 or #2117
Closed

SDL App Crash #2112

rbrigh25 opened this issue Oct 5, 2022 · 2 comments · Fixed by #2113 or #2117
Assignees
Labels
bug A defect in the library transport-iap Relating to the primary IAP transport

Comments

@rbrigh25
Copy link

rbrigh25 commented Oct 5, 2022

Bug Summary

Hundreds of crashes have been reported by devices. It is unclear what steps are producing the crash beyond connecting to a vehicle.

Device Details:
62% iOS 15 and 36% iOS 16
100% background

The stack trace from crashlytics has been attached.

There was a previous crash also with this version of SDL but it is unclear of the two crashes are related.
Previously a crash was seen due to SDL Assertions where it returned the following message. This was fixed by disabling assertions int he log build.
SDL ASSERTION: Retrieving object from store error: Requested NSArray but returned NSTaggedPointerString, for object key: "speechCapabilities"

Reproduction Steps

  1. Connect device with LiveOne on a Ford vehicle.

Expected Behavior: App should not crash

Observed Behavior: App crashes

iOS Version(s)

15.6.1

sdl_ios Version

7.5.0

Testing Environment(s)

FORD ESCAPE SYNC 3.0.20204_PRODUCT

Relevant log output

Fatal Exception: NSRangeException
*** -[NSConcreteMutableData replaceBytesInRange:withBytes:length:]: range {0, 8180} exceeds data length 43

Fatal Exception: NSRangeException
0  CoreFoundation                 0x99288 __exceptionPreprocess
1  libobjc.A.dylib                0x16744 objc_exception_throw
2  Foundation                     0x8825c allocateStorageWithSentinel
3  Slacker                        0x5dfd50 -[SDLIAPSession write:length:withCompletionHandler:] + 64 (SDLIAPSession.m:64)
4  Slacker                        0x5df148 -[SDLIAPDataSession writeDataToSessionStream] + 57 (SDLIAPDataSession.m:57)
5  Slacker                        0x5e0868 -[SDLIAPSession sdl_streamHasSpaceToWrite] + 222 (SDLIAPSession.m:222)
6  Slacker                        0x5e0660 -[SDLIAPSession stream:handleEvent:] + 170 (SDLIAPSession.m:170)
7  ExternalAccessory              0xa3a8 -[EAOutputStream _streamEventTrigger]
8  CoreFoundation                 0x11ff14 __CFSocketPerformV0
9  CoreFoundation                 0xbb414 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
10 CoreFoundation                 0xcc1a0 __CFRunLoopDoSource0
11 CoreFoundation                 0x5694 __CFRunLoopDoSources0
12 CoreFoundation                 0xb05c __CFRunLoopRun
13 CoreFoundation                 0x1ebc8 CFRunLoopRunSpecific
14 Foundation                     0x19444 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
15 Slacker                        0x5e0588 -[SDLIAPSession sdl_startStreamRunLoop] + 142 (SDLIAPSession.m:142)
16 libdispatch.dylib              0x1e6c _dispatch_call_block_and_release
17 libdispatch.dylib              0x3a30 _dispatch_client_callout
18 libdispatch.dylib              0xb124 _dispatch_lane_serial_drain
19 libdispatch.dylib              0xbc80 _dispatch_lane_invoke
20 libdispatch.dylib              0x16500 _dispatch_workloop_worker_thread
21 libsystem_pthread.dylib        0x10bc _pthread_wqthread
22 libsystem_pthread.dylib        0xe5c start_wqthread
@rbrigh25 rbrigh25 added bug A defect in the library needs triage An issue that has not yet been triaged labels Oct 5, 2022
@jshivabeharry jshivabeharry added the transport-iap Relating to the primary IAP transport label Oct 12, 2022
@jshivabeharry jshivabeharry self-assigned this Oct 12, 2022
@theresalech theresalech removed the needs triage An issue that has not yet been triaged label Oct 12, 2022
@tstrayer tstrayer mentioned this issue Oct 25, 2022
1 task
@joeygrover
Copy link
Member

Reopened with report from #2116

@joeygrover joeygrover reopened this Nov 4, 2022
@rbrigh25
Copy link
Author

Any update on this issue or advice on how to test it?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug A defect in the library transport-iap Relating to the primary IAP transport
Projects
None yet
4 participants