{ "id": "176151", "key": "TIMOB-28419", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2021-06-25T01:22:15.000+0000", "created": "2021-04-13T18:06:33.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "issuelinks": [ { "id": "59254", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "176152", "key": "TIMOB-28420", "fields": { "summary": "iOS: Unhandled native exceptions invoked via JS should show an error dialog", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-06-25T01:22:15.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "We added a new feature to catch uncaught exceptions and log them to our server. But this turned out to actually cause more crashes than caught. The crash log is attached to this ticket. It seems like a simple missing nil check on the stack trace processing.", "attachment": [ { "id": "67869", "filename": "Screenshot 2021-04-13 at 20.05.56.png", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-04-13T18:06:01.000+0000", "size": 207047, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Handling native stack causes app crash", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "458575", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm pretty sure I fixed this issue with the following commit, but it's on my personal branch which was never merged. My memory is a little fuzzy, but I think it handles the case where a native exception is turned into a JS exception and is unhandled.\r\nhttps://github.com/jquick-axway/titanium_mobile/commit/41ae2a943316d942cd907730ad6c8403838c7ff1#diff-a7f7445c15f7cad956189cefe654bbfbce35fda276155b36efeb983524b3e9d8\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-04-13T22:41:56.000+0000", "updated": "2021-04-13T22:41:56.000+0000" }, { "id": "458577", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel], I created separate ticket [TIMOB-28420] which fixes how a \"native\" stack trace is read as shown in above link (although above link's fix was missing a {{retain}}). This fix also allows native stack traces to be shown via an error dialog like how it works for unhandled JS exceptions. I \"think\" this will resolve the issue you're talking about as well.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-04-14T03:56:05.000+0000", "updated": "2021-04-14T03:56:05.000+0000" }, { "id": "458815", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate of [TIMOB-28420], which will be resolved in Titanium 10.0.1.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-06-25T01:22:09.000+0000", "updated": "2021-06-25T01:22:09.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }