Skip to content

[vm/gardening/ffi] There are multiple libraries named '' #60778

@mkustermann

Description

@mkustermann

There's new failures on an old test, see log

--- Command "vm" (took 983ms):
set DART_CONFIGURATION=ReleaseARM64 & set DART_SUPPRESS_WER=1 & set DART_CRASHPAD_HANDLER=c:\opt\s\w\ir\cache\builder\sdk\out\ReleaseARM64\crashpad_handler.exe & out\ReleaseARM64\dart.exe --sound-null-safety -Dtest_runner.configuration=vm-win-release-arm64 --ignore-unrecognized-flags --packages=C:\opt\s\w\ir\cache\builder\sdk\.dart_tool\package_config.json C:\opt\s\w\ir\cache\builder\sdk\tests\lib\mirrors\bad_argument_types_test.dart

exit code:
255

stdout:
1
0

stderr:
Unhandled exception:
Exception: There are multiple libraries named '': [vm:ffi:native-assets, file:///C:/opt/s/w/ir/cache/builder/sdk/tests/lib/mirrors/bad_argument_types_test.dart]
#0      MirrorSystem.findLibrary (dart:mirrors-patch/mirrors_patch.dart:69:7)
#1      badLibrarySetterInvoke (file:///C:/opt/s/w/ir/cache/builder/sdk/tests/lib/mirrors/bad_argument_types_test.dart:143:36)
#2      main (file:///C:/opt/s/w/ir/cache/builder/sdk/tests/lib/mirrors/bad_argument_types_test.dart:160:3)
#3      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:314:19)
#4      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:193:12)

--- Re-run this test:
python3 tools/test.py -n vm-win-release-arm64 lib/mirrors/bad_argument_types_test

This may have to do with us enabling native assets by default now, which may put the vm:ffi:native-assets library in always which then causes this multiple libraries named '' error.

@dcharkes Could you have a look?

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.gardening

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions