Static void GenerateIdenticalWithNumberCheckStub(Assembler* assembler, +// checks for boxed numbers and returns with ZF set iff left and right are +// identical. / Note: A Mint cannot contain a value that would fit in Smi. / Return Zero condition flag set if equal. a/runtime/vm/compiler/stub_code_compiler_ +++ b/runtime/vm/compiler/stub_code_compiler_ -3175,15 +3175,14 Does identical check (object references are equal or not equal) with special diff -git a/runtime/vm/compiler/stub_code_compiler_ b/runtime/vm/compiler/stub_code_compiler_ Matches the symptoms and the specific code pattern.Ĭhange-Id: I3be20d47d710a6bc520f2f7d6da81483baf74787 The fix is tentative as we were unable to locate an erratum which This is attempt to workaround a possible CPU bug on Exynos 2100 SoC. Subject: Avoid b.al to ret in identical() stub _ LoadFieldFromOffset(right, right, target::Mint::value_offset()) _ LoadFieldFromOffset(left, left, target::Mint::value_offset()) _ CompareClassId(left, -3204,8 +3203,6 static void GenerateIdenticalWithNumberCheckStub(Assembler* assembler, _ CompareRegisters(left, right) - _ b(&done) + _ b(&reference_compare) _ LoadFieldFromOffset(right, right, target::Double::value_offset()) _ LoadFieldFromOffset(left, left, target::Double::value_offset()) a/runtime/vm/compiler/stub_code_compiler_ +++ b/runtime/vm/compiler/stub_code_compiler_ -3194,8 +3194,7 static void GenerateIdenticalWithNumberCheckStub(Assembler* assembler, Runtime/vm/compiler/stub_code_compiler_ | 5 +-ġ file changed, 1 insertion(+), 4 deletions(-)ĭiff -git a/runtime/vm/compiler/stub_code_compiler_ b/runtime/vm/compiler/stub_code_compiler_ Subject: Prevent crashing on samsung exynos Val textureID = (arguments as ? Int)?.toLong() ? : return result.error( "invalid argument: textureId ", null, null)įrom 6aae3ecdd90360cc8a7ccdae95d36a2e7539d74f Mon Sep 17 00:00:00 2001 SurfaceTexture?.setDefaultBufferSize(width, height) Var height = arguments as ? Int ? : return result.error( "invalid argument: height ", null, null) Var width = arguments as ? Int ? : return result.error( "invalid argument: width ", null, null) Val surfaceTexture = entry.surfaceTexture() Val entry = textures.createSurfaceTexture() Val arguments = call.arguments as Map ? : mapOf() Override fun onMethodCall( call : MethodCall, result : MethodChannel. Override fun onDetachedFromEngine( binding : FlutterPlugin. Val channel = MethodChannel(binding.binaryMessenger, "opengl_texture ") Override fun onAttachedToEngine( binding : FlutterPlugin. Private lateinit var textures : TextureRegistry private var density by Delegates.notNull() Private const val WIDTH_ARG = "width " private const val HEIGHT_ARG = "height " private const val TEXTURE_ID_ARG = "textureId " class OpenGLTexturePlugin: FlutterPlugin, MethodCallHandler, ActivityAware Flutter extension can be installed from:.Android Studio at /home/jasper/android-studio.Try setting CHROME_EXECUTABLE to a Chrome executable. Chrome - develop for the web (Cannot find Chrome executable at google-chrome) Java version OpenJDK Runtime Environment (build 11.0.10+189).Java binary at: /home/jasper/android-studio/jre/bin/java.Platform android-31, build-tools 31.0.0.Android SDK at /home/jasper/Android/Sdk.Android toolchain - develop for Android devices (Android SDK version 31.0.0) Flutter version 2.5.0-7.0.pre.83 at /home/jasper/Developer/flutter-dev.I can also send the dump log/reset summary from the phone, which starts with However, if required, I can send these to a flutter team member. The logs have nothing different or unusual right before the crash. I haven't attached the logs because I'm fairly certain there's nothing relevant here, and it would take time to remove private info. I can confirm the issue occurs on all the current master/dev/beta/master. The commits in each repo where the issue was introduced:Īs you can see, it's related to a specific change in the dart SDK, I will create and link an issue in that repo as well. I have been unable to create a minimal test app to demonstrate the issue, so I've bisected the history. So far we've only experienced the issue on Samsung Galaxy S21.It appears to be related to OpenGL (when we remove the opengl section from the app this issue no longer occurs).This issue was not present in our previous release (late last year). When our app runs on Samsung S21 devices (tested on 2, and have user reports of several more), the device will experience kernel panic after 5-10 minutes and restart.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |