{ "id": "78587", "key": "TIMOB-4858", "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": [ { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-27T15:47:54.000+0000", "created": "2011-08-01T09:54:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "merge-1.7.3" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "11983", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "78293", "key": "MOD-1169", "fields": { "summary": "Greystrip iOS module causes app to exit with SystemExit:65", "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": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46:38.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": "h1. Problem\r\nWhen you include the Greystrip module in an app the app crashes with SystemExit:65 if building with TiSDK 1.7.x.\r\n\r\nh2. Reproduction\r\nUse the module's example app to reproduce this.\r\n\r\nh2. Build Error\r\n{code:title=\"console\"}\r\nld: duplicate symbol _encodingMap in /var/folders/IO/IOzpz3kfFFa5JFj0INAwME+++TI/-Tmp-/mblNyDSti/greystripe/modules/iphone/ti.greystripe/1.0/libti.greystripe.a(GSBase64.o) and /var/folders/IO/IOzpz3kfFFa5JFj0INAwME+++TI/-Tmp-/mblNyDSti/greystripe/build/iphone/build/greystripe.build/Debug-iphonesimulator/greystripe.build/Objects-normal/i386/TiUtils.o for architecture i386\r\ncollect2: ld returned 1 exit status\r\nCommand /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-g++-4.2 failed with exit code 1\r\n{code}\r\n\r\nh2. Solution\r\nPlace \"static\" before the three variables declared at the top of TiUtils.m so that they don't collide with the library Greystrip is using.\r\n\r\nh2. Pull Request\r\nhttps://github.com/appcelerator/titanium_mobile/pull/305", "attachment": [ { "id": "22648", "filename": "Screen Shot 2011-08-24 at 11.00.52 AM (2).png", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-24T11:03:27.000+0000", "size": 2997294, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Duplicate Symbols (encodingMap) in TiUtils.o and 3rd Party Library", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "BROKEN in TiSDK 1.7.3, TiSDK 1.7.0\r\nTested on iPhone Simulator 4.3", "comment": { "comments": [ { "id": "161294", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Removed estimate... that was a holdover from the original [MOD-148] ticket.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-08-01T10:04:54.000+0000", "updated": "2011-08-01T10:04:54.000+0000" }, { "id": "163874", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test bug was fixed in Pull request but fails again when tried with following configuration. TiMob 1.8.0.v20110819142548 is used.\n\nNote: Added module ti.greystripe in Titanium folder. \n Added module tag in tiapp.xml\n Added app id: 360f96ed-2109-48fb-a020-e42f6433e4f6 in example code for greystripe module.\n \nError is not the same as previous, that was, SystemExit:65 at that time, its different and pasted below: \n\nTested on:\nMac OSX Lion\nTiMob: 1.8.0.v20110819142548\nTiStud: 1.0.4.201108101535\n\nDevice Used:\niPhone Simulator\n\nFollowing is the error:\n\n\n[DEBUG] loading: /Users/vsingh/Library/Application Support/iPhone Simulator/5.0/Applications/944E2F28-27C0-466C-BDAB-01DB621D6164/mod-148.app/app.js, resource: app_js\n\n[INFO] Greystripe module loaded\n\n[DEBUG] loading: /Users/vsingh/Library/Application Support/iPhone Simulator/5.0/Applications/944E2F28-27C0-466C-BDAB-01DB621D6164/mod-148.app/ti.greystripe.js, resource: ti_greystripe_js\n\n[ERROR] Invalid type passed to function. expected: NSDictionary, was: __NSArrayM in -[TiGreystripeModule setup:] (TiGreystripeModule.m:82)\n\n[ERROR] Script Error = Invalid type passed to function. expected: NSDictionary, was: __NSArrayM in -[TiGreystripeModule setup:] (TiGreystripeModule.m:82) at app.js (line 8).\n\n[DEBUG] application booted in 248.316050 ms", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-24T11:00:23.000+0000", "updated": "2011-08-24T11:00:23.000+0000" }, { "id": "163877", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Check the attached screenshot with error", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-24T11:03:27.000+0000", "updated": "2011-08-24T11:03:27.000+0000" }, { "id": "163880", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "That is a very different error, Vikramjeet. Please open a separate ticket.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-08-24T11:04:59.000+0000", "updated": "2011-08-24T11:04:59.000+0000" }, { "id": "163904", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "I have confirmed that this latest issue is related to code in the module and is not the same issue that was resolved with this ticket. Please open a new issue in the MOD project to address this latest problem.", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2011-08-24T12:13:58.000+0000", "updated": "2011-08-24T12:13:58.000+0000" }, { "id": "163914", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-24T13:15:09.000+0000", "updated": "2011-08-24T13:15:09.000+0000" }, { "id": "164791", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "MOD-177 is the appropriate ticket for the latest reported issue. The original issue reported by this ticket was previously resolved. This ticket should not have been re-opened.", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2011-09-01T11:24:27.000+0000", "updated": "2011-09-01T11:24:27.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }