{"action":"created","issue":{"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/677","repository_url":"https://api.github.com/repos/smartdevicelink/sdl_ios","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/677/labels{/name}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/677/comments","events_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/677/events","html_url":"https://github.com/smartdevicelink/sdl_ios/issues/677","id":246962242,"number":677,"title":"Crash in SDL iOS Proxy on stream delegate input queue","user":{"login":"davidswi","id":978602,"avatar_url":"https://avatars3.githubusercontent.com/u/978602?v=4","gravatar_id":"","url":"https://api.github.com/users/davidswi","html_url":"https://github.com/davidswi","followers_url":"https://api.github.com/users/davidswi/followers","following_url":"https://api.github.com/users/davidswi/following{/other_user}","gists_url":"https://api.github.com/users/davidswi/gists{/gist_id}","starred_url":"https://api.github.com/users/davidswi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidswi/subscriptions","organizations_url":"https://api.github.com/users/davidswi/orgs","repos_url":"https://api.github.com/users/davidswi/repos","events_url":"https://api.github.com/users/davidswi/events{/privacy}","received_events_url":"https://api.github.com/users/davidswi/received_events","type":"User","site_admin":false},"labels":[{"id":135859168,"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/labels/bug","name":"bug","color":"F44336","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-01T05:53:24Z","updated_at":"2017-08-01T13:16:39Z","closed_at":null,"body":"### Bug Report\r\nDuring manual testing of an SDL file manager/show scenario, a crash occurred in the test app due to an invalid reference in the block being dispatched by the stream delegate. The scenario caused an out of memory condition on the engineering sample HU and it terminated and restarted SDLCore during data transfer.\r\n\r\n##### Expected Behavior\r\nNo crash\r\n\r\n##### Observed Behavior\r\n```\r\nThread 14 name:  Dispatch queue: com.sdl.streamdelegate.input\r\nThread 14 Crashed:\r\n0   libsystem_kernel.dylib        \t0x0000000188d87014 __pthread_kill + 8\r\n1   libsystem_pthread.dylib       \t0x0000000188e4f450 pthread_kill + 112\r\n2   libsystem_c.dylib             \t0x0000000188cfb49c __abort + 144\r\n3   libsystem_c.dylib             \t0x0000000188cfb40c __abort + 0\r\n4   libc++abi.dylib               \t0x00000001887c52d4 __cxa_bad_cast + 0\r\n5   libc++abi.dylib               \t0x00000001887e2cc0 default_unexpected_handler() + 0\r\n6   libobjc.A.dylib               \t0x00000001887f0844 _objc_terminate() + 124\r\n7   CompanionApp-P3-Toyota        \t0x00000001003b4288 0x100068000 + 3457672\r\n8   libc++abi.dylib               \t0x00000001887df66c std::__terminate(void (*)()) + 16\r\n9   libc++abi.dylib               \t0x00000001887def84 __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 0\r\n10  libobjc.A.dylib               \t0x00000001887f0690 _objc_exception_destructor(void*) + 0\r\n11  SmartDeviceLink               \t0x00000001007c800c 0x100784000 + 278540\r\n12  SmartDeviceLink               \t0x00000001007e2f9c 0x100784000 + 389020\r\n13  SmartDeviceLink               \t0x000000010079f2e4 0x100784000 + 111332\r\n14  SmartDeviceLink               \t0x00000001007eaacc 0x100784000 + 420556\r\n15  libdispatch.dylib             \t0x0000000188c421fc _dispatch_call_block_and_release + 24\r\n16  libdispatch.dylib             \t0x0000000188c421bc _dispatch_client_callout + 16\r\n17  libdispatch.dylib             \t0x0000000188c503dc _dispatch_queue_serial_drain + 928\r\n18  libdispatch.dylib             \t0x0000000188c459a4 _dispatch_queue_invoke + 652\r\n19  libdispatch.dylib             \t0x0000000188c5234c _dispatch_root_queue_drain + 572\r\n20  libdispatch.dylib             \t0x0000000188c520ac _dispatch_worker_thread3 + 124\r\n21  libsystem_pthread.dylib       \t0x0000000188e4b2a0 _pthread_wqthread + 1288\r\n22  libsystem_pthread.dylib       \t0x0000000188e4ad8c start_wqthread + 4\r\n```\r\n\r\n##### OS & Version Information\r\n* iOS Version: 10.3.2\r\n* SDL iOS Version: 4.6RC2\r\n* Testing Against: Engineering sample head unit\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/comments/319366739","html_url":"https://github.com/smartdevicelink/sdl_ios/issues/677#issuecomment-319366739","issue_url":"https://api.github.com/repos/smartdevicelink/sdl_ios/issues/677","id":319366739,"user":{"login":"joeljfischer","id":1767063,"avatar_url":"https://avatars0.githubusercontent.com/u/1767063?v=4","gravatar_id":"","url":"https://api.github.com/users/joeljfischer","html_url":"https://github.com/joeljfischer","followers_url":"https://api.github.com/users/joeljfischer/followers","following_url":"https://api.github.com/users/joeljfischer/following{/other_user}","gists_url":"https://api.github.com/users/joeljfischer/gists{/gist_id}","starred_url":"https://api.github.com/users/joeljfischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeljfischer/subscriptions","organizations_url":"https://api.github.com/users/joeljfischer/orgs","repos_url":"https://api.github.com/users/joeljfischer/repos","events_url":"https://api.github.com/users/joeljfischer/events{/privacy}","received_events_url":"https://api.github.com/users/joeljfischer/received_events","type":"User","site_admin":false},"created_at":"2017-08-01T13:16:39Z","updated_at":"2017-08-01T13:16:39Z","body":"Hi @davidswi it appears that the relevant lines are no desymbolicated:\r\n\r\n```\r\n11  SmartDeviceLink               \t0x00000001007c800c 0x100784000 + 278540\r\n12  SmartDeviceLink               \t0x00000001007e2f9c 0x100784000 + 389020\r\n13  SmartDeviceLink               \t0x000000010079f2e4 0x100784000 + 111332\r\n14  SmartDeviceLink               \t0x00000001007eaacc 0x100784000 + 420556\r\n```\r\n\r\ncould you provide more information about the crash or indicate if you're planning on providing a fix?"}}
{"actor":{"display_login":"joeljfischer"}}