smartdevicelink/sdl_ios

Fatal Exception: NSRangeException

rbrigh25 opened this issue · 1 comments

Bug Summary

Same issue as #2112 is still occurring in SDLv7.6.0.

Reproduction Steps

Connect device with LiveOne(v8.36.10) on a Ford vehicle.

iOS Version(s)

16.1

sdl_ios Version

7.6.0

Testing Environment(s)

FORD ESCAPE SYNC 3.0.20204_PRODUCT

Relevant log output

Fatal Exception: NSRangeException
*** -[NSConcreteMutableData replaceBytesInRange:withBytes:length:]: range {0, 65536} exceeds data length 65483
keyboard_arrow_up
Fatal Exception: NSRangeException
0  CoreFoundation                 0x99288 __exceptionPreprocess
1  libobjc.A.dylib                0x16744 objc_exception_throw
2  Foundation                     0x8825c allocateStorageWithSentinel
3  Slacker                        0x5e48f8 -[SDLIAPSession write:length:withCompletionHandler:] + 64 (SDLIAPSession.m:64)
4  Slacker                        0x5e3b94 -[SDLIAPDataSession writeDataToSessionStream] + 57 (SDLIAPDataSession.m:57)
5  Slacker                        0x5e6504 -[SDLIAPTransport sendData:] + 213 (SDLIAPTransport.m:213)
6  Slacker                        0x6186f0 -[SDLProtocol sdl_sendDataToTransport:onService:] + 443 (SDLProtocol.m:443)
7  Slacker                        0x617fe4 -[SDLProtocol sendRPC:encrypted:error:] + 399 (SDLProtocol.m:399)
8  Slacker                        0x6174cc -[SDLProtocol sendRPC:error:] + 293 (SDLProtocol.m:293)
9  Slacker                        0x5eee88 -[SDLLifecycleManager sdl_sendConnectionRequest:withResponseHandler:] + 791 (SDLLifecycleManager.m:791)
10 Slacker                        0x5eeb78 -[SDLLifecycleManager sendConnectionManagerRequest:withResponseHandler:] + 748 (SDLLifecycleManager.m:748)
11 Slacker                        0x64b524 -[SDLUploadFileOperation sdl_sendFile:mtuSize:withCompletion:] + 131 (SDLUploadFileOperation.m:131)
12 Slacker                        0x64aef0 -[SDLUploadFileOperation start] + 75 (SDLUploadFileOperation.m:75)
13 Foundation                     0x50c48 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__
14 Foundation                     0x5edf0 __NSOQSchedule_f
15 libdispatch.dylib              0x12830 _dispatch_block_async_invoke2
16 libdispatch.dylib              0x3a30 _dispatch_client_callout
17 libdispatch.dylib              0xb124 _dispatch_lane_serial_drain
18 libdispatch.dylib              0xbc80 _dispatch_lane_invoke
19 libdispatch.dylib              0x16500 _dispatch_workloop_worker_thread
20 libsystem_pthread.dylib        0x10bc _pthread_wqthread
21 libsystem_pthread.dylib        0xe5c start_wqthread

Closing as duplicate.