1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/test_ffi/tests
Aapo Alasuutari 3be5381060
fix(test_ffi): thread_safe_callback is flaky (#19640)
Attempts to fix the thread_safe_callback flakiness. It's unclear what
the flake is about, the exit code is apparently `C0000005` or
`ACCESS_VIOLATION`, pointing to an issue with memory access. My only
guess is that maybe dropping the `Option<extern "C" fn ()>` is somehow
checking the validity of the function pointer and since the function has
been dropped, the pointer is no longer valid and sometimes points to
memory that should not be accessed.

So now the will explicitly drop the functions before they get
deallocated. If this doesn't fix the flake then something beyond my
understanding is wrong.
2023-06-28 14:41:59 -06:00
..
bench.js feat(ext/ffi): Make External pointers keep reference to V8 buffer (#17955) 2023-03-05 08:01:23 +00:00
event_loop_integration.ts test(ext/ffi): Increase timeout value in event loop integration test callback (#18394) 2023-03-25 09:18:41 +02:00
ffi_types.ts feat(ext/ffi): support marking symbols as optional (#18529) 2023-04-03 21:32:21 +03:00
integration_tests.rs fix(test_ffi): thread_safe_callback is flaky (#19640) 2023-06-28 14:41:59 -06:00
test.js feat(ext/ffi): support marking symbols as optional (#18529) 2023-04-03 21:32:21 +03:00
thread_safe_test.js fix(test_ffi): thread_safe_callback is flaky (#19640) 2023-06-28 14:41:59 -06:00
thread_safe_test_worker.js fix(test_ffi): thread_safe_callback is flaky (#19640) 2023-06-28 14:41:59 -06:00