{"action":"created","issue":{"url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/1110","repository_url":"https://api.github.com/repos/smartdevicelink/sdl_core","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/1110/labels{/name}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/1110/comments","events_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/1110/events","html_url":"https://github.com/smartdevicelink/sdl_core/issues/1110","id":195525639,"number":1110,"title":"SDL core crashes when BT Disconnect/Connect multiple times","user":{"login":"madhuy","id":17032887,"avatar_url":"https://avatars.githubusercontent.com/u/17032887?v=3","gravatar_id":"","url":"https://api.github.com/users/madhuy","html_url":"https://github.com/madhuy","followers_url":"https://api.github.com/users/madhuy/followers","following_url":"https://api.github.com/users/madhuy/following{/other_user}","gists_url":"https://api.github.com/users/madhuy/gists{/gist_id}","starred_url":"https://api.github.com/users/madhuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhuy/subscriptions","organizations_url":"https://api.github.com/users/madhuy/orgs","repos_url":"https://api.github.com/users/madhuy/repos","events_url":"https://api.github.com/users/madhuy/events{/privacy}","received_events_url":"https://api.github.com/users/madhuy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jacobkeeler","id":10549248,"avatar_url":"https://avatars.githubusercontent.com/u/10549248?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobkeeler","html_url":"https://github.com/jacobkeeler","followers_url":"https://api.github.com/users/jacobkeeler/followers","following_url":"https://api.github.com/users/jacobkeeler/following{/other_user}","gists_url":"https://api.github.com/users/jacobkeeler/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobkeeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobkeeler/subscriptions","organizations_url":"https://api.github.com/users/jacobkeeler/orgs","repos_url":"https://api.github.com/users/jacobkeeler/repos","events_url":"https://api.github.com/users/jacobkeeler/events{/privacy}","received_events_url":"https://api.github.com/users/jacobkeeler/received_events","type":"User","site_admin":false},"assignees":[{"login":"jacobkeeler","id":10549248,"avatar_url":"https://avatars.githubusercontent.com/u/10549248?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobkeeler","html_url":"https://github.com/jacobkeeler","followers_url":"https://api.github.com/users/jacobkeeler/followers","following_url":"https://api.github.com/users/jacobkeeler/following{/other_user}","gists_url":"https://api.github.com/users/jacobkeeler/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobkeeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobkeeler/subscriptions","organizations_url":"https://api.github.com/users/jacobkeeler/orgs","repos_url":"https://api.github.com/users/jacobkeeler/repos","events_url":"https://api.github.com/users/jacobkeeler/events{/privacy}","received_events_url":"https://api.github.com/users/jacobkeeler/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-12-14T13:04:26Z","updated_at":"2016-12-22T17:31:49Z","closed_at":null,"body":"it crashes \r\n\r\nhttps://github.com/smartdevicelink/sdl_core/blob/master/src/3rd_party-static/MessageBroker/src/server/mb_tcpserver.cpp#L104\r\n\r\nwe tried with null checking \r\nas below \r\n\r\nif ((buf.empty()) || (&buf[0] == nullptr)) {\r\n      return false;\r\n    }\r\n\r\nstill it crashes. Could you please invetigate."},"comment":{"url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/comments/268849410","html_url":"https://github.com/smartdevicelink/sdl_core/issues/1110#issuecomment-268849410","issue_url":"https://api.github.com/repos/smartdevicelink/sdl_core/issues/1110","id":268849410,"user":{"login":"madhuy","id":17032887,"avatar_url":"https://avatars.githubusercontent.com/u/17032887?v=3","gravatar_id":"","url":"https://api.github.com/users/madhuy","html_url":"https://github.com/madhuy","followers_url":"https://api.github.com/users/madhuy/followers","following_url":"https://api.github.com/users/madhuy/following{/other_user}","gists_url":"https://api.github.com/users/madhuy/gists{/gist_id}","starred_url":"https://api.github.com/users/madhuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhuy/subscriptions","organizations_url":"https://api.github.com/users/madhuy/orgs","repos_url":"https://api.github.com/users/madhuy/repos","events_url":"https://api.github.com/users/madhuy/events{/privacy}","received_events_url":"https://api.github.com/users/madhuy/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T17:31:49Z","updated_at":"2016-12-22T17:31:49Z","body":"@jacobkeeler  The log pattern we used is,\r\n`# Log file for all SmartDeviceLinkCore messages\r\nlog4j.appender.SmartDeviceLinkCoreLogFile=SafeFileAppender\r\nlog4j.appender.SmartDeviceLinkCoreLogFile.File=SmartDeviceLinkCore.log\r\nlog4j.appender.SmartDeviceLinkCoreLogFile.append=true\r\nlog4j.appender.SmartDeviceLinkCoreLogFile.DatePattern='.' yyyy-MM-dd HH-mm\r\nlog4j.appender.SmartDeviceLinkCoreLogFile.ImmediateFlush=true\r\nlog4j.appender.SmartDeviceLinkCoreLogFile.layout=org.apache.log4j.PatternLayout\r\nlog4j.appender.SmartDeviceLinkCoreLogFile.layout.ConversionPattern=%-5p [%d{dd MMM yyyy HH:mm:ss,SSS}][%t][%c] %F:%L %M: %m%n`"}}
{"actor":{"display_login":"madhuy"}}