{ "id": "125475", "key": "TIMOB-16332", "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": "15821", "description": "2014 Sprint 02", "name": "2014 Sprint 02", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "id": "15824", "description": "2014 Sprint 02 Core", "name": "2014 Sprint 02 Core", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-03-12T17:41:03.000+0000", "created": "2014-01-27T23:21:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_build", "qe-closed-3.2.3", "qe-testadded" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-28T19:20:30.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "On every emulator start, after starting app(apk was installing successfully) I've got :\r\n\r\n{panel}\r\n[INFO] : Starting app: com.ucl.test/.Tp2Activity\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\r\n throw e;\r\n ^\r\nTypeError: Object USER PID PPID VSIZE RSS WCHAN PC NAME\r\nroot 1 0 404 280 c0274189 08054b16 S /init\r\nroot 2 0 0 0 c022a30e 00000000 S kthreadd\r\nroot 3 2 0 0 c021dc3d 00000000 S ksoftirqd/0\r\nroot 4 2 0 0 c0227a22 00000000 S events/0\r\nroot 5 2 0 0 c0227a22 00000000 S khelper\r\nroot 11 2 0 0 c0227a22 00000000 S suspend\r\nroot 161 2 0 0 c0227a22 00000000 S kblockd/0\r\nroot 165 2 0 0 c0227a22 00000000 S cqueue\r\nroot 172 2 0 0 c0227a22 00000000 S ata/0\r\nroot 173 2 0 0 c0227a22 00000000 S ata_aux\r\nroot 175 2 0 0 c0227a22 00000000 S ksuspend_usbd\r\nroot 180 2 0 0 c0442390 00000000 S khubd\r\nroot 183 2 0 0 c046549e 00000000 S kseriod\r\nroot 188 2 0 0 c0227a22 00000000 S kmmcd\r\nroot 242 2 0 0 c024aabe 00000000 S pdflush\r\nroot 243 2 0 0 c024aabe 00000000 S pdflush\r\nroot 244 2 0 0 c024dfa0 00000000 S kswapd0\r\nroot 299 2 0 0 c0227a22 00000000 S aio/0\r\nroot 480 2 0 0 c0227a22 00000000 S iscsi_eh\r\nroot 492 2 0 0 c042cf7e 00000000 S mtdblockd\r\nroot 493 2 0 0 c042cf7e 00000000 S nftld\r\nroot 529 2 0 0 c0227a22 00000000 S kstriped\r\nroot 532 2 0 0 c0227a22 00000000 S kondemand/0\r\nroot 537 2 0 0 c0227a22 00000000 S hid_compat\r\nroot 579 1 384 224 c0274189 08054b16 S /sbin/ueventd\r\nsystem 779 1 1272 404 c04a5605 b7f9ca0e S /system/bin/servicemanager\r\nroot 781 1 5424 1020 ffffffff b7fb3611 S /system/bin/vold\r\nroot 784 1 11216 1516 ffffffff b7e02611 S /system/bin/netd\r\nroot 787 1 1400 516 c04b13c0 b7e69aa3 S /system/bin/debuggerd\r\nradio 788 1 6216 1052 ffffffff b7e71611 S /system/bin/rild\r\nsystem 789 1 74564 25328 ffffffff b7e69a0e S /system/bin/surfaceflinger\r\nroot 790 1 163404 39064 ffffffff b7ed2bd0 S zygote\r\ndrm 791 1 9088 2792 ffffffff b7de6a0e S /system/bin/drmserver\r\nmedia 792 1 39996 8548 ffffffff b7dc8a0e S /system/bin/mediaserver\r\nbluetooth 793 1 2232 928 c0274189 b7f4220a S /system/bin/dbus-daemon\r\nroot 794 1 1344 532 c0517b4c b7e6065e S /system/bin/installd\r\nkeystore 795 1 3108 1028 c04b13c0 b7e6aaa3 S /system/bin/keystore\r\nroot 820 1 1324 488 c028cf56 b7f2f157 S /system/bin/qemud\r\nshell 823 1 1268 476 c03652ce b7e5d65e S /system/bin/sh\r\nroot 824 1 3516 272 ffffffff 08076e10 R /sbin/adbd\r\nsystem 996 790 269476 63680 ffffffff b7ed2a0e S system_server\r\nu0_a31 1072 790 191812 49264 ffffffff b7ed4157 S com.android.systemui\r\nu0_a27 1087 790 173848 28320 ffffffff b7ed4157 S com.android.inputmethod.latin\r\nsystem 1107 790 177608 23488 ffffffff b7ed4157 S com.android.settings\r\nu0_a3 1114 790 176808 27392 ffffffff b7ed4157 S android.process.acore\r\nradio 1150 790 199680 30816 ffffffff b7ed4157 S com.android.phone\r\nu0_a15 1163 790 191060 44980 ffffffff b7ed4157 S com.android.launcher\r\nu0_a1 1197 790 178092 24396 ffffffff b7ed4157 S com.android.calendar\r\nu0_a32 1214 790 187812 25092 ffffffff b7ed4157 S com.android.providers.calendar\r\nu0_a19 1227 790 172680 24588 ffffffff b7ed4157 S com.android.deskclock\r\nu0_a3 1251 790 179288 26576 ffffffff b7ed4157 S com.android.contacts\r\nu0_a6 1273 790 187996 26224 ffffffff b7ed4157 S android.process.media\r\nu0_a12 1307 790 178080 23024 ffffffff b7ed4157 S com.android.exchange\r\nu0_a24 1329 790 174708 24616 ffffffff b7ed4157 S com.android.mms\r\nu0_a29 1343 790 195996 29172 ffffffff b7ed4157 S com.android.email\r\nu0_a4 1478 790 185268 21956 ffffffff b7ed4157 S com.android.defcontainer\r\nsystem 1514 790 170776 23312 ffffffff b7ed4157 S com.android.keychain\r\nu0_a33 1529 790 169664 21136 ffffffff b7ed4157 S com.svox.pico\r\nu0_a9 1542 790 173136 22716 ffffffff b7ed4157 S com.android.quicksearchbox\r\nu0_a44 1571 790 205716 35716 ffffffff b7ed4325 R com.ucl.test\r\nroot 1589 824 1268 508 c021bfc9 b7f42ee3 S /system/bin/sh\r\nroot 1590 1589 1504 556 00000000 b7f0065e R ps\r\n has no method 'split'\r\n at ADB. (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:495:21)\r\n at conn.exec.noLength (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:441:5)\r\n at Connection. (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:216:4)\r\n at EventEmitter.emit (events.js:117:20)\r\n at _stream_readable.js:910:16\r\n at process._tickCallback (node.js:415:13)\r\n---------------------------------------------\r\n at Connection.exec (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:213:9)\r\n at conn.exec.dontWaitForData (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:440:9)\r\n at Connection. (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:154:15)\r\n at EventEmitter.emit (events.js:95:17)\r\n at Socket. (_stream_readable.js:736:14)\r\n at EventEmitter.emit (events.js:92:17)\r\n---------------------------------------------\r\n at Readable.on (_stream_readable.js:679:33)\r\n at Connection.exec (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:114:9)\r\n at ADB.shell (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:436:7)\r\n at ADB.getPid (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:491:7)\r\n at /home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/android/cli/hooks/run.js:324:15\r\n at async.whilst (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/async/lib/async.js:616:13)\r\n at /home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/android/cli/hooks/run.js:314:15\r\n at conn.exec.noLength (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:441:5)\r\n---------------------------------------------\r\n at Connection.exec (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:213:9)\r\n at conn.exec.dontWaitForData (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:440:9)\r\n at Connection. (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:154:15)\r\n at EventEmitter.emit (events.js:95:17)\r\n at Socket. (_stream_readable.js:736:14)\r\n at EventEmitter.emit (events.js:92:17)\r\n---------------------------------------------\r\n at Readable.on (_stream_readable.js:679:33)\r\n at Connection.exec (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:114:9)\r\n at ADB.shell (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:436:7)\r\n at ADB.startApp (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/titanium-sdk/lib/adb.js:519:7)\r\n at /home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/android/cli/hooks/run.js:309:12\r\n at /home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/async/lib/async.js:548:21\r\n at /home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/async/lib/async.js:224:13\r\n at iterate (/home/arusanov/.titanium/mobilesdk/linux/3.2.0.GA/node_modules/async/lib/async.js:131:13)\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 8\r\n{panel}\r\n\r\nApplication works normally after this error, but I can't get anything in trace\r\n\r\nApplication type: desktop\r\nTitanium SDK: 3.2.0.GA\r\nTitanium Studio: build: 3.2.0.201312191547 Build: jenkins-titanium-rcp-master-76 (origin/master) Date: 19 December 2013, 15:48:53\r\nHost Operating System: Linux Mint 16\r\nPlatform & version: Android SDK: 16\r\nDevice: Android Emulator\r\na simple test case: any code(ex default Alloy \"Hello World\")", "attachment": [ { "id": "46143", "filename": "error.txt", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-02-24T11:22:17.000+0000", "size": 17959, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Longjohn Error on every emulator start", "creator": { "name": "bulldog", "key": "bulldog", "displayName": "Andrey Rusanov", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bulldog", "key": "bulldog", "displayName": "Andrey Rusanov", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "289923", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There is really not much information in this ticket to diagnose this issue. Please provide us a simple Titanium test case, Android SDK version and emulator information to troubleshoot this issue.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-28T04:32:24.000+0000", "updated": "2014-01-28T04:32:24.000+0000" }, { "id": "289975", "author": { "name": "bulldog", "key": "bulldog", "displayName": "Andrey Rusanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Done", "updateAuthor": { "name": "bulldog", "key": "bulldog", "displayName": "Andrey Rusanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-28T15:13:08.000+0000", "updated": "2014-01-28T15:13:08.000+0000" }, { "id": "290077", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I tested this on 64-bit Linux Mint 15 with Node.js 0.10.25, Titanium SDK 3.2.0.GA, and Android SDK 4.4 and was unable to reproduce.\n\nI suspect that adb was having a bad day. You can try running {{adb kill-server}} and restarting the Android emulator. You may even need to recreate the Android emulator. Be sure to keep your Android platform and build tools up to date with the latest versions.\n\nIn the meantime, I'll submit a PR that will convert the Buffer to a String which should resolve the error you are receiving.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-28T21:21:44.000+0000", "updated": "2014-01-28T21:21:44.000+0000" }, { "id": "290080", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5278\n3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5279\n\nI'm not sure how to test given that I cannot reproduce the problem. I suspect this has to do with the Node.js version you have installed.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-28T21:26:27.000+0000", "updated": "2014-01-28T21:26:27.000+0000" }, { "id": "290792", "author": { "name": "bulldog", "key": "bulldog", "displayName": "Andrey Rusanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks a lot! It fixed my problem!", "updateAuthor": { "name": "bulldog", "key": "bulldog", "displayName": "Andrey Rusanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-01T16:14:22.000+0000", "updated": "2014-02-01T16:14:22.000+0000" }, { "id": "293366", "author": { "name": "ffabreti", "key": "ffabreti", "displayName": "f", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes. it fixed for me too. Fedora Linux AMD64, SDK 3.2.1 GA and Android SDK 4.1.2\r\nnodejs 0.10.24 ", "updateAuthor": { "name": "ffabreti", "key": "ffabreti", "displayName": "f", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-16T20:51:07.000+0000", "updated": "2014-02-16T20:52:25.000+0000" }, { "id": "294329", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I am able to reproduce this issue on Nexus 5 phone , android version:4.4.2\r\nIt works fine on Nexus 4, android version: 4.1.2\r\nLog file is attached as error.txt\r\n\r\nEnvironment used:\r\nDevice: Nexus 5 phone , android version:4.4.2\r\nAppcelerator Studio, build: 3.2.1.201402061120\r\nSDK: 3.2.0.GA\r\nalloy: 1.3.1-Beta\r\nacs: 1.0.11\r\nnpm: 1.3.2\r\ntitanium: 3.2.0.GA\r\ntitanium-code-processor: 1.1.0\r\nOS: Ubuntu 12.04 (64-bit) LTS", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-02-24T11:21:58.000+0000", "updated": "2014-02-24T11:32:18.000+0000" }, { "id": "294672", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on:\nUbuntu 14.04 (64-bit) LTS\nAppcelerator Studio, build: 3.2.1.201402061120\nTitanium SDK, build: 3.2.1.GA\nTitanium SDK, build: 3.2.0.GA\nCLI: 3.2.1\nAlloy: 1.3.1\n\nCannot reproduce this error.\nAndroid Emulator successfully launches on each run attempt.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-25T21:17:46.000+0000", "updated": "2014-02-25T21:17:46.000+0000" }, { "id": "296818", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Going to re-mark this as fixed based on [~sdowse]'s comments", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-12T17:41:03.000+0000", "updated": "2014-03-12T17:41:03.000+0000" }, { "id": "298378", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified fix using below environment:\r\n\r\nAppc Studio: 3.2.3.201403190645\r\nSdk: 3.2.3.v20140322210914\r\nacs: 1.0.14\r\nnpm: 1.3.2\r\nalloy:1.3.1\r\ntitanium:3.2.1\r\ntitanium-code-processor:1.1.0\r\nXcode: 5.1\r\nOsx: Ubuntu 12.04 (64-bit) LTS\r\nDevice: Nexus 5 phone , android version:4.4.2\r\n\r\nEmulator launches successfully on each run without any error message.", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-03-24T06:34:38.000+0000", "updated": "2014-03-24T06:34:38.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }