{ "id": "125491", "key": "TIMOB-16467", "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": "15935", "description": "2014 Sprint 06", "name": "2014 Sprint 06", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15936", "description": "2014 Sprint 06 SDK", "name": "2014 Sprint 06 SDK", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "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-03-23T23:50:11.000+0000", "created": "2014-01-28T07:04:25.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "Android", "Kitkat", "Webview" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:57:11.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": "Url is :\r\nhttp://webitstudios.com/staging/tom/comments.html?shortname=timesofmalta&title=MEP%20Joseph%20Cuschieri%20calls%20for%20removal%20of%20vehicle%20registration%20tax&url=http%3A%2F%2Fwww.timesofmalta.com%2Farticles%2Fview%2F20140125%2Flocal%2Fmep-joseph-cuschieri-calls-for-removal-of-vehicle-registration-tax.504037&identifier=article_504037\r\n\r\nThe testing scenario is as follows:\r\n\r\n\r\n \r\n\r\n\r\n//controller\r\n$.testWebView.url = \r\n$.testWindow.open();\r\n\r\nThe windows opens, succesfully. The page loads as well but upon scrolling the whole app crashes.\r\n\r\nThe error given is :\r\n01-25 17:43:50.019: D/OpenGLRenderer(2501): GL error from OpenGLRenderer: 0x502\r\n\r\nlog shows as follows: \r\n01-25 17:43:50.429: I/DEBUG(1238): signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 00000005\r\n01-25 17:43:51.079: I/DEBUG(1238): r0 00000005 r1 62b216a0 r2 ffffffff r3 00000005\r\n01-25 17:43:51.089: I/DEBUG(1238): r4 62b216e8 r5 660fcb98 r6 660fcb50 r7 62b216a0\r\n01-25 17:43:51.089: I/DEBUG(1238): r8 403c9fb1 r9 660fcdd0 sl be802ecc fp 00000000\r\n01-25 17:43:51.099: I/DEBUG(1238): ip 407c1bec sp 660fcb30 lr 406bdd65 pc 40396614 cpsr 00020010\r\n01-25 17:43:51.099: I/DEBUG(1238): d0 40077a080b000501 d1 0000000500000000\r\n01-25 17:43:51.099: I/DEBUG(1238): d2 00000019ffffffff d3 64bfdcb8403681c0\r\n01-25 17:43:51.109: I/DEBUG(1238): d4 0000000200000000 d5 4000000000000000\r\n01-25 17:43:51.109: I/DEBUG(1238): d6 4000000040000000 d7 00000000448c4000\r\n01-25 17:43:51.109: I/DEBUG(1238): d8 0000000040000000 d9 4024000000000000\r\n01-25 17:43:51.109: I/DEBUG(1238): d10 4014000000000000 d11 4024000000000000\r\n01-25 17:43:51.109: I/DEBUG(1238): d12 0000000000000000 d13 0000000000000000\r\n01-25 17:43:51.119: I/DEBUG(1238): d14 0000000000000000 d15 0000000000000000\r\n01-25 17:43:51.119: I/DEBUG(1238): d16 3ff0000000000000 d17 0000000000000000\r\n01-25 17:43:51.119: I/DEBUG(1238): d18 0000000000000000 d19 4086800000000000\r\n01-25 17:43:51.119: I/DEBUG(1238): d20 4000000000000000 d21 4010000000000000\r\n01-25 17:43:51.119: I/DEBUG(1238): d22 4086a00000000000 d23 4091880000000000\r\n01-25 17:43:51.129: I/DEBUG(1238): d24 4000000000000000 d25 4010000000000000\r\n01-25 17:43:51.129: I/DEBUG(1238): d26 3ff0000000000000 d27 0000000000000000\r\n01-25 17:43:51.129: I/DEBUG(1238): d28 3ff0000000000000 d29 0000000000000000\r\n01-25 17:43:51.129: I/DEBUG(1238): d30 0000000000000000 d31 0000000000000000\r\n01-25 17:43:51.129: I/DEBUG(1238): scr 88000017\r\n01-25 17:43:51.139: I/DEBUG(1238): backtrace:\r\n01-25 17:43:51.149: I/DEBUG(1238): #00 pc 00003614 /system/lib/libcutils.so (android_atomic_inc+8)\r\n01-25 17:43:51.149: I/DEBUG(1238): #01 pc 000b2d61 /system/lib/libskia.so (SkPaint::SkPaint(SkPaint const&)+46)\r\n01-25 17:43:51.149: I/DEBUG(1238): #02 pc 000257eb /system/lib/libhwui.so\r\n01-25 17:43:51.149: I/DEBUG(1238): #03 pc 00025fe9 /system/lib/libhwui.so\r\n01-25 17:43:51.159: I/DEBUG(1238): #04 pc 00025da7 /system/lib/libhwui.so\r\n01-25 17:43:51.159: I/DEBUG(1238): #05 pc 0000ed73 /system/lib/libhwui.so\r\n01-25 17:43:51.159: I/DEBUG(1238): #06 pc 0000f445 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+104)\r\n01-25 17:43:51.159: I/DEBUG(1238): #07 pc 000525a9 /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)\r\n01-25 17:43:51.159: I/DEBUG(1238): #08 pc 0000efe7 /system/lib/libutils.so\r\n01-25 17:43:51.169: I/DEBUG(1238): #09 pc 0000d228 /system/lib/libc.so (__thread_entry+72)\r\n01-25 17:43:51.169: I/DEBUG(1238): #10 pc 0000d3c0 /system/lib/libc.so (pthread_create+240)\r\n01-25 17:43:51.169: W/NFC-LLC(878): LLC length mis-match\r\n01-25 17:43:51.169: I/DEBUG(1238): stack:\r\n01-25 17:43:51.169: I/DEBUG(1238): 660fcaf0 00000001 \r\n01-25 17:43:51.179: I/DEBUG(1238): 660fcaf4 652fe0f0 \r\n01-25 17:43:51.179: I/DEBUG(1238): 660fcaf8 00000000 \r\n01-25 17:43:51.179: I/DEBUG(1238): 660fcafc 00000000 \r\n01-25 17:43:51.189: I/DEBUG(1238): 660fcb00 00000000 \r\n01-25 17:43:51.189: I/DEBUG(1238): 660fcb04 403c9fb1 /system/lib/libutils.so\r\n01-25 17:43:51.189: I/DEBUG(1238): 660fcb08 660fcdd0 [stack:3220]\r\n01-25 17:43:51.189: I/DEBUG(1238): 660fcb0c be802ecc [stack]\r\n01-25 17:43:51.189: I/DEBUG(1238): 660fcb10 00000000 \r\n01-25 17:43:51.189: I/DEBUG(1238): 660fcb14 4069bfe1 /system/lib/libskia.so (SkBitmap::eraseARGB(unsigned int, unsigned int, unsigned int, unsigned int) const+56)\r\n01-25 17:43:51.189: I/DEBUG(1238): 660fcb18 00000000 \r\n01-25 17:43:51.199: I/DEBUG(1238): 660fcb1c 00000000 \r\n01-25 17:43:51.199: I/DEBUG(1238): 660fcb20 00000000 \r\n01-25 17:43:51.199: I/DEBUG(1238): 660fcb24 00000000 \r\n01-25 17:43:51.199: I/DEBUG(1238): 660fcb28 000002d4 \r\n01-25 17:43:51.199: I/DEBUG(1238): 660fcb2c 00000466 \r\n01-25 17:43:51.199: I/DEBUG(1238): #00 660fcb30 652fe0fc \r\n01-25 17:43:51.209: I/DEBUG(1238): ........ ........\r\n01-25 17:43:51.209: I/DEBUG(1238): #01 660fcb30 652fe0fc \r\n01-25 17:43:51.209: I/DEBUG(1238): 660fcb34 00000000 \r\n01-25 17:43:51.209: I/DEBUG(1238): 660fcb38 652fe0f0 \r\n01-25 17:43:51.209: I/DEBUG(1238): 660fcb3c 62b21270 \r\n01-25 17:43:51.209: I/DEBUG(1238): 660fcb40 62b216a0 \r\n01-25 17:43:51.219: I/DEBUG(1238): 660fcb44 40cd87ef /system/lib/libhwui.so\r\n01-25 17:43:51.219: I/DEBUG(1238): #02 660fcb48 00000000 \r\n01-25 17:43:51.219: I/DEBUG(1238): 660fcb4c 00000000 \r\n01-25 17:43:51.219: I/DEBUG(1238): 660fcb50 00000001 \r\n01-25 17:43:51.219: I/DEBUG(1238): 660fcb54 00000020 \r\n01-25 17:43:51.229: I/DEBUG(1238): 660fcb58 00000000 \r\n01-25 17:43:51.229: I/DEBUG(1238): 660fcb5c 00000000 \r\n01-25 17:43:51.229: I/DEBUG(1238): 660fcb60 652fd014 \r\n01-25 17:43:51.229: I/DEBUG(1238): 660fcb64 655d41ec \r\n01-25 17:43:51.229: I/DEBUG(1238): 660fcb68 00000000 \r\n01-25 17:43:51.229: I/DEBUG(1238): 660fcb6c 431e0000 /dev/ashmem/dalvik-heap (deleted)\r\n01-25 17:43:51.239: I/DEBUG(1238): 660fcb70 44340000 /dev/ashmem/dalvik-heap (deleted)\r\n01-25 17:43:51.239: I/DEBUG(1238): 660fcb74 44a00000 /dev/ashmem/dalvik-heap (deleted)\r\n01-25 17:43:51.239: I/DEBUG(1238): 660fcb78 00000000 \r\n01-25 17:43:51.239: I/DEBUG(1238): 660fcb7c 00000005 \r\n01-25 17:43:51.239: I/DEBUG(1238): 660fcb80 ffffffff \r\n01-25 17:43:51.249: I/DEBUG(1238): 660fcb84 00000019 \r\n01-25 17:43:51.249: I/DEBUG(1238): ........ ........", "attachment": [], "flagged": false, "summary": "Android: Kitkat Webview crashing on scroll in specific case", "creator": { "name": "michael@webitstudios.com", "key": "michael@webitstudios.com", "displayName": "Michael DeGiovanni", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael@webitstudios.com", "key": "michael@webitstudios.com", "displayName": "Michael DeGiovanni", "active": true, "timeZone": "Europe/Berlin" }, "environment": "3.2.0GA & continuous builds\r\nAndroid 4.4.2", "comment": { "comments": [ { "id": "290451", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tried to reproduce the issue on Galaxy S4 4.4.2 Kitkat and was not able to reproduce it. I was able to scroll the whole page up and down many times and it was not crashing. I used the same link that you have provided for testing.\n\nIs your app crashing on any particular device?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-30T18:35:03.000+0000", "updated": "2014-01-30T18:35:03.000+0000" }, { "id": "290459", "author": { "name": "michael@webitstudios.com", "key": "michael@webitstudios.com", "displayName": "Michael DeGiovanni", "active": true, "timeZone": "Europe/Berlin" }, "body": "I have tested this on a rooted Sony Xperia S and a Nexus 4, both running Kitkat 4.4.2 . The code base, is slightly different from the example in the sense that there is other content in the window. I don;t have it actually at the moment in front of me. Tomorrow morning once I step back in work I will post the full example. If I rememebr correctly however, one thing that I had added was a a height set to fill its parent on the webView. will confirm this tomorrow, once I have the exact example in front of me. Sorry for th inconvenience", "updateAuthor": { "name": "michael@webitstudios.com", "key": "michael@webitstudios.com", "displayName": "Michael DeGiovanni", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-01-30T19:07:45.000+0000", "updated": "2014-01-30T19:07:45.000+0000" }, { "id": "290594", "author": { "name": "michael@webitstudios.com", "key": "michael@webitstudios.com", "displayName": "Michael DeGiovanni", "active": true, "timeZone": "Europe/Berlin" }, "body": "The following video shows whats happening on the device: \r\nhttps://drive.google.com/file/d/0B1c4YZdcsl3Jb2pJdFBJVUoxTUk/edit?usp=sharing\r\n\r\nHere is the code for the widget invoking the above mentioned url\r\n\r\n{code:title=widget.xml|borderStyle=solid}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n{code:title=widget.tss|borderStyle=solid}\r\n\"#commentsWindow\" :{\r\n\tbackgroundColor:'#ffffff',\r\n\twidth:\"100%\",\r\n\theight:\"100%\",\r\n\tnavBarHidden:true,\r\n\tlayout:'vertical'\r\n\t\r\n},\r\n\"#commentsView\" :{\r\n\twidth:Ti.UI.FILL,\r\n\theight:Ti.UI.FILL,\r\n\tbackgroundColor:\"#ffffff\",\r\n\topacity:\"1.0\",\r\n\tborderColor:\"#dedede\",\r\n\t\r\n},\r\n\"#closeButton\":{\r\n\twidth:\"30%\",\r\n\theight:\"20dp\",\r\n\tbackgroundColor:\"#efefef\",\r\n\tborderWidth:1,\r\n\tborderColor:\"#cccccc\",\r\n\ttop: \"4%\",\r\n\tzIndex:2,\r\n\ttitle:\"close\",\r\n\ttintColor:\"#464646\",\r\n\tfont :{fontSize: 8}\r\n},\r\n\"#logoContainer\":{\r\n\twidth : '100%',\r\n\tlayout :'horizontal',\r\n\theight:'54dp',\r\n\tbackgroundColor : '#0072aa'\r\n},\r\n\"#logoContainer[platform=ios]\":{\r\n\theight:'64dp'\r\n},\r\n\"#iosFiller\":{\r\n\twidth:'100%',\r\n\theight:'11dp'\r\n},\r\n\".menuBtn\":{\r\n\twidth : '40dp',\r\n\theight : '40dp',\r\n\tleft :'10dp',\r\n\ttop: '5dp',\r\n\ttintColor: \"#ffffff\"\r\n\t\r\n},\r\n\".shareBtn\":{\r\n\twidth : '40dp',\r\n\theight : '40dp',\r\n\tright :'10dp',\r\n\ttop: '5dp',\r\n\ttintColor: \"#ffffff\"\r\n\t\r\n},\r\n\".commentBtn\":{\r\n\twidth : '40dp',\r\n\theight : '40dp',\r\n\tright :'60dp',\r\n\ttop: '7dp',\r\n\tvisible:false,\r\n\ttintColor: \"#ffffff\",\r\n\tfont: {fontSize:'10dp'}\r\n},\r\n\".titleBar\" :{\r\n\twidth: '55%',\r\n\tleft : '2%',\r\n\tcolor: '#ffffff',\r\n\tfont : {\r\n\t\tfontSize: '28dp',\r\n\t\tfontWeight : 'bold',\r\n\t\tfontFamily : 'PT Sans Narrow'\r\n\t}\r\n},\r\n\".titleBar[platform=android]\":{\r\n\tfont : {fontSize: '28dp', fontWeight : 'bold',fontFamily :'PT_Sans-Narrow-Web-Bold'}\r\n}\r\n{code}\r\n\r\n\r\n{code:title=widget.js|borderStyle=solid}\r\nvar args = arguments[0] || {};\r\n//form url\r\nvar url = \"http://webitstudios.com/staging/tom/comments.html\";\r\nurl += '?shortname='+encodeURIComponent(args.shortname);\r\nurl += '&title='+encodeURIComponent(args.title);\r\nurl += '&url='+encodeURIComponent(args.url);\r\nurl += '&identifier='+encodeURIComponent(args.identifier);\r\nvar firstTime = 0;\r\n//capture urls when the user tries to login\r\n$.commentsView.addEventListener('load',function(){\r\n\t\tvar patterns = [ \"disqus.com/next/login-success\", \"disqus.com/_ax/google/complete\", \"disqus.com/_ax/twitter/complete\", \"disqus.com/_ax/facebook/complete\" ];\r\n \t\tif ($.commentsView.url.indexOf(patterns[0]) >0 ||$.commentsView.url.indexOf(patterns[1]) >0 || $.commentsView.url.indexOf(patterns[2]) >0 || $.commentsView.url.indexOf(patterns[3]) >0){\r\n \t\t\tfirstTime =0;\r\n \t\t\t$.commentsView.url = url;\r\n \t\t}\r\n});\r\n//set url\r\n$.commentsView.url = url;\r\n//close window on click\r\n$.menuBtn.addEventListener('click',function(e){\r\n\t\t$.commentsWindow.close();\r\n});\r\n//open window\r\n$.commentsWindow.open(); \r\n{code}\r\n", "updateAuthor": { "name": "michael@webitstudios.com", "key": "michael@webitstudios.com", "displayName": "Michael DeGiovanni", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-01-31T06:38:00.000+0000", "updated": "2014-01-31T07:02:51.000+0000" }, { "id": "291114", "author": { "name": "michael@webitstudios.com", "key": "michael@webitstudios.com", "displayName": "Michael DeGiovanni", "active": true, "timeZone": "Europe/Berlin" }, "body": "After I removed the styling settings in the tss file, on \"#commentsView\" (aka the webview), it worked properly. could it be an issue with one of these properties?", "updateAuthor": { "name": "michael@webitstudios.com", "key": "michael@webitstudios.com", "displayName": "Michael DeGiovanni", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-02-04T12:57:09.000+0000", "updated": "2014-02-04T12:57:09.000+0000" }, { "id": "291318", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "That helps. You are specifying 5 properties in #commentsView so it would be good to narrow it down further to a specific property that is causing this issue. For example, does the following setting work or reproduce the crash?\n\n#commentsView\" :{\n width:Ti.UI.FILL,\n height:Ti.UI.FILL\n}\n\nBTW, I noticed that your code has an extra comma after the last property in this section as well.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T06:01:32.000+0000", "updated": "2014-02-05T06:01:32.000+0000" }, { "id": "292068", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~michael@webitstudios.com] Did you get a chance to try out the above suggestion?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-09T05:26:16.000+0000", "updated": "2014-02-09T05:26:16.000+0000" }, { "id": "293396", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this issue on Android 4.4 device. It does not crash consistently but you can reproduce it once every few times.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-17T07:32:54.000+0000", "updated": "2014-02-17T07:32:54.000+0000" }, { "id": "296899", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can't reproduce this. This is the code I use: \n{code}\nvar win = Ti.UI.createWindow();\nvar webview = Ti.UI.createWebView({\n url:'http://webitstudios.com/staging/tom/comments.html?shortname=timesofmalta&title=MEP%20Joseph%20Cuschieri%20calls%20for%20removal%20of%20vehicle%20registration%20tax&url=http%3A%2F%2Fwww.timesofmalta.com%2Farticles%2Fview%2F20140125%2Flocal%2Fmep-joseph-cuschieri-calls-for-removal-of-vehicle-registration-tax.504037&identifier=article_504037',\n});\nwin.add(webview);\nwin.open();\n{code}", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-12T21:55:07.000+0000", "updated": "2014-03-12T21:55:07.000+0000" }, { "id": "302092", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested [~hpham] code on the Nexus 4 Android version 4.4 and cannot reproduce the issue with\r\n\r\nTitanium SDK, build 3.3.0.v20140418162516\r\nNode.JS Version: v0.10.13\r\nNPM Version: 1.3.2\r\n├── acs@1.0.14\r\n├── alloy@1.3.1\r\n├── node-appc@0.2.0\r\n├── npm@1.3.2\r\n├── titanium@3.3.0-dev\r\n└── titanium-code-processor@1.1.1-beta1\r\nnpm -g ls titanium: /usr/local/lib\r\n└── titanium@3.3.0-dev (git://github.com/appcelerator/titanium.git#93414d143051df4578b7aa42670008e5ef02c422)\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-22T22:43:03.000+0000", "updated": "2014-04-22T22:43:03.000+0000" }, { "id": "414506", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:57:11.000+0000", "updated": "2017-03-21T21:57:11.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }