Comments (3)
Hi @qq906907952 - thanks for the report. I will try to reproduce using the gzip library, but are you able to provide a code reproduction? Thanks.
of course,there is the very simple code to reproduce the error
package main
import (
"bytes"
"compress/gzip"
_ "github.com/wasilibs/nottinygc"
)
func main() {
r := bytes.NewReader([]byte{})
gzip.NewReader(r)
}
compile with
tinygo build -o wasm.wasm -target wasi -gc=custom -tags=custommalloc -target=wasi -scheduler=none ./main.go
from nottinygc.
Hi @qq906907952 - thanks for the report. I will try to reproduce using the gzip library, but are you able to provide a code reproduction? Thanks.
from nottinygc.
Thanks a lot for the repro @qq906907952! I have released 0.7.1 with a fix for the bug.
from nottinygc.
Related Issues (14)
- Failed to load Wasm module in Istio HOT 2
- browser support? HOT 22
- Can I use malloc? HOT 4
- nottinygc memory leak with fastcache HOT 2
- invalid flag: --export=malloc HOT 2
- --export=malloc --export=free cause memory leak HOT 3
- Getting integer divide by zero error HOT 2
- Question: Does the gc execute before the `proxywasm.DispatchHttpCall` callback executes ? HOT 20
- Memory leak exists, should use GC_malloc_ignore_off_page when alloc large object. HOT 18
- error: Linking globals named 'runtime.SetFinalizer': symbol multiply defined! HOT 5
- There may be a memory leak when processing memory blocks containing non-ASCII characters. HOT 4
- Wasm VM failed Failed to initialize Wasm code HOT 3
- can nottinygc support wasm? HOT 1
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 nottinygc.