{ "id": "63664", "key": "TIMOB-3032", "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": "11241", "name": "Release 1.6.0 M08", "archived": true, "released": true, "releaseDate": "2011-02-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:44.000+0000", "created": "2011-04-15T03:35:08.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "emulator", "ios", "regression", "release-1.6.0", "reported-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T02:00:44.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": "{html}

[INFO] Titanium SDK version: 1.6.0 (02/02/11\n07:59 a632082), 1.2.2

\n

When launching the emulator, the app (ks, ks-ipad) fails to\nlaunch. The configs affected are: iphone 3.2, ipad 3.2, ipad\n4.2

\n

output:
\n[INFO] Launching application in Simulator\n[DEBUG] App Spec: specified by path\n/Users/thomashuelbert/titanium_mobile/demos/KitchenSink/build/iphone/build/Debug-iphonesimulator/KitchenSink.app\n[DEBUG] SDK Root:\npath=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk\nversion=3.2 name=Simulator - iOS 3.2 [DEBUG] using device family iphone [INFO] Launched application in Simulator\n(10.00 seconds) [DEBUG] Session started [DEBUG] Session did end with error (null)\n[INFO] Application has exited from\nSimulator

{html}", "attachment": [ { "id": "18253", "filename": "padtest_2011-02-02-141233_macintosh-140.crash", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:35:08.000+0000", "size": 20622, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "iOS emulator, 1.2.2 + 1.6.0 - app fails to launch (error (null)) : ipad 3.2/ipad 4.2/Iphone 3.2", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129903", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

same for iphone 3.2 using 1.5.1

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:35:08.000+0000", "updated": "2011-04-15T03:35:08.000+0000" }, { "id": "129904", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Well, ain't this a pickle.

\n

When we select SDK 3.2 initially from the dropdown, everything\ncompiles DIRECTLY against the installed 3.2 (and not the latest\nSDK) libraries. You may remember, from the distant past, that when\n4.2 was released, there was a problem (with mmap) where we couldn't\nrun on simulator - tijscore was linked to the \"wrong\" function\nlocation in the static library. So we updated tijscore so that it\ndid the right thing.

\n

Fast forward to this bug!

\n

You select 3.2 SDK from the dropdown - so it compiles against\nthe 3.2 libraries, with the latest tijscore (which was updated to\nlink against the \"right\" function locations in the BSD system\nlibraries for 4.2). But this introduces a fundamental\nincompatibility because... you guessed it... some symbols in this\nNEW tijscore don't match up to the locations in the 3.2 BSD system\nlibraries.

\n

Attached a crash log which demonstrates. Note that the app runs\nfine on device.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:35:08.000+0000", "updated": "2011-04-15T03:35:08.000+0000" }, { "id": "129905", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [a02f7db3abbb8c9978e80c82506bd974337d5c2a])\n[#3032 state:fixed-in-qa] Don't be a schmuck:\nLINK against the latest simulator SDK, but RUN in the specified\none. This is consistent with how distribution/install works.\n\nhttps://github.com/appcelerator/titanium_mobile/commit/a02f7db3abbb...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:35:08.000+0000", "updated": "2011-04-15T03:35:08.000+0000" }, { "id": "129906", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

[INFO] Titanium SDK version: 1.6.0 (02/03/11\n09:22 a02f7db) emulator 3.2 and 4.2 ipad.

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:35:09.000+0000", "updated": "2011-04-15T03:35:09.000+0000" }, { "id": "129907", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

oh yeah, iphone 3,2 as well (iphone idiom - expected)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:35:09.000+0000", "updated": "2011-04-15T03:35:09.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }