Hi Min,

Also , when i try to upgrade to crosswalk version 
"https://download.01.org/crosswalk/releases/crosswalk/android/stable/8.37.189.12/arm/";

I face issues and app stops before running int the device.


I have attached error log.


Please suggest what i can do to rectify this.


Thanks for all your help


Priya

---- On Thu, 23 Oct 2014 23:50:38 -0700  Min<[email protected]> wrote 
---- 

Thanks... My google play account is [email protected] 
 
Regards 
Hongbo 
________________________________ 
From: priya.m [[email protected]] 
Sent: Friday, October 24, 2014 11:24 AM 
To: Min, Hongbo 
Cc: [email protected] 
Subject: RE: Re: RE: Follow-up: Gralloc out of memory 
 
Hi Min, 
 
I have also uploaded my app to google play beta and will provide you a link as 
soon as it is available. 
 
Please provide me your google play id or I can provide you with a sample id to 
access the app. 
 
Thanks 
Priya 
 
---- On Thu, 23 Oct 2014 00:01:17 -0700 Min<[email protected]> wrote 
---- 
But the 'Log In' button doesn't take any effect after I typed 
user/passwd/domain you give. 
 
Regards 
Hongbo 
________________________________ 
From: priya.m [[email protected]<mailto:[email protected]>] 
Sent: Thursday, October 23, 2014 2:23 PM 
To: Min, Hongbo 
Cc: 
[email protected]<mailto:[email protected]>
 
Subject: RE: Re: RE: Follow-up: Gralloc out of memory 
 
Hi Min, 
 
I have re-uploaded zip , please find the link below: 
https://www.dropbox.com/s/0gqdvhdk2jym40y/Tab2.zip?dl=0 
 
Please let me know if this worked for you. 
 
Thanks 
Priya 
---- On Wed, 22 Oct 2014 22:54:20 -0700 
Min<[email protected]<mailto:[email protected]>> wrote ---- 
Hi, Priya 
 
The zip package you provided seems to be broke, I can not unzip it and get the 
error: 
 
7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,8 CPUs) 
 
Error: /home/hmin/Downloads/Tab2(1).zip: Can not open file as archive 
 
Errors: 1 
 
Regards 
Hongbo 
________________________________ 
From: priya.m 
[[email protected]<mailto:[email protected]><mailto:[email protected]>]
 
Sent: Tuesday, October 21, 2014 11:10 PM 
To: Min, Hongbo 
Cc: 
[email protected]<mailto:[email protected]><mailto:[email protected]>
 
Subject: Re: Re: RE: Follow-up: Gralloc out of memory 
 
Hi Min, 
 
I want to add some information here. 
 
I am building this app using eclipse and here just importing this project into 
eclipse and building it gives you an apk file. 
 
When you run the app on device, you can follow following instructions to see 
flicker: 
1) Login with following credentials 
UserName: dchris 
Pwd : test 
DOmain : testisd 
 
2) Select science 
3) Select any excercise and click the tabs in the excercise 
4)Go back using the button on top left and Repeat step (3) few times. 
You will see flickering screen and the font/display in the grid gets distorted. 
 
Please let me know if you need any other information that might be helpful. 
 
Thanks for your help. 
Priya 
 
 
---- On Mon, 20 Oct 2014 21:43:38 -0700 priya.m 
<[email protected]<mailto:[email protected]><mailto:[email protected]>>
 wrote ---- 
Hi Min, 
 
PFA source code of app. This crosswalk version works perfectly fine on Android 
4.1 but has flickering issues on Android 4.4.2. 
 
Also, if I i run same app without crosswalk it doesn't flicker. 
 
Link to code: 
https://www.dropbox.com/sh/nn06k8lirh3u17d/AADZtQTUVfGCgMpBupWZyxUfa?dl=0 
 
Please let me know how to resolve this. 
 
Thanks for all your help. 
Priya 
 
 
---- On Thu, 16 Oct 2014 22:31:13 -0700 Hongbo Min 
<[email protected]<mailto:[email protected]><mailto:[email protected]><mailto:[email protected]>>
 wrote ---- 
Hi, Priya 
 
I have tried the latest Crosswalk version you pointed with a medium web app, it 
works well. 
 
Regarding to the screen flickring and font display issue, it might be caused by 
html code but I can confirm without the source code. 
The error message from adb logcat you attached may not be caused by Crosswalk. 
 
My two questions: 
1. It would be helpful if you could share your source code or apk to us for 
further analysis and identify the root cause of your issues. Is it OK for you 
to share it, or simplify your usage scenario to reproduce the issues? 
2. Which cordova plugins are your using in your app? 
 
 
Regards 
Hongbo 
________________________________ 
From: priya.m 
[[email protected]<mailto:[email protected]><mailto:[email protected]><mailto:[email protected]>]
 
