-
Notifications
You must be signed in to change notification settings - Fork 576
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
Add wasm_runtime_detect_native_stack_overflow_size #3355
Add wasm_runtime_detect_native_stack_overflow_size #3355
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for df96828 - Browse repository at this point
Copy the full SHA df96828View commit details -
consume wasm_runtime_detect_native_stack_overflow
this changes the accounting by one small function call. i don't think it can cause real problems though.
Configuration menu - View commit details
-
Copy full SHA for ffa17f3 - Browse repository at this point
Copy the full SHA ffa17f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49d2a64 - Browse repository at this point
Copy the full SHA 49d2a64View commit details -
samples/native-stack-overflow: use wasm_runtime_detect_native_stack_o…
…verflow replace homegrown check.
Configuration menu - View commit details
-
Copy full SHA for 81e5d03 - Browse repository at this point
Copy the full SHA 81e5d03View commit details -
Add wasm_runtime_detect_native_stack_overflow_size
This allows each native function to require more native stack. cf. bytecodealliance#3325
Configuration menu - View commit details
-
Copy full SHA for 0c95ad0 - Browse repository at this point
Copy the full SHA 0c95ad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2107dba - Browse repository at this point
Copy the full SHA 2107dbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e5b5d - Browse repository at this point
Copy the full SHA 32e5b5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b22812 - Browse repository at this point
Copy the full SHA 5b22812View commit details -
Configuration menu - View commit details
-
Copy full SHA for b373c27 - Browse repository at this point
Copy the full SHA b373c27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d5c3ac - Browse repository at this point
Copy the full SHA 9d5c3acView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8ca169 - Browse repository at this point
Copy the full SHA a8ca169View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0397d4f - Browse repository at this point
Copy the full SHA 0397d4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 725aac3 - Browse repository at this point
Copy the full SHA 725aac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a887eca - Browse repository at this point
Copy the full SHA a887ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d02fd - Browse repository at this point
Copy the full SHA 71d02fdView commit details -
samples/native-stack-overflow: use size_level=0
To avoid: LLVM ERROR: Only small, tiny and large code models are allowed on AArch64
Configuration menu - View commit details
-
Copy full SHA for 74be598 - Browse repository at this point
Copy the full SHA 74be598View commit details -
CI: skip samples/native-stack-overflow on macOS arm64
as i have no good way to debug right now. the failure seen on the CI: ``` ====== Interpreter test1 stack size | fail? | leak? | exception --------------------------------------------------------------------------- 0 - 24576 | failed | ok | Exception: native stack overflow ====== Interpreter WAMR_DISABLE_HW_BOUND_CHECK=1 test1 stack size | fail? | leak? | exception --------------------------------------------------------------------------- 0 - 3568 | failed | ok | Exception: native stack overflow 3568 - 24576 | failed | ok | Exception: wasm operand stack overflow ====== AOT test1 stack size | fail? | leak? | exception --------------------------------------------------------------------------- 0 - 24576 | failed | ok | Exception: native stack overflow ====== AOT WAMR_DISABLE_HW_BOUND_CHECK=1 test1 stack size | fail? | leak? | exception --------------------------------------------------------------------------- 0 - 4000 | failed | ok | Exception: native stack overflow 4000 - 24576 | ok | ok | ====== Interpreter test2 stack size | fail? | leak? | exception --------------------------------------------------------------------------- 0 - 24576 | failed | ok | Exception: native stack overflow ====== Interpreter WAMR_DISABLE_HW_BOUND_CHECK=1 test2 ./run.sh: line 12: 14708 Segmentation fault: 11 out/native-stack-overflow.WAMR_DISABLE_HW_BOUND_CHECK out/wasm-apps/testapp.wasm ${NAME} ```
Configuration menu - View commit details
-
Copy full SHA for fcfff69 - Browse repository at this point
Copy the full SHA fcfff69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6607b2f - Browse repository at this point
Copy the full SHA 6607b2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6b57ab - Browse repository at this point
Copy the full SHA f6b57abView commit details -
Configuration menu - View commit details
-
Copy full SHA for be17b3f - Browse repository at this point
Copy the full SHA be17b3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6196f1c - Browse repository at this point
Copy the full SHA 6196f1cView commit details