{ "id": "86622", "key": "TIMOB-7691", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-02-16T15:45:52.000+0000", "created": "2012-02-16T14:48:04.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-and021312", "regression" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-16T18:07:55.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" } ], "description": "Description:\r\nWhile testing packaging for Android on Windows, a bug was reported. Pulls were created to fi the packaging problem. Now that packaging is functioning, we discovered that with one of the templates (tabbed application) on one of the runtimes (V8) the app crashes when run.\r\n\r\nConsole output is:\r\n{code}\r\n\r\nI/TiApplication( 3172): (main) [290,660] Titanium Javascript runtime: v8\r\nD/dalvikvm( 3172): Trying to load lib /data/data/com.appcelerator.tabs/lib/libstlport_shared.so 0x41825598\r\nD/dalvikvm( 3172): Added shared lib /data/data/com.appcelerator.tabs/lib/libstlport_shared.so 0x41825598\r\nD/dalvikvm( 3172): No JNI_OnLoad found in /data/data/com.appcelerator.tabs/lib/libstlport_shared.so 0x41825598, skipping init\r\nD/dalvikvm( 3172): Trying to load lib /data/data/com.appcelerator.tabs/lib/libkroll-v8.so 0x41825598\r\nI/TiRootActivity( 3172): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\nD/dalvikvm( 3172): Added shared lib /data/data/com.appcelerator.tabs/lib/libkroll-v8.so 0x41825598\r\nD/TiAnalyticsDb( 3172): (main) [132,132] Creating Database tianalytics.db\r\nI/TiAnalyticsDb( 3172): (main) [1,133] Upgrading Database from 1 to 4\r\nE/TiApplication( 3172): (KrollRuntimeThread) [207,340] APP PROXY: ti.modules.titanium.app.AppModule@4183ec78\r\nI/ActivityManager( 185): START {cmp=com.appcelerator.tabs/ti.modules.titanium.ui.TiTabActivity (has extras)} from pid 3172\r\nD/dalvikvm( 3172): GC_FOR_ALLOC freed 219K, 3% free 14316K/14663K, paused 25ms\r\nI/dalvikvm-heap( 3172): Grow heap (frag case) to 15.515MB for 1536016-byte allocation\r\nD/dalvikvm( 3172): GC_CONCURRENT freed 34K, 3% free 15782K/16199K, paused 4ms+2ms\r\nD/dalvikvm( 3172): GC_FOR_ALLOC freed 0K, 3% free 15782K/16199K, paused 11ms\r\nI/dalvikvm-heap( 3172): Grow heap (frag case) to 18.087MB for 2731536-byte allocation\r\nD/dalvikvm( 3172): GC_CONCURRENT freed 0K, 3% free 18450K/18887K, paused 2ms+5ms\r\nI/TiRootActivity( 3172): (main) [0,0] checkpoint, on root activity resume. activity = com.appcelerator.tabs.TabsActivity@41864290\r\nW/TiTabActivity( 3172): (main) [51,51] Notifying TiTabGroup, activity is created\r\nI/WindowManager( 185): createSurface Window{41c0a898 com.appcelerator.tabs/ti.modules.titanium.ui.TiTabActivity paused=false}: DRAW NOW PENDING\r\nD/TiUIView( 3172): (main) [144,195] Nativeview is null\r\nF/libc ( 3172): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)\r\nD/dalvikvm( 3139): GC_CONCURRENT freed 440K, 5% free 14975K/15687K, paused 2ms+4ms\r\nI/DEBUG ( 112): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\r\nI/DEBUG ( 112): Build fingerprint: 'google/mysid/toro:4.0.2/ICL53F/235179:user/release-keys'\r\nI/DEBUG ( 112): pid: 3172, tid: 3201 >>> com.appcelerator.tabs <<<\r\nI/DEBUG ( 112): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000\r\nI/DEBUG ( 112): r0 00000000 r1 56e63250 r2 00152798 r3 00000000\r\nI/DEBUG ( 112): r4 00000000 r5 00000000 r6 56e63250 r7 5b45a820\r\nI/DEBUG ( 112): r8 000004c0 r9 5b4da39d 10 5b45a82f fp 5b009039\r\nI/DEBUG ( 112): ip 408cc1c0 sp 5b45a7e0 lr 40870bed pc 40870bf0 cpsr 60000030\r\nI/DEBUG ( 112): d0 002350cc0c000021 d1 002350d400235051\r\nI/DEBUG ( 112): d2 1a000007e1530040 d3 e59f2024e52d1030\r\nI/DEBUG ( 112): d4 e3a00003e92d0005 d5 e3451b82e3071bd0\r\nI/DEBUG ( 112): d6 e12fff1ce59fc014 d7 e12fff1ce59fc010\r\nI/DEBUG ( 112): d8 0000000000000000 d9 0000000000000000\r\nI/DEBUG ( 112): d10 0000000000000000 d11 0000000000000000\r\nI/DEBUG ( 112): d12 0000000000000000 d13 0000000000000000\r\nI/DEBUG ( 112): d14 0000000000000000 d15 0000000000000000\r\nI/DEBUG ( 112): d16 0000000041848188 d17 3ff0000000000000\r\nI/DEBUG ( 112): d18 4028000000000000 d19 3ff0000000000000\r\nI/DEBUG ( 112): d20 4197d78400000000 d21 0100010001000100\r\nI/DEBUG ( 112): d22 0000000000000000 d23 0000000000000000\r\nI/DEBUG ( 112): d24 0000000000000000 d25 0000000000000000\r\nI/DEBUG ( 112): d26 0100010001000100 d27 0100010001000100\r\nI/DEBUG ( 112): d28 0100010001000100 d29 0100010001000100\r\nI/DEBUG ( 112): d30 0001000000010000 d31 0001000000010000\r\nI/DEBUG ( 112): scr 30000012\r\nI/DEBUG ( 112): \r\nI/DEBUG ( 112): #00 pc 00057bf0 /system/lib/libdvm.so\r\nI/DEBUG ( 112): #01 pc 0007f444 /data/data/com.appcelerator.tabs/lib/libkroll-v8.so (_ZN8titanium17TiBaseWindowProxy13setWindowViewERKN2v89ArgumentsE)\r\nI/DEBUG ( 112): \r\nI/DEBUG ( 112): code around pc:\r\nI/DEBUG ( 112): 40870bd0 4604b5f0 460db087 4621a805 461f4616 \r\nI/DEBUG ( 112): 40870be0 f8aef7fc 46294620 fd44f7fd 46044631 \r\nI/DEBUG ( 112): 40870bf0 f01f6800 4601fe4b ab02b138 93009805 \r\nI/DEBUG ( 112): 40870c00 23014622 f0149701 9805fe09 f0062107 \r\nI/DEBUG ( 112): 40870c10 b007fe8f bf00bdf0 4604b5f0 460db087 \r\nI/DEBUG ( 112): \r\nI/DEBUG ( 112): code around lr:\r\nI/DEBUG ( 112): 40870bcc bf004770 4604b5f0 460db087 4621a805 \r\nI/DEBUG ( 112): 40870bdc 461f4616 f8aef7fc 46294620 fd44f7fd \r\nI/DEBUG ( 112): 40870bec 46044631 f01f6800 4601fe4b ab02b138 \r\nI/DEBUG ( 112): 40870bfc 93009805 23014622 f0149701 9805fe09 \r\nI/DEBUG ( 112): 40870c0c f0062107 b007fe8f bf00bdf0 4604b5f0 \r\nI/DEBUG ( 112): \r\nI/DEBUG ( 112): stack:\r\nI/DEBUG ( 112): 5b45a7a0 5b45a8cc \r\nI/DEBUG ( 112): 5b45a7a4 00217a48 \r\nI/DEBUG ( 112): 5b45a7a8 00217a48 \r\nI/DEBUG ( 112): 5b45a7ac 5b832dd0 /data/data/com.appcelerator.tabs/lib/libkroll-v8.so\r\nI/DEBUG ( 112): 5b45a7b0 5b45a95c \r\nI/DEBUG ( 112): 5b45a7b4 5b578514 /data/data/com.appcelerator.tabs/lib/libkroll-v8.so\r\nI/DEBUG ( 112): 5b45a7b8 5b45a7f4 \r\nI/DEBUG ( 112): 5b45a7bc 4086cd13 /system/lib/libdvm.so\r\nI/DEBUG ( 112): 5b45a7c0 00152798 \r\nI/DEBUG ( 112): 5b45a7c4 00152798 \r\nI/DEBUG ( 112): 5b45a7c8 5b45a7f4 \r\nI/DEBUG ( 112): 5b45a7cc 00000000 \r\nI/DEBUG ( 112): 5b45a7d0 00152798 \r\nI/DEBUG ( 112): 5b45a7d4 00000000 \r\nI/DEBUG ( 112): 5b45a7d8 df0027ad \r\nI/DEBUG ( 112): 5b45a7dc 00000000 \r\nI/DEBUG ( 112): #00 5b45a7e0 0000195c \r\nI/DEBUG ( 112): 5b45a7e4 5b831d9c /data/data/com.appcelerator.tabs/lib/libkroll-v8.so\r\nI/DEBUG ( 112): 5b45a7e8 5b45a910 \r\nI/DEBUG ( 112): 5b45a7ec 000004c0 \r\nI/DEBUG ( 112): 5b45a7f0 5b4da39d /data/data/com.appcelerator.tabs/lib/libkroll-v8.so\r\nI/DEBUG ( 112): 5b45a7f4 001df258 \r\nI/DEBUG ( 112): 5b45a7f8 5b009039 \r\nI/DEBUG ( 112): 5b45a7fc 00152798 \r\nI/DEBUG ( 112): 5b45a800 40870bd1 /system/lib/libdvm.so\r\nI/DEBUG ( 112): 5b45a804 00000000 \r\nI/DEBUG ( 112): 5b45a808 5b8fafa8 \r\nI/DEBUG ( 112): 5b45a80c 5b4da447 /data/data/com.appcelerator.tabs/lib/libkroll-v8.so\r\nI/DEBUG ( 112): #01 5b45a810 00217a48 \r\nI/DEBUG ( 112): 5b45a814 002350c4 \r\nI/DEBUG ( 112): 5b45a818 002360a8 \r\nI/DEBUG ( 112): 5b45a81c 00000000 \r\nI/DEBUG ( 112): 5b45a820 002002f6 \r\nI/DEBUG ( 112): 5b45a824 00000001 \r\nI/DEBUG ( 112): 5b45a828 41818018 \r\nI/DEBUG ( 112): 5b45a82c 00000024 \r\nI/DEBUG ( 112): 5b45a830 41888fc0 \r\nI/DEBUG ( 112): 5b45a834 41888fc0 \r\nI/DEBUG ( 112): 5b45a838 41818018 \r\nI/DEBUG ( 112): 5b45a83c 00000024 \r\nI/DEBUG ( 112): 5b45a840 00010740 \r\nI/DEBUG ( 112): 5b45a844 408d29c0 \r\nI/DEBUG ( 112): 5b45a848 41888fc0 \r\nI/DEBUG ( 112): 5b45a84c dc9db7fb \r\nI/DEBUG ( 112): 5b45a850 408d0c58 \r\nI/DEBUG ( 112): 5b45a854 001df258 \r\nW/dalvikvm( 3172): threadid=4: spin on suspend #1 threadid=10 (pcf=0)\r\nI/BootReceiver( 185): Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE)\r\nD/Zygote ( 115): Process 3172 terminated by signal (11)\r\nI/WindowManager( 185): WIN DEATH: Window{41d780e8 com.appcelerator.tabs/com.appcelerator.tabs.TabsActivity paused=false}\r\nI/ActivityManager( 185): Process com.appcelerator.tabs (pid 3172) has died.\r\nW/ActivityManager( 185): Force removing ActivityRecord{41c7f2a0 com.appcelerator.tabs/ti.modules.titanium.ui.TiTabActivity}: app died, no saved state\r\nI/WindowManager( 185): WIN DEATH: Window{41c0a898 com.appcelerator.tabs/ti.modules.titanium.ui.TiTabActivity paused=false}\r\n{code}\r\n\r\nSteps to reproduce:\r\n1) Install SDK 2.0.0.v20120216123135 or 1.8.2 (post pull 1447 merge)\r\n2) Create new studio project using Tabbed Application template\r\n3) Package for distribution for Android\r\n4) Install on device and launch\r\n\r\nResult:\r\nOn Nexus S (2.3.6), app splash repeatedly displays and console outputs as shown above\r\nOn Galaxy Nexus (4.0), app crash and quit\r\n\r\nExpected:\r\nTabbed application template runs without error.\r\n\r\nNotes:\r\nWhile originally discovered testing pull 1442 on Win 7, then reproduced on Win XP, we are currently unable to reproduce on Win 7 with pull 1447.\r\nThis does not occur with Rhino", "attachment": [], "flagged": false, "summary": "Android: packaging - v8 only - Packaged app using Tabbed Application template crashes when run on device", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 7 and Windows XP\r\nSDK 2.0.0.v20120216123135 and 1.8.2 (post pull 1447 merge)\r\nGalaxy Nexus (4.0)\r\nNexus S (2.3.6)\r\nTitanium Studio, build: 1.0.9.201202131024", "comment": { "comments": [ { "id": "183467", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "WIth the pull requests merged into the master and the 1_8_X branches we are unable to reproduce this issue on Windows 7 or Windows XP.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-16T15:45:52.000+0000", "updated": "2012-02-16T15:45:52.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }