Comments (3)
@peter-jerry-ye thanks for reporting the issue! Please try #3156.
from wasm-micro-runtime.
I simplified a bit and got unhandled SIGSEGV with
(module
(data $string_data "asdf")
(func $print (import "spectest" "print_i32") (param $i i32))
(memory $memory (export "memory") 1)
(type $string (array (mut i8)))
(func $init
(local $str (ref null $string))
(array.new_data $string $string_data (i32.const 0) (i32.const 4)) (local.tee $str)
(ref.as_non_null)
(array.len) (call $print))
(export "_start" (func $init)))
from wasm-micro-runtime.
@wenyongh Thank you for the quick response. I confirm it fixes the problem.
from wasm-micro-runtime.
Related Issues (20)
- StackClashProtector for OS_ENABLE_HW_BOUND_CHECK
- OS_ENABLE_HW_BOUND_CHECK can cause resource leak HOT 4
- `fd_advise` always succeeds
- per-host function override of native stack requirement HOT 7
- argv_buf on-stack array sizes might have a room to improve
- How to use coroutines in wasm? HOT 2
- Add ability to get import and export information from wasm_export interface HOT 2
- An unexpected behavior in multiple modes HOT 2
- Unexpected Execution HOT 2
- WAMR throw OOB exception in LLVM-JIT mode while not in Fast-JIT mode HOT 2
- Error occurs when calling native function with local variable in AOT mode? HOT 8
- Heap Buffer Overflow Inside "wasm_loader_check_br" Function HOT 3
- Out-of-Bound Memory Read inside "block_type_get_arity" Function HOT 3
- Error compiling wamr 2.0.0 for Windows. Error: invalid numeric argument '/Wextra' HOT 3
- On memory usage when loading a Wasm file with fast interpreter HOT 5
- wamrc size_level heuristic
- Exception: uninitialized element HOT 4
- Unexpected "type mismatch" Exception on JIT mode HOT 2
- macos CI runs failed HOT 2
- [RFC] Basic support for Multi-Memory proposal HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasm-micro-runtime.