{ "id": "118974", "key": "TIMOB-14947", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-10-08T21:40:09.000+0000", "created": "2013-08-23T21:04:59.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "defect", "emulator", "regression", "titanbeta" ], "versions": [], "issuelinks": [ { "id": "32158", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "63314", "key": "TIMOB-2682", "fields": { "summary": "Android: 2.3, Crash on load of test case \"logging and unicode\" ", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "32159", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "87374", "key": "TIMOB-7887", "fields": { "summary": "Android: Gingerbread 2.3.X: Emulator: WebView evalJS crashes app", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "32364", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "120912", "key": "TIMOB-15419", "fields": { "summary": "Android: WebView problem in Android 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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "31297", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "110638", "key": "TIMOB-12962", "fields": { "summary": "Android: XHR request not working on OS 2.x with SDK 3.0.2 GA", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34979", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "125813", "key": "AC-2322", "fields": { "summary": "Android: Simple local WebView crashing on Android 2.3.3/5", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34157", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "109204", "key": "AC-2496", "fields": { "summary": "Android: KitchenSink->Platform->XHR->File Download->Set Web View (url) craches", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "32406", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "114900", "key": "TIMOB-13983", "fields": { "summary": "Android: Titanium should use the latest stable Android SDK and NDK and not depend on 2.2 API 8", "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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T20:56:41.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": "*Problem*\r\nTrying to display a simple WebView crashes on Android 2.3.3. The specific webpage is not important...I have included one in the testcase below that is very simple. The page displays for a brief moment, and then the app completely crashes and closes.\r\n\r\n*Test case*\r\n{code:javascript}\r\nvar win1 = Ti.UI.createWindow({\r\n\tlayout : 'vertical'\r\n});\r\nvar WebView = Ti.UI.createWebView({\r\n\turl : 'http://www.york.ac.uk/teaching/cws/wws/webpage1.html'\r\n});\r\nwin1.add(WebView);\r\nwin1.open();\r\n{code}\r\n\r\n*Crash Log*\r\n{code}\r\n[WARN][dalvikvm( 453)] JNI WARNING: jarray 0x4051e900 points to non-array object (Ljava/lang/String;)\r\n[INFO][dalvikvm( 453)] \"WebViewCoreThread\" prio=5 tid=13 NATIVE\r\n[INFO][dalvikvm( 453)] | group=\"main\" sCount=0 dsCount=0 obj=0x40510d98 self=0x20e4f0\r\n[INFO][dalvikvm( 453)] | sysTid=468 nice=0 sched=0/0 cgrp=default handle=2156072\r\n[INFO][dalvikvm( 453)] | schedstat=( 332645819 649272130 82 )\r\n[INFO][dalvikvm( 453)] at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)\r\n[INFO][dalvikvm( 453)] at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)\r\n[INFO][dalvikvm( 453)] at android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:91)\r\n[INFO][dalvikvm( 453)] at android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)\r\n[INFO][dalvikvm( 453)] at android.os.Handler.dispatchMessage(Handler.java:99)\r\n[INFO][dalvikvm( 453)] at android.os.Looper.loop(Looper.java:123)\r\n[INFO][dalvikvm( 453)] at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:629)\r\n[INFO][dalvikvm( 453)] at java.lang.Thread.run(Thread.java:1019)\r\n[INFO][dalvikvm( 453)] \r\n[ERROR][dalvikvm( 453)] VM aborting\r\n[INFO][DEBUG ( 31)] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\r\n[INFO][DEBUG ( 31)] Build fingerprint: 'generic/sdk/generic:2.3.3/GRI34/101070:eng/test-keys'\r\n[INFO][DEBUG ( 31)] pid: 453, tid: 468 >>> com.eCotton.WebViewTest <<<\r\n[INFO][DEBUG ( 31)] signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d\r\n[INFO][DEBUG ( 31)] r0 fffffec4 r1 deadd00d r2 00000026 r3 00000000\r\n[INFO][DEBUG ( 31)] r4 800a45c0 r5 4051e900 r6 80085acc r7 0020e6f0\r\n[INFO][DEBUG ( 31)] r8 45fffb58 r9 45d57f1c 10 45d57f04 fp 437cd8a0\r\n[INFO][DEBUG ( 31)] ip 800a4720 sp 45fff678 lr afd19375 pc 80045a4a cpsr 20000030\r\n[INFO][DEBUG ( 31)] #00 pc 00045a4a /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #01 pc 00037748 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #02 pc 00039a10 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #03 pc 0003a4ec /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #04 pc 002989d6 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #05 pc 002120a4 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #06 pc 00113216 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #07 pc 00212b70 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #08 pc 002c716e /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #09 pc 002ca4c6 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #10 pc 002d83b0 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #11 pc 002cfae8 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #12 pc 00210094 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #13 pc 00210112 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #14 pc 00210180 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #15 pc 001e7cc6 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #16 pc 0007eeda /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #17 pc 0007ef84 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #18 pc 0011b076 /system/lib/libwebcore.so\r\n[INFO][DEBUG ( 31)] #19 pc 00017d74 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #20 pc 00048f08 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #21 pc 00041ab6 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #22 pc 0001cfd4 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #23 pc 000220dc /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #24 pc 00020fd0 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #25 pc 0005f430 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #26 pc 0005f656 /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #27 pc 00053b4e /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #28 pc 00011a7c /system/lib/libc.so\r\n[INFO][DEBUG ( 31)] #29 pc 00011640 /system/lib/libc.so\r\n[INFO][DEBUG ( 31)] \r\n[INFO][DEBUG ( 31)] code around pc:\r\n[INFO][DEBUG ( 31)] 80045a28 447a4479 ed0cf7d1 20004c09 ee34f7d1 \r\n[INFO][DEBUG ( 31)] 80045a38 447c4808 6bdb5823 d0002b00 49064798 \r\n[INFO][DEBUG ( 31)] 80045a48 700a2226 eea0f7d1 000436b7 00045275 \r\n[INFO][DEBUG ( 31)] 80045a58 0005eb82 fffffec4 deadd00d b510b40e \r\n[INFO][DEBUG ( 31)] 80045a68 4c0a4b09 447bb083 aa05591b 6b5bca02 \r\n[INFO][DEBUG ( 31)] \r\n[INFO][DEBUG ( 31)] code around lr:\r\n[INFO][DEBUG ( 31)] afd19354 b0834a0d 589c447b 26009001 686768a5 \r\n[INFO][DEBUG ( 31)] afd19364 220ce008 2b005eab 1c28d003 47889901 \r\n[INFO][DEBUG ( 31)] afd19374 35544306 d5f43f01 2c006824 b003d1ee \r\n[INFO][DEBUG ( 31)] afd19384 bdf01c30 000281a8 ffffff88 1c0fb5f0 \r\n[INFO][DEBUG ( 31)] afd19394 43551c3d a904b087 1c16ac01 604d9004 \r\n[INFO][DEBUG ( 31)] \r\n[INFO][DEBUG ( 31)] stack:\r\n[INFO][DEBUG ( 31)] 45fff638 00000015 \r\n[INFO][DEBUG ( 31)] 45fff63c afd18407 /system/lib/libc.so\r\n[INFO][DEBUG ( 31)] 45fff640 afd4270c /system/lib/libc.so\r\n[INFO][DEBUG ( 31)] 45fff644 afd426b8 /system/lib/libc.so\r\n[INFO][DEBUG ( 31)] 45fff648 00000000 \r\n[INFO][DEBUG ( 31)] 45fff64c afd19375 /system/lib/libc.so\r\n[INFO][DEBUG ( 31)] 45fff650 0020e4f0 [heap]\r\n[INFO][DEBUG ( 31)] 45fff654 afd183d9 /system/lib/libc.so\r\n[INFO][DEBUG ( 31)] 45fff658 0020e6f0 [heap]\r\n[INFO][DEBUG ( 31)] 45fff65c 0005eb82 [heap]\r\n[INFO][DEBUG ( 31)] 45fff660 4051e900 /dev/ashmem/dalvik-heap (deleted)\r\n[INFO][DEBUG ( 31)] 45fff664 80085acc /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] 45fff668 0020e6f0 [heap]\r\n[INFO][DEBUG ( 31)] 45fff66c afd18437 /system/lib/libc.so\r\n[INFO][DEBUG ( 31)] 45fff670 df002777 \r\n[INFO][DEBUG ( 31)] 45fff674 e3a070ad \r\n[INFO][DEBUG ( 31)] #00 45fff678 00000001 \r\n[INFO][DEBUG ( 31)] 45fff67c 8003774d /system/lib/libdvm.so\r\n[INFO][DEBUG ( 31)] #01 45fff680 00000001 \r\n[INFO][DEBUG ( 31)] 45fff684 80039a15 /system/lib/libdvm.so\r\n[INFO][ActivityManager( 71)] Process com.eCotton.WebViewTest (pid 453) has died.\r\n[ERROR][InputDispatcher( 71)] channel '409a58e8 com.eCotton.WebViewTest/com.eCotton.WebViewTest.WebviewtestActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8\r\n[ERROR][InputDispatcher( 71)] channel '409a58e8 com.eCotton.WebViewTest/com.eCotton.WebViewTest.WebviewtestActivity (server)' ~ Channel is unrecoverably broken and will be disposed!\r\n[INFO][WindowManager( 71)] WIN DEATH: Window{409a58e8 com.eCotton.WebViewTest/com.eCotton.WebViewTest.WebviewtestActivity paused=false}\r\n[WARN][InputManagerService( 71)] Got RemoteException sending setActive(false) notification to pid 453 uid 10034\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: WebView crashes on Android 2.3.3 Emulator", "creator": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "environment": "Ti SDK 2.1.4 GA\r\nTi SDK 3.1.0.GA\r\nTi SDK 3.1.2.GA\r\nTi Studio 3.1.2.201308091617\r\nWindows 7\r\nMac 10.8.2\r\nAndroid 2.3.3 emulator", "comment": { "comments": [ { "id": "267975", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on Android Emulator 2.3.3, with 2.1.4, 3.0.0, 3.1.2, crash occured in all. Tested with other Android versions no crash occurred.", "updateAuthor": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-23T22:27:06.000+0000", "updated": "2013-08-23T22:27:06.000+0000" }, { "id": "267979", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Appears to be duplicates of the linked issues. We can see if there is any way to improve the situation.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-23T22:34:29.000+0000", "updated": "2013-08-23T22:34:29.000+0000" }, { "id": "268018", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "On an Android 2.3.4 device (HTC), the WebView doesn't crash, but I get a \"Web page not available\" error.\n\nThe web page displays fine on the 2.3.6 and 2.3.7 devices I tested with.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-23T23:58:00.000+0000", "updated": "2013-08-23T23:58:00.000+0000" }, { "id": "274260", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is not our bug, and unfortunately any solution we can come to is a hack. However, this will be mitigated in large part by the fix for TIMOB-13983 where we won't default to the 2.3.3 android emulator by default, so users won't run into the issue nearly so often.\r\n\r\nFrom a duplicate of this issue:\r\n\r\nThe 2.3 emulator has a known defect that means we can't use our Java <-> JS bridge (meaning any KS WebView tests will fail in the emulator). I tested this on my Nexus S and it looks fine, for\r\nany WebView tests we'll just have to use device only for now until Google gives us a fixed emulator.\r\n\r\nAndroid 2.3 Emulator / WebView bug: http://code.google.com/p/android/issues/detail?id=12987", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-08T21:40:09.000+0000", "updated": "2014-02-05T16:10:12.000+0000" }, { "id": "416245", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as it has been established that the issue is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T20:56:41.000+0000", "updated": "2017-03-29T20:56:41.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }