caught RuntimeError: memory access out of bounds
tanxianjun2016 opened this issue · 7 comments
Same here. Do you find a way to fix this one?
I found the line that cause the above error:
File: src/reconstruction.cpp
SparseMatrix<double> Q = Minv * LFlatNotMerged;
But I don't know how to fix it.
./emsdk install sdk-2.0.11-64bit
I have lowered the version of EMSDK
@tanxianjun2016 Thank you so much for response. It's kind of desperate here :(
I've just tried to install your suggested version. But the installation is not success. Have you got this issue before?
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install sdk-2.0.11-64bit
./emsdk activate sdk-2.0.11-64bit
#0 0.211 Cloning into 'emsdk'...
#0 2.159 Resolving SDK version '2.0.11' to 'sdk-releases-4764c5c323a474f7ba28ae991b0c9024fccca43c-64bit'
#0 2.159 Installing SDK 'sdk-releases-4764c5c323a474f7ba28ae991b0c9024fccca43c-64bit'..
#0 2.159 Installing tool 'node-15.14.0-64bit'..
#0 2.159 Downloading: /opt/emsdk/zips/node-v15.14.0-linux-arm64.tar.xz from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v15.14.0-linux-arm64.tar.xz, 21182264 Bytes
#0 2.159 [----------------------------------------------------------------------------]
#0 6.295 Error: Downloading URL 'https://storage.googleapis.com/webassembly/emscripten-releases-builds/linux/4764c5c323a474f7ba28ae991b0c9024fccca43c/wasm-binaries-arm64.tbz2': HTTP Error 404: Not Found
#0 6.295 error: installation failed!
#0 6.295 Unpacking '/opt/emsdk/zips/node-v15.14.0-linux-arm64.tar.xz' to '/opt/emsdk/node/15.14.0_64bit'
#0 6.295 Done installing tool 'node-15.14.0-64bit'.
#0 6.295 Installing tool 'releases-4764c5c323a474f7ba28ae991b0c9024fccca43c-64bit'.
so sorry, this version is ok
./emsdk install sdk-2.0.34-64bit
It's weird. I still got the above error. It seems like Emsdk remove all their old versions.
@tanxianjun2016 I followed your idea about lowering the version of EMSDK.
I tried with the version ./emsdk install sdk-3.1.9
the installation is success and the error is gone.
Thank you so much.