Comments (12)
Which version did you try?
from go-plugin.
@codefromthecrypt Is it relevant to the recent update of wazero?
from go-plugin.
it seems something to do with the memory management change in TinyGo, but haven't looked into yet
from go-plugin.
maybe adds the test dimension with TinyGo versions since i see go-plugin is only tested with TinyGo 0.24 which is two versions behind the latest
from go-plugin.
@mathetake Thanks for your insight.
@goliatone Which version of TinyGo are you using?
from go-plugin.
@knqyf263 tinygo version 0.26.0 darwin/amd64 (using go version go1.18.7 and LLVM version 14.0.0)
from go-plugin.
I imagine this commit is the root cause tinygo-org/tinygo@03d1c44. since that commit (included in 0.26), passing size=0 to the malloc results in panic.
from go-plugin.
cc @anuraaga
from go-plugin.
#9 fixes!
from go-plugin.
@goliatone Do you mind trying the latest commit?
from go-plugin.
I verified tinygo 0.26 works via #10 also
from go-plugin.
Thanks for the pointer, sent tinygo-org/tinygo#3303 to fix in TinyGo
from go-plugin.
Related Issues (20)
- Removes context parameter from instruction-scoped operations HOT 3
- too many arguments in call to p.module.Memory().Size HOT 4
- Plugin seems to be closing. Saving plugins in a map and calling on functionality elsewhere HOT 3
- exposing filesystem from plugin to host HOT 2
- Is using values instead of pointers is by design? HOT 2
- Proposal: Utilize golang text template engine for generating plugin files HOT 2
- protoc-gen-go-plugin always generate it's hardcoded version HOT 2
- Cleanup *.pb.go files generated at previous generating stage
- Add option to plugin for generating additional application stubs
- Add golangci-lint step and fix linter issues
- After update: panic: free: invalid pointer HOT 7
- Allow using CompiledModule from previous call instead of loading from disk HOT 4
- Add loading plugins from binary HOT 3
- How can I get the plugin id before plugin loaded
- Gen calling code for non golang ?
- Plugin is not compiling with tinygo v0.29.0 HOT 2
- Can I use go1.21 to compile plugins?
- Missing proto `fieldmaskpb` package (for known types)
- Warning/Error with host functions HOT 2
- unexpected fault address
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 go-plugin.