Skip to content

co19/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t03 crash #48575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eernstg opened this issue Mar 16, 2022 · 4 comments
Open
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. library-ffi

Comments

@eernstg
Copy link
Member

eernstg commented Mar 16, 2022

Said test causes a crash on the following configurations, cf. dart-lang/co19#1316:

dartkp-strong-linux-release-x64
dartkp-weak-asserts-linux-release-x64
dartkp-strong-linux-debug-x64
dartkp-weak-asserts-linux-debug-x64
dartk-strong-win-release-x64
dartk-weak-asserts-win-release-x64
dartk-strong-linux-release-x64
dartk-weak-asserts-linux-release-x64
dartk-strong-linux-debug-x64
dartk-weak-asserts-linux-debug-x64

Here is an example stack trace (dartkp-strong-linux-release-x64):

Unhandled exception:
UnimplementedError: Finalizer
#0      new Finalizer (dart:core-patch/expando_patch.dart:198)
#1      finalizer (file:///b/s/w/ir/tests/co19/src/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t03.dart:28)
#2      new _List.filled (dart:core-patch/array.dart)
#3      attachAndDetach (file:///b/s/w/ir/tests/co19/src/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t03.dart:37)
#4      main (file:///b/s/w/ir/tests/co19/src/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t03.dart:51)
#5      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297)
#6      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192)
@eernstg eernstg added area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. library-ffi labels Mar 16, 2022
@eernstg
Copy link
Member Author

eernstg commented Mar 16, 2022

Same behavior occurs with co19/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t02.

@eernstg
Copy link
Member Author

eernstg commented Mar 16, 2022

Same behavior occurs with co19/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t01.

@dcharkes
Copy link
Contributor

We haven't landed the implementation in the VM yet.

@a-siva
Copy link
Contributor

a-siva commented Mar 16, 2022

Does this issue need the 'March Release' milestone ?

@lrhn lrhn added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. and removed area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. labels Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. library-ffi
Projects
None yet
Development

No branches or pull requests

4 participants