{"action":"created","issue":{"url":"https://api.github.com/repos/google/protobuf/issues/3267","repository_url":"https://api.github.com/repos/google/protobuf","labels_url":"https://api.github.com/repos/google/protobuf/issues/3267/labels{/name}","comments_url":"https://api.github.com/repos/google/protobuf/issues/3267/comments","events_url":"https://api.github.com/repos/google/protobuf/issues/3267/events","html_url":"https://github.com/google/protobuf/issues/3267","id":238309780,"number":3267,"title":"iOS SDK 3.3.0 GPBRefreshBuffer EXC_SOFTWARE / UNCAUGHT_NS_EXCEPTION on GPBCodedOutputStream.m","user":{"login":"keremerkan","id":1952491,"avatar_url":"https://avatars3.githubusercontent.com/u/1952491?v=3","gravatar_id":"","url":"https://api.github.com/users/keremerkan","html_url":"https://github.com/keremerkan","followers_url":"https://api.github.com/users/keremerkan/followers","following_url":"https://api.github.com/users/keremerkan/following{/other_user}","gists_url":"https://api.github.com/users/keremerkan/gists{/gist_id}","starred_url":"https://api.github.com/users/keremerkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keremerkan/subscriptions","organizations_url":"https://api.github.com/users/keremerkan/orgs","repos_url":"https://api.github.com/users/keremerkan/repos","events_url":"https://api.github.com/users/keremerkan/events{/privacy}","received_events_url":"https://api.github.com/users/keremerkan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-24T10:33:27Z","updated_at":"2017-07-01T19:39:32Z","closed_at":null,"body":"I am using Protobuf as a dependency on my app for Firebase Crash Reporting / Firebase Performance. After updating to iOS Protobuf 3.3.0 via Cocoapods, I started getting uncaught exceptions on GPBCodedOutputStream.m:68\r\n\r\nI immediately downgraded to version 3.2.1 and the crashes are gone.\r\n\r\nI can provide crash reports for more information."},"comment":{"url":"https://api.github.com/repos/google/protobuf/issues/comments/312451791","html_url":"https://github.com/google/protobuf/issues/3267#issuecomment-312451791","issue_url":"https://api.github.com/repos/google/protobuf/issues/3267","id":312451791,"user":{"login":"keremerkan","id":1952491,"avatar_url":"https://avatars3.githubusercontent.com/u/1952491?v=3","gravatar_id":"","url":"https://api.github.com/users/keremerkan","html_url":"https://github.com/keremerkan","followers_url":"https://api.github.com/users/keremerkan/followers","following_url":"https://api.github.com/users/keremerkan/following{/other_user}","gists_url":"https://api.github.com/users/keremerkan/gists{/gist_id}","starred_url":"https://api.github.com/users/keremerkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keremerkan/subscriptions","organizations_url":"https://api.github.com/users/keremerkan/orgs","repos_url":"https://api.github.com/users/keremerkan/repos","events_url":"https://api.github.com/users/keremerkan/events{/privacy}","received_events_url":"https://api.github.com/users/keremerkan/received_events","type":"User","site_admin":false},"created_at":"2017-07-01T19:39:32Z","updated_at":"2017-07-01T19:39:32Z","body":"Here is the stack trace. It is always the same, and it is always because of ```-[CCTLogOutputStream writeLogEvent:]```. After that, ```GPBRefreshBuffer``` class raises the exception. The same code works or seems to work without any exceptions when Protobuf is version 3.2.1. Maybe it silently ignores the error on that version, or there is some other problem, but the stack trace is always the same. I could not find where ```CCTLogOutputStream``` class is used, but Protobuf is a dependency only for Firebase Crash reporting and Firebase Performance, so I suspect it comes from one of them.\r\n\r\nHope this helps.\r\n\r\n```\r\n1 CoreFoundation __exceptionPreprocess + 1022235\r\n2 libobjc.A.dylib objc_exception_throw + 28181\r\n3 CoreFoundation +[NSException raise:format:] + 1022047\r\n4 MyApp GPBRefreshBuffer (GPBCodedOutputStream.m:68)\r\n5 MyApp -[CCTLogOutputStream writeLogEvent:] + 6506461\r\n6 MyApp __72-[CCTLogWriter writeLog:pseudonymousID:directory:clock:logTransformers:]_block_invoke + 6500009\r\n7 libdispatch.dylib _dispatch_call_block_and_release + 10273\r\n8 libdispatch.dylib _dispatch_queue_drain$VARIANT$mp + 62497\r\n9 libdispatch.dylib _dispatch_queue_invoke$VARIANT$mp + 59999\r\n10 libdispatch.dylib _dispatch_root_queue_drain + 71143\r\n11 libdispatch.dylib _dispatch_worker_thread3 + 69579\r\n12 libsystem_pthread.dylib _pthread_wqthread + 6951\r\n13 libsystem_pthread.dylib start_wqthread + 5910\r\n```"}}
{"actor":{"display_login":"keremerkan"}}