Skip to content

v8: update to v10.7.193.13. #310

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

Merged
merged 8 commits into from
Oct 9, 2022
Merged

Conversation

dio
Copy link
Contributor

@dio dio commented Oct 1, 2022

Signed-off-by: Dhi Aurrahman [email protected]

Signed-off-by: Dhi Aurrahman <[email protected]>
Copy link
Member

@PiotrSikora PiotrSikora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those changes look good, but could you take a look at those failing tests? Both are timeouts, but it's possible that those are real regressions, so it would be good to test locally and compare against the current version of V8. Thanks!

Signed-off-by: Dhi Aurrahman <[email protected]>
@dio
Copy link
Contributor Author

dio commented Oct 4, 2022

Will do. But seems like the test also failed on master (on my local) :(. I need to check again when the time permits.

Signed-off-by: Dhi Aurrahman <[email protected]>
@dio dio marked this pull request as ready for review October 4, 2022 05:08
@dio dio requested a review from mathetake as a code owner October 4, 2022 05:08
@dio
Copy link
Contributor Author

dio commented Oct 4, 2022

Interesting, it passed here: https://github.com/dio/proxy-wasm-cpp-host/actions/runs/3179609270/jobs/5182308733 (stripped out some jobs, only on v8, Linux, x86_64). Hopefully here it will be fine too 🙏🏽

Signed-off-by: Dhi Aurrahman <[email protected]>
@dio dio requested a review from PiotrSikora October 5, 2022 17:54
@dio
Copy link
Contributor Author

dio commented Oct 6, 2022

@PiotrSikora
Copy link
Member

buildifier@latest is crashing? https://github.com/proxy-wasm/proxy-wasm-cpp-host/actions/runs/3188934515/jobs/5226316912#step:5:8

It's not crashing, it errors out because test/BUILD is not formatted correctly.

Signed-off-by: Dhi Aurrahman <[email protected]>
@dio
Copy link
Contributor Author

dio commented Oct 6, 2022

It's not crashing, it errors out because test/BUILD is not formatted correctly.

Ah, sorry I didn't check that line has mode=check :(.

@PiotrSikora PiotrSikora requested a review from mpwarres October 6, 2022 22:43
@PiotrSikora PiotrSikora changed the title v8: Update to 10.7.193.13 v8: update to v10.7.193.13. Oct 7, 2022
Copy link
Member

@PiotrSikora PiotrSikora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@PiotrSikora
Copy link
Member

@dio sorry, it looks that I've messed this up by using the "update" button to merge with master and GitHub somehow decided to use my old @google.com email for the commit, even though it's not my primary email address in settings.

I removed that merge commit, but could you merge with master yourself?

@dio
Copy link
Contributor Author

dio commented Oct 7, 2022

@PiotrSikora no worries. Done. (I failed to check this PR earlier).

@dio
Copy link
Contributor Author

dio commented Oct 7, 2022

@PiotrSikora @mathetake, sorry, seems like Wasmtime on macOS is flaky (?). Should I investigate or we can retry?

@PiotrSikora
Copy link
Member

@PiotrSikora @mathetake, sorry, seems like Wasmtime on macOS is flaky (?). Should I investigate or we can retry?

Bazel on macOS on GitHub Actions is somehow flaky, it's unrelated to Wasmtime, since it's the toolchain detection that fails.

I'll re-kick that test once V8 on macOS tests finish, since you can only re-kick failed tests after all tests complete.

@PiotrSikora
Copy link
Member

PiotrSikora commented Oct 7, 2022

There was an error in V8 on macOS tests:

[ 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. 539951104).
#
#
#
#FailureMessage Object: 0x7ffee8155fa0
==== C stack trace ===============================

    0   runtime_test                        0x000000010ba13cce v8::base::debug::StackTrace::StackTrace() + 30
    1   runtime_test                        0x000000010ba13d05 v8::base::debug::StackTrace::StackTrace() + 21
    2   runtime_test                        0x000000010ac1adfe v8::platform::(anonymous namespace)::PrintStackTrace() + 30
    3   runtime_test                        0x000000010b9d48d8 V8_Fatal(char const*, int, char const*, ...) + 504
    4   runtime_test                        0x000000010b9d40ec v8::base::(anonymous namespace)::DefaultDcheckHandler(char const*, int, char const*) + 44
    5   runtime_test                        0x000000010b9d4947 V8_Dcheck(char const*, int, char const*) + 39
    6   runtime_test                        0x00000001087ce665 v8::internal::ArrayBufferSweeper::Detach(v8::internal::JSArrayBuffer, v8::internal::ArrayBufferExtension*) + 325
    7   runtime_test                        0x0000000108930c6c v8::internal::Heap::DetachArrayBufferExtension(v8::internal::JSArrayBuffer, v8::internal::ArrayBufferExtension*) + 60
    8   runtime_test                        0x0000000108f2886f v8::internal::JSArrayBuffer::Detach(bool) + 191
    9   runtime_test                        0x0000000109c2b6b3 v8::internal::WasmMemoryObject::Grow(v8::internal::Isolate*, v8::internal::Handle<v8::internal::WasmMemoryObject>, unsigned int) + 2867
    10  runtime_test                        0x000000010[97](https://github.com/proxy-wasm/proxy-wasm-cpp-host/actions/runs/3205125311/jobs/5243869780#step:9:98)ed7fc v8::internal::__RT_impl_Runtime_WasmMemoryGrow(v8::internal::RuntimeArgumentsWithoutHandles, v8::internal::Isolate*) + 476
    11  runtime_test                        0x00000001097ed5f0 v8::internal::Runtime_WasmMemoryGrow(int, unsigned long*, v8::internal::Isolate*) + 224
    12  runtime_test                        0x0000000[107](https://github.com/proxy-wasm/proxy-wasm-cpp-host/actions/runs/3205125311/jobs/5243869780#step:9:108)fabfb9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit + 57
    13  runtime_test                        0x0000000[108](https://github.com/proxy-wasm/proxy-wasm-cpp-host/actions/runs/3205125311/jobs/5243869780#step:9:109)0384fe Builtins_WasmMemoryGrow + 62
================================================================================

I've re-kicked it to make sure it's not a flake, but it looks like a real issue... maybe v8_flags.wasm_max_mem_pages got broken on macOS?

@dio
Copy link
Contributor Author

dio commented Oct 8, 2022

@PiotrSikora, yup I saw that will check again locally.

@PiotrSikora PiotrSikora merged commit b0a0594 into proxy-wasm:master Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants