bug 951782 - Firefox 26 for Android crashes on HTC Desire Z due to on-demand decompression r=mfinkle a=bajaj

This commit is contained in:
Brad Lassey 2014-01-23 15:00:17 -05:00
parent 48d3086ab1
commit 594c8edb03

View File

@ -205,6 +205,13 @@ public final class GeckoLoader {
putenv("MOZ_LINKER_CACHE=" + linkerCache);
}
// Disable on-demand decompression of the linker on devices where it
// is known to cause crashes.
if ("HTC".equals(android.os.Build.MANUFACTURER) &&
"HTC Vision".equals(android.os.Build.MODEL)) {
putenv("MOZ_LINKER_ONDEMAND=0");
}
#ifdef MOZ_LINKER_EXTRACT
putenv("MOZ_LINKER_EXTRACT=1");
// Ensure that the cache dir is world-writable