dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.09k stars 1.56k forks source link

Unexpected obfuscation causing failure in language/type_object/runtime_type_function_test #53879

Closed sstrickl closed 11 months ago

sstrickl commented 11 months ago

There are new test failures on [web] improve fileapi tests....Revert "[vm/compiler] Consistently use PointerBase.data values as FFiIntPtr.".

The tests

language/type_object/runtime_type_function_test RuntimeError (expected Pass)

are failing on configurations

vm-aot-obfuscate-linux-release-x64

Log excerpt:

--- Command "vm" (took 88ms):
DART_CONFIGURATION=ReleaseX64 TEST_COMPILATION_DIR=/b/s/w/ir/out/ReleaseX64/generated_compilations/vm-aot-obfuscate-linux-release-x64/tests_language_type_object_runtime_type_function_test out/ReleaseX64/dart_precompiled_runtime --obfuscate --sound-null-safety -Dtest_runner.configuration=vm-aot-obfuscate-linux-release-x64 --ignore-unrecognized-flags --packages=/b/s/w/ir/.dart_tool/package_config.json /b/s/w/ir/out/ReleaseX64/generated_compilations/vm-aot-obfuscate-linux-release-x64/tests_language_type_object_runtime_type_function_test/out.aotsnapshot

exit code:
255

stderr:
Unhandled exception:
Expect.equals(expected: <Xyzzy>, actual: <Ck>, 'runtime type of plain class prints as class name') fails.
#0      Hk._Cw (Foa:721)
#1      Hk.KN (Foa:142)
#2      main (Eoa:20)
#3      _Wr.<anonymous closure> (jqa:297)
#4      _RawReceivePort._handleMessage (jqa:184)

--- Re-run this test:
python3 tools/test.py -n vm-aot-obfuscate-linux-release-x64 language/type_object/runtime_type_function_test
sstrickl commented 11 months ago

Introduced by CL 332368. Working on fix.