Sent: Friday, October 17, 2014 12:05 AM 
To: Min, Hongbo 
Cc: 
[email protected]<mailto:[email protected]><mailto:[email protected]><mailto:[email protected]>
 
Subject: RE: Follow-up: Gralloc out of memory 
 
Also, when i try to upgrade/run to latest version of crosswalk integrated with 
my app , it get issue "Unfortunately app has stopped". ": 
 
Latest version thast i am trying to use: 
https://download.01.org/crosswalk/releases/crosswalk/android/stable/8.37.189.12/arm/
 
 
I have attached error log with this email. 
 
Please let me know if you need further information to help with this. 
 
Thanks 
Priya 
 
 
---- On Thu, 16 Oct 2014 08:45:20 -0700 
<[email protected]<mailto:[email protected]><mailto:[email protected]><mailto:[email protected]>>
 wrote ---- 
 
Hello Min, 
 
I am providing you with more information related to 
Cordova-Crosswalk(5.34.104.5) screen distortion/flickering issues in Samsung 
Note 10.1. 
 
PFA attached images/videos/logs and below is the information related to this: 
 
1) Distorted.jpg : In this image, font/display in the list starts distorting. 
When you see closely you will see that font of Sample 3 is different from 
Sample 4. Font/display of screen starts distorting and grid lines 
blur/disappear. 
 
2) Video 1/Video2: Link to videos. 
https://www.dropbox.com/sh/et9w2vroclp65iv/AABi5_d3-7zqG4Tqu4a9FDhma?dl=0 
Different areas of screen flickers at different times. 
 
3) Below is link from bug report from device : 
https://www.dropbox.com/sh/et9w2vroclp65iv/AABi5_d3-7zqG4Tqu4a9FDhma?dl=0 
 
4) PFA log.txt which are logs from logcat. 
 
Please let me know if there is any thing more that I can provide you to help in 
identifying this issue. 
 
Thanks for all your help 
Priya 
 
 
---- On Wed, 15 Oct 2014 23:22:59 -0700 
Min<[email protected]<mailto:[email protected]><mailto:[email protected]><mailto:[email protected]><mailto:[email protected]>>
 wrote ---- 
 
Hi, 
 
It would be helpful if you could share video to us. The information in the log 
you attached is not enough to diagnose the root cause, since there is lots of 
reasons to cause the error "Couldn't load memtrack module". Is there no more 
output from adb logcat? 
 
Regards 
Hongbo 
________________________________ 
From: priya.m 
[[email protected]<mailto:[email protected]><mailto:[email protected]><mailto:[email protected]><mailto:[email protected]>]
 
Sent: Thursday, October 16, 2014 11:47 AM 
To: Min, Hongbo 
Cc: 
[email protected]<mailto:[email protected]><mailto:[email protected]><mailto:[email protected]><mailto:[email protected]>
 
Subject: RE: Follow-up: Gralloc out of memory 
 
 
Hi Min, 
 
Your question and my response below: 
a) 
[hmin] Regarding to the screen flickering, could you please describe the 
details? Does the screen firstly becomes white and shows the app in a very 
short time, or something else? 
 
[Priya] No screen doesn't become white but UI starts moving/vibrating/dancing. 
I can share with you a video if that would help then please let me know. 
 
b) 
[Priya] I compiled my projects successfully, but when I run my app on 
device(Samsung Note 10.1) , I get an error "Unfortunately app has stopped". 
 
[hmin] It is a strange failure without any more information. Is the error 
showed in a popup dialog or output by adb logcat? If the Crosswalk is crashed, 
the adb logcat would output the Java exception or native information (e.g. 
register, call trace). 
 
[Priya] PFA logs for this and please let me know if have any idea what is 
causing this issue. 
 
Thanks for all your help 
Priya 
 
---- On Tue, 14 Oct 2014 22:30:03 -0700 
Min<[email protected]<mailto:[email protected]><mailto:[email protected]><mailto:[email protected]><mailto:[email protected]>>
 wrote ---- 
 
 
Hi, Priya 
 
 
 
(cc 
[email protected]<mailto:[email protected]><mailto:[email protected]><mailto:[email protected]><mailto:[email protected]><mailto:[email protected]>
 for those who are also interesting in your issues) 
 
 
 
Issue :With Cordova-Crosswalk(5.34.104.5) , we started getting screen 
flickering issues in Samsung Note 10.1. 
 
Then we investigated and found errors in logcat related to display : 
Gralloc:out of memory. 
 
Please find attached log "14Oct2014.txt' 
 
