{ "id": "125813", "key": "AC-2322", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "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": "2014-02-09T05:34:49.000+0000", "created": "2014-02-04T14:39:36.000+0000", "labels": [ "2.3.3", "2.3.5", "android", "cs-investigate", "triage", "webview" ], "versions": [], "issuelinks": [ { "id": "34979", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "118974", "key": "TIMOB-14947", "fields": { "summary": "Android: WebView crashes on Android 2.3.3 Emulator", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:20.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "The following works on Android 2.3.7 but crashes on 2.3.3. I've tested this in the emulator, but the client had the crash on a device running 2.3.5. Same result when using {{html}} or {{url}}.\r\n\r\nh1. Steps to reproduce\r\n\r\n1. Create app: {{ti create -p android -n webview --id test.webview -d .}}\r\n2. Replace {{app.js}} with:\r\n\r\n {code}\r\n var win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n });\r\n\r\n win.add(Ti.UI.createWebView({\r\n html: 'foo' // url: 'http://google.com'\r\n }));\r\n\r\n win.open();\r\n {code}\r\n\r\n3. Build the app: {{ti build -p android -T emulator -C \"Some 2.3.3 emulator\"\r\n4. See it showing the web view but then crashing with the logs showing:\r\n\r\n{code}\r\n02-04 15:27:27.106: I/ActivityManager(294): Displayed test.webview/org.appcelerator.titanium.TiActivity: +1s786ms (total +5s846ms)\r\n02-04 15:27:27.276: W/dalvikvm(4520): JNI WARNING: jarray 0x405e01e8 points to non-array object (Ljava/lang/String;)\r\n02-04 15:27:27.276: I/dalvikvm(4520): \"WebViewCoreThread\" prio=5 tid=12 NATIVE\r\n02-04 15:27:27.276: I/dalvikvm(4520): | group=\"main\" sCount=0 dsCount=0 obj=0x40555bc8 self=0x2ab890\r\n02-04 15:27:27.276: I/dalvikvm(4520): | sysTid=4538 nice=0 sched=0/0 cgrp=default handle=2919600\r\n02-04 15:27:27.276: I/dalvikvm(4520): | schedstat=( 355207036 459097043 65 )\r\n02-04 15:27:27.276: I/dalvikvm(4520): at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)\r\n02-04 15:27:27.286: I/dalvikvm(4520): at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)\r\n02-04 15:27:27.286: I/dalvikvm(4520): at android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:91)\r\n02-04 15:27:27.286: I/dalvikvm(4520): at android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)\r\n02-04 15:27:27.286: I/dalvikvm(4520): at android.os.Handler.dispatchMessage(Handler.java:99)\r\n02-04 15:27:27.286: I/dalvikvm(4520): at android.os.Looper.loop(Looper.java:130)\r\n02-04 15:27:27.286: I/dalvikvm(4520): at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:629)\r\n02-04 15:27:27.286: I/dalvikvm(4520): at java.lang.Thread.run(Thread.java:1019)\r\n02-04 15:27:27.296: E/dalvikvm(4520): VM aborting\r\n02-04 15:27:27.396: I/DEBUG(3941): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\r\n02-04 15:27:27.396: I/DEBUG(3941): Build fingerprint: 'generic/google_sdk/generic:2.3.4/GINGERBREAD/123630:eng/test-keys'\r\n02-04 15:27:27.396: I/DEBUG(3941): pid: 4520, tid: 4538 >>> test.webview <<<\r\n02-04 15:27:27.396: I/DEBUG(3941): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d\r\n02-04 15:27:27.396: I/DEBUG(3941): r0 fffffec4 r1 deadd00d r2 00000026 r3 00000000\r\n02-04 15:27:27.396: I/DEBUG(3941): r4 800a45c0 r5 405e01e8 r6 80085acc r7 002c8cf0\r\n02-04 15:27:27.396: I/DEBUG(3941): r8 44fdab58 r9 4471af0c 10 4471aef4 fp 4272d8ec\r\n02-04 15:27:27.396: I/DEBUG(3941): ip 800a4720 sp 44fda678 lr afd19375 pc 80045a4a cpsr 20000030\r\n02-04 15:27:28.716: I/DEBUG(3941): #00 pc 00045a4a /system/lib/libdvm.so\r\n02-04 15:27:28.716: I/DEBUG(3941): #01 pc 00037748 /system/lib/libdvm.so\r\n02-04 15:27:28.716: I/DEBUG(3941): #02 pc 00039a10 /system/lib/libdvm.so\r\n02-04 15:27:28.725: I/DEBUG(3941): #03 pc 0003a4ec /system/lib/libdvm.so\r\n02-04 15:27:28.725: I/DEBUG(3941): #04 pc 0029864e /system/lib/libwebcore.so\r\n02-04 15:27:28.725: I/DEBUG(3941): #05 pc 00211d1c /system/lib/libwebcore.so\r\n02-04 15:27:28.725: I/DEBUG(3941): #06 pc 001133be /system/lib/libwebcore.so\r\n02-04 15:27:28.737: I/DEBUG(3941): #07 pc 002127e8 /system/lib/libwebcore.so\r\n02-04 15:27:28.737: I/DEBUG(3941): #08 pc 002c6de6 /system/lib/libwebcore.so\r\n02-04 15:27:28.758: I/DEBUG(3941): #09 pc 002ca13e /system/lib/libwebcore.so\r\n02-04 15:27:28.766: I/DEBUG(3941): #10 pc 002d8028 /system/lib/libwebcore.so\r\n02-04 15:27:28.766: I/DEBUG(3941): #11 pc 002cf760 /system/lib/libwebcore.so\r\n02-04 15:27:28.776: I/DEBUG(3941): #12 pc 0020fd0c /system/lib/libwebcore.so\r\n02-04 15:27:28.776: I/DEBUG(3941): #13 pc 0020fd8a /system/lib/libwebcore.so\r\n02-04 15:27:28.796: I/DEBUG(3941): #14 pc 0020fdf8 /system/lib/libwebcore.so\r\n02-04 15:27:28.796: I/DEBUG(3941): #15 pc 001e7e4e /system/lib/libwebcore.so\r\n02-04 15:27:28.806: I/DEBUG(3941): #16 pc 0007eae2 /system/lib/libwebcore.so\r\n02-04 15:27:28.816: I/DEBUG(3941): #17 pc 0007eb8c /system/lib/libwebcore.so\r\n02-04 15:27:28.816: I/DEBUG(3941): #18 pc 0011b21e /system/lib/libwebcore.so\r\n02-04 15:27:28.816: I/DEBUG(3941): #19 pc 00017d74 /system/lib/libdvm.so\r\n02-04 15:27:28.816: I/DEBUG(3941): #20 pc 00048f08 /system/lib/libdvm.so\r\n02-04 15:27:28.826: I/DEBUG(3941): #21 pc 00041ab6 /system/lib/libdvm.so\r\n02-04 15:27:28.836: I/DEBUG(3941): #22 pc 0001cfd4 /system/lib/libdvm.so\r\n02-04 15:27:28.845: I/DEBUG(3941): #23 pc 000220dc /system/lib/libdvm.so\r\n02-04 15:27:28.845: I/DEBUG(3941): #24 pc 00020fd0 /system/lib/libdvm.so\r\n02-04 15:27:28.855: I/DEBUG(3941): #25 pc 0005f430 /system/lib/libdvm.so\r\n02-04 15:27:28.855: I/DEBUG(3941): #26 pc 0005f656 /system/lib/libdvm.so\r\n02-04 15:27:28.865: I/DEBUG(3941): #27 pc 00053b4e /system/lib/libdvm.so\r\n02-04 15:27:28.865: I/DEBUG(3941): #28 pc 00011a7c /system/lib/libc.so\r\n02-04 15:27:28.876: I/DEBUG(3941): #29 pc 00011640 /system/lib/libc.so\r\n02-04 15:27:28.876: I/DEBUG(3941): code around pc:\r\n02-04 15:27:28.886: I/DEBUG(3941): 80045a28 447a4479 ed0cf7d1 20004c09 ee34f7d1 \r\n02-04 15:27:28.886: I/DEBUG(3941): 80045a38 447c4808 6bdb5823 d0002b00 49064798 \r\n02-04 15:27:28.886: I/DEBUG(3941): 80045a48 700a2226 eea0f7d1 000436b7 00045275 \r\n02-04 15:27:28.896: I/DEBUG(3941): 80045a58 0005eb82 fffffec4 deadd00d b510b40e \r\n02-04 15:27:28.896: I/DEBUG(3941): 80045a68 4c0a4b09 447bb083 aa05591b 6b5bca02 \r\n02-04 15:27:28.896: I/DEBUG(3941): code around lr:\r\n02-04 15:27:28.920: I/DEBUG(3941): afd19354 b0834a0d 589c447b 26009001 686768a5 \r\n02-04 15:27:28.920: I/DEBUG(3941): afd19364 220ce008 2b005eab 1c28d003 47889901 \r\n02-04 15:27:28.920: I/DEBUG(3941): afd19374 35544306 d5f43f01 2c006824 b003d1ee \r\n02-04 15:27:28.972: I/DEBUG(3941): afd19384 bdf01c30 000281a8 ffffff88 1c0fb5f0 \r\n02-04 15:27:28.972: I/DEBUG(3941): afd19394 43551c3d a904b087 1c16ac01 604d9004 \r\n02-04 15:27:28.972: I/DEBUG(3941): stack:\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda638 00000015 \r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda63c afd18407 /system/lib/libc.so\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda640 afd4270c /system/lib/libc.so\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda644 afd426b8 /system/lib/libc.so\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda648 00000000 \r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda64c afd19375 /system/lib/libc.so\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda650 002ab890 [heap]\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda654 afd183d9 /system/lib/libc.so\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda658 002c8cf0 [heap]\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda65c 0005eb82 [heap]\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda660 405e01e8 /dev/ashmem/dalvik-heap (deleted)\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda664 80085acc /system/lib/libdvm.so\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda668 002c8cf0 [heap]\r\n02-04 15:27:28.972: I/DEBUG(3941): 44fda66c afd18437 /system/lib/libc.so\r\n02-04 15:27:28.976: I/DEBUG(3941): 44fda670 df002777 \r\n02-04 15:27:28.976: I/DEBUG(3941): 44fda674 e3a070ad \r\n02-04 15:27:28.976: I/DEBUG(3941): #00 44fda678 00000001 \r\n02-04 15:27:28.976: I/DEBUG(3941): 44fda67c 8003774d /system/lib/libdvm.so\r\n02-04 15:27:28.976: I/DEBUG(3941): #01 44fda680 00000001 \r\n02-04 15:27:28.976: I/DEBUG(3941): 44fda684 80039a15 /system/lib/libdvm.so\r\n{code}", "attachment": [ { "id": "45638", "filename": "TC-3710_Build_DroidRazr_Device.txt", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T20:46:01.000+0000", "size": 10415, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Simple local WebView crashing on Android 2.3.3/5", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "CLI/SDK 3.2.0.GA\r\nCLI/SDK 3.2.1-beta3\r\nCLI 3.2.0.GA / SDK 3.1.3.GA", "comment": { "comments": [ { "id": "291125", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Same crash happens when you use the {{ti.styledlabel}} module.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-02-04T15:07:15.000+0000", "updated": "2014-02-04T15:07:28.000+0000" }, { "id": "291321", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Appears to be a duplicate of TIMOB-14947.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T06:38:17.000+0000", "updated": "2014-02-05T06:38:17.000+0000" }, { "id": "291328", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Yes, seems to be same, now why didn't I find those issues when I searched for them?\n\nAnyway, all of these linked issues are closed, with TIMOB-14947 saying it's not our bug. That's nice and all, but this means I need to educate my client to target 4+ instead of 2.3.3+ even though Titanium officially supports 2.3.3+ and still 20% of users run this version and even buying phones running it.\n\nSo whatever \"hack\" is needed, it would be very much welcomed!", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-02-05T07:19:34.000+0000", "updated": "2014-02-05T07:19:34.000+0000" }, { "id": "291422", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "All, to reiterate (and I edited the title of TIMOB-14947), this is an issue on the Android 2.3.3 emulator. We cannot fix that issue.\n\nIt _should_ work on a 2.3.3 device. We cannot reproduce the issue on a device. Hieu is asking if anyone can.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T16:10:44.000+0000", "updated": "2014-02-05T16:10:44.000+0000" }, { "id": "291445", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can reproduce this on 2.3.3 emulator. We do not have any 2.3.3/5 device to test it on though.\nTried on 2.3 7 device its not reproducible.\n\nConsole logs:\n{code}\n[DEBUG] : Window: Checkpoint: postWindowCreated()\n[WARN] : webcore: Can't get the viewWidth after the first layout\n[WARN] : dalvikvm: JNI WARNING: jarray 0x405de840 points to non-array object (Ljava/lang/String;)\n[INFO] : dalvikvm: \"WebViewCoreThread\" prio=5 tid=12 NATIVE\n[INFO] : dalvikvm: | group=\"main\" sCount=0 dsCount=0 obj=0x4055b4a8 self=0x3db898\n[INFO] : dalvikvm: | sysTid=352 nice=0 sched=0/0 cgrp=default handle=4045264\n[INFO] : dalvikvm: | schedstat=( 295161030 788985075 55 )\n[INFO] : dalvikvm: at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)\n[INFO] : dalvikvm: at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)\n[INFO] : dalvikvm: at android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:91)\n[INFO] : dalvikvm: at android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)\n[INFO] : dalvikvm: at android.os.Handler.dispatchMessage(Handler.java:99)\n[INFO] : dalvikvm: at android.os.Looper.loop(Looper.java:123)\n[INFO] : dalvikvm: at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:629)\n[INFO] : dalvikvm: at java.lang.Thread.run(Thread.java:1019)\n[INFO] : dalvikvm:\n[ERROR] : dalvikvm: VM aborting\n{code}\n\nEnvironment:\nAppc Studio : 3.2.1.201401311225\nTi SDK : 3.2.1.v20140203174850\nMac OSX : 10.8.5\nAlloy : 1.3.1-cr \t\nCLI - 3.2.1 beta3\nAndroid 2.3.3 emulator ", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T18:27:22.000+0000", "updated": "2014-02-05T18:27:22.000+0000" }, { "id": "291449", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "It crashes with me on emulator 2.3.3 and 2.3.5, but not on 2.3.7.\n\nClient had the crash on Htc HTC Desire S running Android 2.3.5.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-02-05T18:37:54.000+0000", "updated": "2014-02-05T18:37:54.000+0000" }, { "id": "291463", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~egomez] can you please try to reproduce with your 2.3.5 device?", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2014-02-05T19:20:26.000+0000", "updated": "2014-02-05T19:20:26.000+0000" }, { "id": "291475", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Tested on DROID RAZR 2.3.5 Webview load up and displays: \"Foo\" as expected.\r\n\r\nTitanium Command-Line Interface, CLI version 3.2.1-beta3, Titanium SDK version 3.2.1.v20140121132444\r\n\r\nAttaching Build process logs: TC-3710_Build_DroidRazr_Device.txt", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T20:46:01.000+0000", "updated": "2014-02-05T20:46:01.000+0000" }, { "id": "291613", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I've asked my client for his device to do more tests on. Will get back to you after that.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-02-06T07:53:11.000+0000", "updated": "2014-02-06T07:53:11.000+0000" }, { "id": "292070", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket until we get more information on the device use case. We would reopen this ticket once we have clear instructions to reproduce this crash on a deice. Emulator crash is already covered by TIMOB-14947.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-09T05:34:49.000+0000", "updated": "2014-02-09T05:34:49.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }