proxy-wasm/proxy-wasm-cpp-host

Flaky WasmEngines/TestVm.WasmMemoryLimit/v8 on macOS x86_64

dio opened this issue · 2 comments

dio commented

As mentioned in: #310 (comment)

WasmEngines/TestVm.WasmMemoryLimit/v8 on macOS x86_64 is "flaky", running this 100 times (several times) got 3 failures in average.

[ RUN      ] WasmEngines/TestVm.WasmMemoryLimit/v8
TRACE from integration: [host->vm] infinite_memory()


#
# Fatal error in external/v8/src/heap/array-buffer-sweeper.cc, line 249
# Debug check failed: old_.bytes_ >= bytes (12 vs. 229965824).
#
#
#
#FailureMessage Object: 0x7ff7bd451e40
==== C stack trace ===============================

    0   runtime_test                        0x00000001067c002e v8::base::debug::StackTrace::StackTrace() + 30
    1   runtime_test                        0x00000001067c0065 v8::base::debug::StackTrace::StackTrace() + 21
    2   runtime_test                        0x0000000105a5b56e v8::platform::(anonymous namespace)::PrintStackTrace() + 30
    3   runtime_test                        0x000000010678a0a8 V8_Fatal(char const*, int, char const*, ...) + 312
    4   runtime_test                        0x000000010678998c v8::base::(anonymous namespace)::DefaultDcheckHandler(char const*, int, char const*) + 44
    5   runtime_test                        0x000000010678a117 V8_Dcheck(char const*, int, char const*) + 39
    6   runtime_test                        0x000000010375a3a5 v8::internal::ArrayBufferSweeper::Detach(v8::internal::JSArrayBuffer, v8::internal::ArrayBufferExtension*) + 325
    7   runtime_test                        0x00000001038ae9cc v8::internal::Heap::DetachArrayBufferExtension(v8::internal::JSArrayBuffer, v8::internal::ArrayBufferExtension*) + 60
    8   runtime_test                        0x0000000103e726bc v8::internal::JSArrayBuffer::Detach(bool) + 188
    9   runtime_test                        0x0000000104aebc14 v8::internal::WasmMemoryObject::Grow(v8::internal::Isolate*, v8::internal::Handle<v8::internal::WasmMemoryObject>, unsigned int) + 2724
    10  runtime_test                        0x00000001046c45f8 v8::internal::__RT_impl_Runtime_WasmMemoryGrow(v8::internal::RuntimeArgumentsWithoutHandles, v8::internal::Isolate*) + 456
    11  runtime_test                        0x00000001046c4403 v8::internal::Runtime_WasmMemoryGrow(int, unsigned long*, v8::internal::Isolate*) + 227
    12  runtime_test                        0x0000000102fa8ef9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit + 57
    13  runtime_test                        0x000000010303543e Builtins_WasmMemoryGrow + 62
================================================================================

Honestly, I don't think this is something within our purview.

Could you report it to the V8 team (https://bugs.chromium.org/p/v8/issues/list) and perhaps link to it in #67?