Skip to content
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

crash running System.Core under mono+wasm #5015

Closed
kumpera opened this issue Apr 19, 2018 · 5 comments
Closed

crash running System.Core under mono+wasm #5015

kumpera opened this issue Apr 19, 2018 · 5 comments

Comments

@kumpera
Copy link

kumpera commented Apr 19, 2018

Found during CI of mono WebAssembly.
This is on 64bits linux and ChakraCore 1.8.3.

Build log: https://jenkins.mono-project.com/job/test-mono-pull-request-wasm/7/parsed_console/log.html

Error:

WASM: TestToList 66/1183
WASM: TestToListOrdered 66/1184
WASM: UnorderedTakeTestCase 66/1185
WASM: WhereTestCase 66/1186
WASM: ZipTestCase 66/1187
WASM: CtorNull 66/1188
WASM: DefaultCtor 66/1189
WASM: TransformCtor 66/1190
make[1]: *** [run-ch-system-core] Segmentation fault (core dumped)
make: *** [run-all-system-core] Error 2

To reproduce it you need to build & run mono in the wasm configuration.
Instructions here: https://github.com/mono/mono/blob/master/sdks/wasm/README.md

@VSadov
Copy link
Contributor

VSadov commented Apr 19, 2018

the log seems missing.

@akoeplinger
Copy link

It's essentially what was posted above.

@kumpera I guess you could create a .zip of the mono wasm bits so it's easier for the Chakra folks to investigate?

@kumpera
Copy link
Author

kumpera commented Apr 19, 2018

Here's a job with the same issue: https://jenkins.mono-project.com/job/test-mono-pull-request-wasm/8/

@jackhorton
Copy link
Contributor

@Cellule may know more about this

@MikeHolman
Copy link
Contributor

This is a bug with SWB, which assumes any pointer size write to a field is updating a recycler Object (which is not the case in wasm). Consequence is writing to the card table at an invalid index.

chakrabot pushed a commit that referenced this issue Apr 21, 2018
…able for wasm stores

Merge pull request #5023 from MikeHolman:wasmswbfix

Fixes #5015
chakrabot pushed a commit that referenced this issue Apr 21, 2018
…arrier card table for wasm stores

Merge pull request #5023 from MikeHolman:wasmswbfix

Fixes #5015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants