{ "id": "163705", "key": "TIMOB-23979", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-08-27T16:24:32.000+0000", "created": "2016-10-04T08:57:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-6.0.0" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": null, "updated": "2020-01-28T18:56:48.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": "When trying to debug an application on an iOS device that does not have connectivity (the test device did not had sim so tested with no wifi) then the app crashes on launch\r\n\r\nThis is not a regression as the same behavior is seen in previous SDK versions as well.\r\n\r\n* The issue happens for both alloy and classic apps\r\n* This issue was found while testing the debug with TiCore framework\r\n\r\nSteps to Reproduce:\r\n1. Create a new project\r\n2. Add a breakpoint\r\n3. Debug the project on iOS device that is not connected to wifi\r\n4. Once installed try to launch the app on device\r\n\r\nActual Result:\r\nThe app crashes. Below are the console logs. Also the crash report is attached.\r\n\r\n{code}\r\nOct 3 12:20:18 iPhone5S-Sale iOSDebugClassicAppPreprod[218] : assertion failed: 12A405: libxpc.dylib + 71820 [4BC9CA3D-4DEE-314C-ADBF-53BDCEEFE45C]: 0x7d\r\nOct 3 12:20:18 iPhone5S-Sale Unknown[218] :\r\nOct 3 12:20:18 iPhone5S-Sale iOSDebugClassicAppPreprod[218] : [DEBUG] Reading stylesheet from: /private/var/mobile/Containers/Bundle/Application/F5371CB5-4DB5-440E-984D-775B5C726F76/iOSDebugClassicAppPreprod.app/stylesheet.plist\r\nOct 3 12:20:18 iPhone5S-Sale iOSDebugClassicAppPreprod[218] : [INFO] iOSDebugClassicAppPreprod/1.0 (0.0.0.b18727f)\r\nOct 3 12:20:18 iPhone5S-Sale ReportCrash[219] : task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)\r\nOct 3 12:20:18 iPhone5S-Sale ReportCrash[219] : ReportCrash acting against PID 218\r\nOct 3 12:20:18 iPhone5S-Sale ReportCrash[219] : Formulating crash report for process iOSDebugClassicAppPreprod[218]\r\nOct 3 12:20:18 iPhone5S-Sale com.apple.xpc.launchd[1] (UIKitApplication:com.appcelerator.sg.iosClassicPreprod[0x321a][218]) : Service exited due to signal: Trace/BPT trap: 5\r\nOct 3 12:20:18 iPhone5S-Sale ReportCrash[219] : Saved report to /var/mobile/Library/Logs/CrashReporter/iOSDebugClassicAppPreprod_2016-10-03-122018_iPhone5S-Sale.ips\r\nOct 3 12:20:18 iPhone5S-Sale SpringBoard[48] : Application 'UIKitApplication:com.appcelerator.sg.iosClassicPreprod[0x321a]' crashed.\r\nOct 3 12:20:18 iPhone5S-Sale assertiond[58] : pid_suspend failed for : Unknown error: -1, Unknown error: -1\r\nOct 3 12:20:18 iPhone5S-Sale assertiond[58] : Could not set priority of to 2, priority: No such process\r\nOct 3 12:20:18 iPhone5S-Sale assertiond[58] : Could not set priority of to 4096, priority: No such process\r\n{code}\r\n", "attachment": [ { "id": "60421", "filename": "iOSDebugClassicAppPreprod 10-3-16, 12-20 PM.crash", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-04T08:56:48.000+0000", "size": 42786, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "iOS Debug: The app crashes on launch during debug on iOS device without wifi connection", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Device: iPhone 6S Plus (9.0), iPhone 5S (8.3)\r\nMac OSX El Capitan 10.11.6 \r\nTi SDK: 6.0.0.v20161003212111\r\nAppc Studio: 4.8.0.201609292239 \r\nAppc NPM: 4.2.8-7 \r\nApp CLI: 6.0.0-54\r\nXcode 8.0, 7.3.1\r\nNode v4.6.0\r\nPreprod Environment", "comment": { "comments": [ { "id": "450360", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce the issue on 8.0.2.GA SDK.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-08T21:15:04.000+0000", "updated": "2019-08-08T21:15:04.000+0000" }, { "id": "450862", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce the issue on 8.0.2.GA SDK.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-27T16:24:32.000+0000", "updated": "2019-08-27T16:24:32.000+0000" }, { "id": "453857", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi,\r\n\r\nthis is not fixed and this is reproducible by using our app (available to Axway) with the \"Network Link Conditioner\" and the \"100 % loss\" simulation enabled. It's even reproducible every time, please fix this.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-01-28T18:53:35.000+0000", "updated": "2020-01-28T18:53:35.000+0000" }, { "id": "453858", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "EDIT (I can't edit the initial comment in a closed ticket): It's even reproducible in the Titanium.xcconfig project, so it should be easy to debug.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-01-28T18:56:48.000+0000", "updated": "2020-01-28T18:56:48.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }