Hello Fathi:
Can you please add the following to the 12.08 release notes regarding a TC2 Android random crashing.
- Android random crashes (https://bugs.launchpad.net/linaro-landing-team-arm/+bug/978060) occur during web browsing. We are working on resolve it. However, in the meantime, you have to disable JIT by passing WITH_JIT=false to the make command.
anmar
On 27 August 2012 13:13, anmar.oueja@linaro.org anmar.oueja@linaro.org wrote:
Hello Fathi:
Can you please add the following to the 12.08 release notes regarding a TC2 Android random crashing.
- Android random crashes
(https://bugs.launchpad.net/linaro-landing-team-arm/+bug/978060) occur during web browsing. We are working on resolve it. However, in the meantime, you have to disable JIT by passing WITH_JIT=false to the make command.
There's this and a workaround:
diff --git a/core/java/android/webkit/JniUtil.java b/core/java/android/webkit/JniUtil.java index 7759ff3..ae92b8b 100644 --- a/core/java/android/webkit/JniUtil.java +++ b/core/java/android/webkit/JniUtil.java @@ -176,13 +176,14 @@ class JniUtil { }
private static boolean canSatisfyMemoryAllocation(long bytesRequested) { - checkInitialized(); - ActivityManager manager = (ActivityManager) sContext.getSystemService( - Context.ACTIVITY_SERVICE); - ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); - manager.getMemoryInfo(memInfo); - long leftToAllocate = memInfo.availMem - memInfo.threshold; - return !memInfo.lowMemory && bytesRequested < leftToAllocate; +// checkInitialized(); +// ActivityManager manager = (ActivityManager) sContext.getSystemService( +// Context.ACTIVITY_SERVICE); +// ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); +// manager.getMemoryInfo(memInfo); +// long leftToAllocate = memInfo.availMem - memInfo.threshold; +// return !memInfo.lowMemory && bytesRequested < leftToAllocate; + return true; }
which is in the bug (may just want to mention it).
anmar
linaro-release mailing list linaro-release@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-release
linaro-release@lists.linaro.org