[hmin] Would the error message “invalid gralloc handle (at 0x0)” only happen 
after you launch your crosswalk app? You can verify this by 1) Run “adb logcat 
-c”;2) Re-launch your app and then see the adb logcat output. 
 
 
 
Regarding to the screen flickering, could you please describe the details? Does 
the screen firstly becomes white and shows the app in a very short time, or 
something else? 
 
 
 
I compiled my projects successfully, but when I run my app on device(Samsung 
Note 10.1) , I get an error "Unfortunately app has stopped". 
 
[hmin] It is a strange failure without any more information. Is the error 
showed in a popup dialog or output by adb logcat? If the Crosswalk is crashed, 
the adb logcat would output the Java exception or native information (e.g. 
register, call trace). 
 
 
 
Thanks…Hongbo 
 
 
 
From: priya.m [mailto:[email protected]] 
Sent: Wednesday, October 15, 2014 12:02 AM 
To: Min, Hongbo 
Cc: Hu, Ningxin; Balestrieri, Francesco 
Subject: Re: Follow-up: Gralloc out of memory 
 
 
 
Hi Min, 
 
 
 
Thanks for your response. 
 
 
 
I would elaborate the problem here to give you a better insight into it: 
 
 
 
1) Initially we had Cordova app and to boost up its performance we integrated 
it with crosswalk. 
 
Here Crosswalk version that we are using is: 
 
https://download.01.org/crosswalk/releases/crosswalk/android/stable/5.34.104.5/arm/
 
 
 
 
2) Issue :With Cordova-Crosswalk(5.34.104.5) , we started getting screen 
flickering issues in Samsung Note 10.1. 
 
Then we investigated and found errors in logcat related to display : 
Gralloc:out of memory. 
 
Please find attached log "14Oct2014.txt'. 
 
Our app uses is doing extensive use of dynamic images which cannot be made 
static. 
 
 
 
 
 
3) Yesterday , I was trying to upgrade crosswalk version. 
 
https://download.01.org/crosswalk/releases/crosswalk/android/stable/8.37.189.12/arm/
 
 
 
 
and I followed this link : 
https://github.com/crosswalk-project/crosswalk-cordova-android#requires 
 
 
 
and following steps: 
 
• Import Crosswalk-based Cordova Android and XWalkCoreLibrary library projects 
by File > Import... > Existing Android Code Into Workspace. Point 
to[path_to_cordova_xwalk_android]/framework and click Finish. 
 
• Build xwalk_core_library and Cordova projects. 
 
• Import generated project by File > Import... > Existing Android Code. 
Point to the generated app path. 
 
• Right click on the project root: Run as > Run Configurations 
 
• Click on the Target tab and select Manual (this way you can choose the 
emulator or device to build to) 
 
 
 
I compiled my projects successfully, but when I run my app on device(Samsung 
Note 10.1) , I get an error "Unfortunately app has stopped". 
 
 
 
There are nor errors logs so no clue that what went wrong. Any suggestion what 
could be wrong here? 
 
 
 
 
 
Answer to your questions here: 
 
1. Is it the same as your usage scenario? Please correct me if I am wrong. 
 
Yes this is one of the scenarios that describes how we are using dynamic images 
in our app. 
 
2. Do you have a try on other Android devices except Samsung Galaxy Note 10? 
 
Yes, we did on Samsung Tab2. Crosswalk did not have screen flicker issues on 
Tab2 but I am not sure about gralloc memory issue. 
 
I can test it on Tab2 and let you know regarding the same. 
 
 
 
Please let me know your suggestions regarding how to resolve this issue. 
 
 
 
Thanks for all your help 
 
Priya 
---- On Tue, 14 Oct 2014 00:33:28 -0700 
Min<[email protected]<mailto:[email protected]><mailto:[email protected]><mailto:[email protected]><mailto:[email protected]><mailto:[email protected]>>
 wrote ---- 
 
 
 
Hi, 
 
 
 
Thanks for using Crosswalk and reporting the issue to us. 
 
 
 
Before I dig into the issue your reported at 
https://crosswalk-project.org/jira/browse/XWALK-2730, I try to create a test 
case for reproducing it according to your descriptin. 
 
 
 
The attached test case is also uploaded to the bugzilla just now. Could you 
please have a review and confirm the following 2 questions? 
 
 
 
1. Is it the same as your usage scenario? Please correct me if I am wrong. 
 
2. Do you have a try on other Android devices except Samsung Galaxy Note 10? 
 
 
 
Thanks in advance. 
 
 
 
Hongbo 
 
 
 
 
 
 
 
 
 
 
 
 
 






10-24 14:14:02.121: W/dalvikvm(11686): Unable to resolve superclass of 
Lorg/apache/cordova/CordovaWebViewClient; (547)
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to