{ "id": "166823", "key": "TIMOB-24540", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-12-04T18:00:38.000+0000", "created": "2017-03-28T11:53:04.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "19275", "description": "Patch release for 6.0.x regressions or important fixes", "name": "Release 6.0.3", "archived": false, "released": true, "releaseDate": "2017-03-22" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-12-04T18:00:38.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": "Hi,\r\nTitanium.UI.WebView app crashes on Android 7 (API 24) but it working as expected on android 6\r\n\r\nTest Code:\r\n{code}\r\nvar webview = Titanium.UI.createWebView({\r\n\turl : 'http://www.appcelerator.com'\r\n});\r\nvar window = Titanium.UI.createWindow();\r\nwindow.add(webview);\r\nwindow.open({\r\n\tmodal : true\r\n});\r\n{code}\r\n\r\nError Log:\r\n{code}\r\n[WARN] : art: Unexpected CPU variant for X86 using defaults: x86\r\n[INFO] : TiApplication: (main) [0,0] checkpoint, app created.\r\n[INFO] : TiApplication: (main) [27,27] Titanium 6.0.3 (2017/03/22 12:00 undefined)\r\n[INFO] : MultiDex: VM with version 2.1.0 has multidex support\r\n[INFO] : MultiDex: install\r\n[INFO] : MultiDex: VM has multidex support, MultiDex support library is disabled.\r\n[INFO] : TiApplication: (main) [31,308] Titanium Javascript runtime: v8\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.am.Android7.Android7Activity@1c9e9df\r\n[WARN] : V8Object: (main) [250,277] Runtime disposed, cannot set property 'userAgent'\r\n[ERROR] : libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library \"/system/lib/egl/libGLES_emulation.so\" not found\r\n[INFO] : OpenGLRenderer: Initialized EGL, version 1.4\r\n[INFO] : WebViewFactory: Loading com.android.webview version 51.0.2704.91 (code 275509110)\r\n[WARN] : System: ClassLoader referenced unknown path: /system/app/webview/lib/x86\r\n[INFO] : cr_LibraryLoader: Time to load native libraries: 1 ms (timestamps 4509-4510)\r\n[INFO] : cr_LibraryLoader: Expected native library version number \"51.0.2704.91\", actual native library version number \"51.0.2704.91\"\r\n[INFO] : cr_LibraryLoader: Expected native library version number \"51.0.2704.91\", actual native library version number \"51.0.2704.91\"\r\n[INFO] : chromium: [INFO:library_loader_hooks.cc(143)] Chromium logging enabled: level = 0, default verbosity = 0\r\n[INFO] : cr_BrowserStartup: Initializing chromium process, singleProcess=true\r\n[ERROR] : ApkAssets: Error while loading asset assets/natives_blob_64.bin: java.io.FileNotFoundException: assets/natives_blob_64.bin\r\n[ERROR] : ApkAssets: Error while loading asset assets/snapshot_blob_64.bin: java.io.FileNotFoundException: assets/snapshot_blob_64.bin\r\n[INFO] : cr_DRP: No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp\r\n[WARN] : cr_media: Requires BLUETOOTH permission\r\n[WARN] : cr_AwContents: onDetachedFromWindow called when already detached. Ignoring\r\n[INFO] : cr_Ime: ImeThread is not enabled.\r\n[ERROR] : libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)\r\n[WARN] : AudioCapabilities: Unsupported mime audio/x-pcm\r\n[INFO] : VideoCapabilities: Unsupported profile 4 for video/mp4v-es\r\n[INFO] : Choreographer: Skipped 33 frames! The application may be doing too much work on its main thread.\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [GroupMarkerNotSet(crbug.com/242999)!:547CE1C7]GL ERROR :GL_INVALID_OPERATION : BackFramebuffer::Create: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:buffer_manager.cc(427)] [GroupMarkerNotSet(crbug.com/242999)!:545B47CA]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command\r\n[WARN] : cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 2755\r\n[ERROR] : chromium: [ERROR:texture_manager.cc(2746)] [.CommandBufferContext.RenderCompositor-0xe435d860]GL ERROR :GL_INVALID_OPERATION : glTexImage2D: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[ERROR] : chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [.CommandBufferContext.RenderWorker-0xe435d940]GL ERROR :GL_INVALID_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command\r\n[WARN] : error while updating tiapp data with appc platform: \r\n{code}\r\n\r\nEnvironment:\r\n{code}\r\nGoogle Nexus 5X - 7.0.0 - API 24 - 1080x1920\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.4.4\r\n npm Version = 2.15.1\r\nTitanium CLI\r\n CLI Version = 5.0.11\r\nTitanium SDK\r\n SDK Version = 6.0.3.GA\r\n{code}", "attachment": [ { "id": "61936", "filename": "70.png", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T14:01:27.000+0000", "size": 261398, "mimeType": "image/png" }, { "id": "61935", "filename": "71.png", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T14:01:27.000+0000", "size": 254732, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Ti.UI.WebView app crashes on Android 7 (API 24)", "creator": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "environment": null, "comment": { "comments": [ { "id": "416133", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Could not reproduce on 7.0 and 7.1. [~lchoudhary] could you try on a 7.0 and 7.1 device?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T14:02:19.000+0000", "updated": "2017-03-29T14:02:19.000+0000" }, { "id": "416174", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "I am unable to reproduce the error on 7.1.2 Pixel XL and nexus 6P 7.1.1", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2017-03-29T16:27:58.000+0000", "updated": "2017-03-29T16:27:58.000+0000" }, { "id": "416826", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "I could not reproduce this issue with the following environment\r\nTi SDK 6.0.3 and Google Nexus 5X 7.0.0 emulator \r\n\r\nThanks", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-04-05T08:56:27.000+0000", "updated": "2017-04-05T08:56:27.000+0000" }, { "id": "416901", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello!\r\n\r\nI can reproduce this issue specific this emulator\r\n\r\nAndroid 7 \r\nCPU Intel atom 86X\r\nGalaxy Nexus 4.65\"\r\nMemory 1024 MB\r\n\r\nTi SDK 6.0.3.GA, 6.0.2.GA, 6.0.1.GA\r\n\r\n[~jlongton] can you check it? But all other emulator it works fine. \r\n\r\nThanks.", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-04-06T04:08:58.000+0000", "updated": "2017-04-06T04:10:48.000+0000" }, { "id": "417909", "author": { "name": "mkhazbak", "key": "mkhazbak", "displayName": "Mohammad Khazbak", "active": true, "timeZone": "Africa/Johannesburg" }, "body": "The issue is reproduced on physical device Galaxy S7 Edge with Android 7.0. The following is the crash report from Google Play:\r\n\r\ncom.beltonefinancial.beltone,2017-04-23T14:39:08Z,1492958348787,hero2lte,24,2.5.48,57,java.lang.RuntimeException,Canvas: trying to draw too large(132710400bytes) bitmap.,DisplayListCanvas.java,android.view.DisplayListCanvas,throwIfCannotDraw", "updateAuthor": { "name": "mkhazbak", "key": "mkhazbak", "displayName": "Mohammad Khazbak", "active": true, "timeZone": "Africa/Johannesburg" }, "created": "2017-04-24T14:54:03.000+0000", "updated": "2017-04-24T14:54:03.000+0000" }, { "id": "418617", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tried to reproduce on:\r\nAndroid 7.0 x86 emu -- page loads, below errors seen, no app crash.\r\nGenymotion Galaxy S8 android 7.0 -- page loads, below errors seen, no app crash.\r\nNexus 6P android 7.1.2 -- page loads no app crash.\r\nPixel android 7.1 -- page loads no app crash.\r\n\r\nThough these errors are seen consistently:\r\n{code}\r\n[ERROR] : ApkAssets: Error while loading asset assets/natives_blob_64.bin: java.io.FileNotFoundException: assets/natives_blob_64.bin\r\n[ERROR] : ApkAssets: Error while loading asset assets/snapshot_blob_64.bin: java.io.FileNotFoundException: assets/snapshot_blob_64.bin\r\n{code}\r\nI am not seeing any app crash.\r\n\r\nStudio Ver : 4.8.1.201612050850\r\nSDK Ver : 6.0.3.GA, 6.0.4.GA\r\nOS Ver : 10.12.3\r\nXcode Ver : Xcode 8.3.2\r\nAppc NPM : 4.2.9\r\nAppc CLI : 6.2.0\r\nTi CLI Ver : 5.0.12\r\nAlloy Ver : 1.9.11\r\nNode Ver : 6.10.1\r\nJava Ver : 1.8.0_101\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T17:47:33.000+0000", "updated": "2017-05-02T17:48:14.000+0000" }, { "id": "419030", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~mkhazbak] Do you maybe load some local images in your local web-view (different to the test-case you provided)? There is an Android 7 issue with local bitmaps that are placed in the wrong directory, see [here|http://stackoverflow.com/questions/40835514/android-studio-canvas-drawing-too-large-bitmap] for more infos.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-03T16:38:55.000+0000", "updated": "2017-05-03T16:38:55.000+0000" }, { "id": "431722", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "Seems to be more difficult: https://github.com/facebook/react-native/issues/13335#issuecomment-292581590", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-05T10:42:47.000+0000", "updated": "2017-12-05T10:42:47.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }