Closed dashuaic closed 4 weeks ago
The crash happened in WASM, and from the backtrace, we can see WASM try to initialize stack and got crash.
The backtrace like below
at /tmp/wasm-micro-runtime/core/shared/platform/common/posix/posix_thread.c:438
at /tmp/wasm-micro-runtime/core/shared/platform/common/posix/posix_thread.c:461
at /tmp/wasm-micro-runtime/core/shared/platform/common/posix/posix_thread.c:553
at /tmp/wasm-micro-runtime/core/iwasm/common/wasm_runtime_common.c:183
at /tmp/wasm-micro-runtime/core/iwasm/common/wasm_runtime_common.c:251
at /tmp/wasm-micro-runtime/core/iwasm/common/wasm_runtime_common.c:403
The crash happened in WASM, and from the backtrace, we can see WASM try to initialize stack and got crash.
The backtrace like below
0 0x00007f6594519212 in touch_pages (stack_min_addr=0x7f65c0c21000 "", page_size=4096)
1 0x00007f6594519289 in init_stack_guard_pages ()
2 0x00007f659451965e in os_thread_signal_init (handler=0x7f65944e2c60)
3 0x00007f65944e2d9e in runtime_signal_init ()
4 0x00007f65944e2e34 in wasm_runtime_env_init ()
5 0x00007f65944e3194 in wasm_runtime_full_init (init_args=0x7f65c0d1c420)
6 0x00007f659429a1fa in init_wasm_runtime_once () at opa_wasm.cpp:111
7 0x00007f659429ab5b in OPAEvaluateEngine::prepare_wasm (this=0x7f65c0d1c630, stack_size=8192, heap_size=0) at opa_wasm.cpp:225