CL "[vm/ffi] Stop reifying type argument in Pointer" causes crashes at runtime #50678
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
I noticed crash in super_drag_and_drop during FFI invocation and was able to bisect it to 827d166.
Steps to reproduce (macOS):
dart pub global activate melos
git clone https://github.com/superlistapp/super_native_extensions
cd super_native_extensions/super_drag_and_drop/example/
melos bs
flutter run -d macos --local-engine=host_debug_unopt
Start dragging any of the buttons and the application will crash.
Stacktrace:
The function pointer inside
Function::EnsureHasCode
seems to be invalid (it was not created byTrampolineFunction
).The text was updated successfully, but these errors were encountered: