-
Notifications
You must be signed in to change notification settings - Fork 849
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
heap_get_oob only on aarch64 #3764
Comments
I tried to reproduce the error on a mac m1, but I'm not sure what I should clone. I cloned |
@ptitSeb did you do npm test? |
ah no. That was the missing step I guess. |
Ok, I reproduce now. I'll analyse what is happening... |
@kwonoj how can I reproduce the issue using the As a first analysis, I see the error seems to be inside a wait/notify opcode. The support for this opcode as been improved with the current dev. version so I would need to test with current dev. file before I can release the 3.2 of wasmer. |
@ptitSeb You'll need couple of steps:
|
Ok, that's quite some steps! Thanks for the details, I'll try all this later. |
I'm not sure, I tried the same commit and it compiles : https://github.com/kwonoj/swc-plugin-coverage-instrument/pull/210/files |
Hey @kwonoj can you try 3.2.0? We did some fixes that we believe might have solved the issue |
**Description:** Maybe fix? #7238 wasmerio/wasmer#3764 (comment)
@syrusakbary Unfortunately still seeing same after we bump up [email protected]. |
I'm working with @ptitSeb to find out the culprit, will keep posted here the updates |
@kwonoj I'm sorry but I still cannot get a build of the plugin with a local swc repo. I use latest version of |
@kwonoj I don't reproduce the issue anymore on my side. Did you fix it upstream? |
Closing the ticket. Fell free to reopen it (or create a new one) if something get wrong again @kwonoj |
@ptitSeb Just saw this, this is still reproducible by running release build of plugin. |
|
Oh, |
Describe the bug
SWC (https://github.com/swc-project/swc) recently tried another attempt to upgrade wasmer from 2 -> 3. Previously it cause all of the execution fails without clear reason why. Now it seems working on some cases, however only on aarch64 (M1 mac, for example) seeing
heap_get_oob
when execute wasm plugins.For example, this changes (which upgrades wasmer to 3) kwonoj/swc-plugin-coverage-instrument#208 passes CI correctly, but running it on aarch64 machine emits
We do not have clear isolated repro case yet, since bit unsure where should I look into further. Would like to ask some helps to dig this further. Is there any differences how memory work between different host? or something configurable?
The text was updated successfully, but these errors were encountered: