{"action":"created","issue":{"url":"https://api.github.com/repos/transistorsoft/background-geolocation-lt/issues/28","repository_url":"https://api.github.com/repos/transistorsoft/background-geolocation-lt","labels_url":"https://api.github.com/repos/transistorsoft/background-geolocation-lt/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/transistorsoft/background-geolocation-lt/issues/28/comments","events_url":"https://api.github.com/repos/transistorsoft/background-geolocation-lt/issues/28/events","html_url":"https://github.com/transistorsoft/background-geolocation-lt/issues/28","id":372849391,"node_id":"MDU6SXNzdWUzNzI4NDkzOTE=","number":28,"title":"Crash in TSDatabase","user":{"login":"ps-mmaierhuber","id":6525443,"node_id":"MDQ6VXNlcjY1MjU0NDM=","avatar_url":"https://avatars3.githubusercontent.com/u/6525443?v=4","gravatar_id":"","url":"https://api.github.com/users/ps-mmaierhuber","html_url":"https://github.com/ps-mmaierhuber","followers_url":"https://api.github.com/users/ps-mmaierhuber/followers","following_url":"https://api.github.com/users/ps-mmaierhuber/following{/other_user}","gists_url":"https://api.github.com/users/ps-mmaierhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/ps-mmaierhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ps-mmaierhuber/subscriptions","organizations_url":"https://api.github.com/users/ps-mmaierhuber/orgs","repos_url":"https://api.github.com/users/ps-mmaierhuber/repos","events_url":"https://api.github.com/users/ps-mmaierhuber/events{/privacy}","received_events_url":"https://api.github.com/users/ps-mmaierhuber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-23T07:34:57Z","updated_at":"2018-10-23T15:51:38Z","closed_at":null,"author_association":"NONE","body":"Segfault Crash in TSDatabase\r\n\r\n## Your Environment\r\n\r\n* Plugin version: 0.1.1\r\n* Platform: iOS\r\n* OS version: Any\r\n* Device manufacturer / model: Any\r\n* Plugin config\r\nautoSyncThreshold: 5,\r\ndesiredAccuracy: 100,\r\ndistanceFilter: 50,\r\nmaxDaysToPersist: 7,\r\nmaxBatchSize: 200,\r\nstopDetectionDelay: 0,\r\nactivityRecognitionInterval: 60000,\r\ngeofenceProximityRadius: 99999,\r\nbatchSync: true, \r\ndebug: false,\r\ndisableElasticity: false,\r\ndisableMotionActivityUpdates: false,\r\ndisableStopDetection: false,\r\nstartOnBoot: true,\r\nstopOnTerminate: false,\r\nactivityType: \"Other\",\r\nlocationAuthorizationRequest: \"Always\"\r\n\r\n## Expected Behavior\r\n\r\nNo crashes\r\n\r\n## Actual Behavior\r\n\r\nCrashing when app is running in the background\r\n\r\n## Steps to Reproduce\r\n\r\nUnknown\r\n\r\n## Debug logs\r\nSIGSEGV · Attempted to dereference garbage pointer 0x105.\r\n1\tMyApp\t\r\nTSDatabase.m:1076:21\r\n-[TSDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:]\r\n2\tMyApp\t\r\nTSDatabase.m:1204:19\r\n-[TSDatabase executeUpdate:]\r\n3\tMyApp\t\r\nTSDBLogger.m:249:13\r\n-[TSDBLogger db_save]\r\n4\tDDAbstractDatabaseLogger.m\t\r\n-[DDAbstractDatabaseLogger performSaveAndSuspendSaveTimer]\r\n5\tMyApp\t\r\nDDAbstractDatabaseLogger.m:146:61\r\n__52-[DDAbstractDatabaseLogger createSuspendedSaveTimer]_block_invoke\r\n"},"comment":{"url":"https://api.github.com/repos/transistorsoft/background-geolocation-lt/issues/comments/432305374","html_url":"https://github.com/transistorsoft/background-geolocation-lt/issues/28#issuecomment-432305374","issue_url":"https://api.github.com/repos/transistorsoft/background-geolocation-lt/issues/28","id":432305374,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjMwNTM3NA==","user":{"login":"ps-mmaierhuber","id":6525443,"node_id":"MDQ6VXNlcjY1MjU0NDM=","avatar_url":"https://avatars3.githubusercontent.com/u/6525443?v=4","gravatar_id":"","url":"https://api.github.com/users/ps-mmaierhuber","html_url":"https://github.com/ps-mmaierhuber","followers_url":"https://api.github.com/users/ps-mmaierhuber/followers","following_url":"https://api.github.com/users/ps-mmaierhuber/following{/other_user}","gists_url":"https://api.github.com/users/ps-mmaierhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/ps-mmaierhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ps-mmaierhuber/subscriptions","organizations_url":"https://api.github.com/users/ps-mmaierhuber/orgs","repos_url":"https://api.github.com/users/ps-mmaierhuber/repos","events_url":"https://api.github.com/users/ps-mmaierhuber/events{/privacy}","received_events_url":"https://api.github.com/users/ps-mmaierhuber/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T15:51:38Z","updated_at":"2018-10-23T15:51:38Z","author_association":"NONE","body":"This is a swift project, updateWithBlock is automatically translated to\r\n```swift\r\nfunc update(_ block: ((TSConfigBuilder?) -> Void)!)\r\n```\r\n\r\nsame for the extras object being a swift dictionary that is declared with [] instead of @{} as in objc"}}
{"actor":{"display_login":"ps-mmaierhuber"}}