You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Race condition found in NSMutableDictionary+Store when one thread sets a value to the dictionary and the other thread is reading. This race only occurred with TCP connection not on SYNC.
The first thread started in func - (void)stream:(NSStream *)aStream handleEvent:(NSStreamEvent)eventCode of SDLTCPTransport and another Read-only thread started when handler gets called in - (void)sdl_runHandlersForResponse:(SDLRPCResponseNotification *)notification func of SDLResponseDispatcher and the request is SDLRegisterAppInterface *regRequest = [[SDLRegisterAppInterface alloc] initWithLifecycleConfiguration:self.configuration.lifecycleConfig]; sent in didEnterStateConnected func of SDLLifeCycleManager
Reproduction Steps
Connect app
Launch app on the hmi
OS & Version Information
iOS Version: Xcode 12.5 simulator
SDL iOS Version: Branch develop
Testing Against: Manticore
The text was updated successfully, but these errors were encountered:
Bug Report
Race condition found in
NSMutableDictionary+Store
when one thread sets a value to the dictionary and the other thread is reading. This race only occurred with TCP connection not on SYNC.The first thread started in func
- (void)stream:(NSStream *)aStream handleEvent:(NSStreamEvent)eventCode
ofSDLTCPTransport
and another Read-only thread started whenhandler
gets called in- (void)sdl_runHandlersForResponse:(SDLRPCResponseNotification *)notification
func ofSDLResponseDispatcher
and the request isSDLRegisterAppInterface *regRequest = [[SDLRegisterAppInterface alloc] initWithLifecycleConfiguration:self.configuration.lifecycleConfig];
sent indidEnterStateConnected
func ofSDLLifeCycleManager
Reproduction Steps
OS & Version Information
The text was updated successfully, but these errors were encountered: