Bug 700124 - Attempting to use JNI in child process [@ mozilla::AndroidBridge::EnsureJNIThread] - r=jdm
authorBenoit Jacob <bjacob@mozilla.com>
Sun, 06 Nov 2011 19:17:56 -0500
changeset 81209 161c6106d78779a5004d42a02aeece8d5174479e
parent 81208 d01685629ad2c999aa567d74d58339f277667d1e
child 81226 d60507500886c8c5b3fd5b42070a5887db2b7a79
push id434
push userclegnitto@mozilla.com
push dateWed, 21 Dec 2011 12:10:54 +0000
treeherdermozilla-beta@bddb6ed8dd47 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdm
bugs700124
milestone10.0a1
first release with
nightly linux32
161c6106d787 / 10.0a1 / 20111107031104 / files
nightly linux64
161c6106d787 / 10.0a1 / 20111107031104 / files
nightly mac
161c6106d787 / 10.0a1 / 20111107031104 / files
nightly win32
161c6106d787 / 10.0a1 / 20111107031104 / files
nightly win64
161c6106d787 / 10.0a1 / 20111107031104 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 700124 - Attempting to use JNI in child process [@ mozilla::AndroidBridge::EnsureJNIThread] - r=jdm GfxInfo blacklisting causes crashes on Android at the moment, and it's not even used at the moment, so let's disable it for now so we dont have to worry about the crash until there's an incentive to. We crash because AndroidBridge calls into the JNI and we're not supposed to do that from the content process.
widget/src/android/GfxInfo.cpp
--- a/widget/src/android/GfxInfo.cpp
+++ b/widget/src/android/GfxInfo.cpp
@@ -313,10 +313,12 @@ GfxInfo::GetFeatureStatusImpl(PRInt32 aF
 
     status = FEATURE_BLOCKED_DEVICE;
   }
 
   *aStatus = status;
   if (aOS)
     *aOS = os;
 
-  return GfxInfoBase::GetFeatureStatusImpl(aFeature, aStatus, aSuggestedDriverVersion, aDriverInfo, &os);
+  // XXX disabled for now as this calls GetAdapterVendorID and friends, which currently crash on Android, see bug 700124
+  // return GfxInfoBase::GetFeatureStatusImpl(aFeature, aStatus, aSuggestedDriverVersion, aDriverInfo, &os);
+  return NS_OK;
 }