convert2xkt memory access out of bounds
noblejrepo opened this issue · 4 comments
Hi,
I'm trying to convert IFC with convert2xkt but some ifc have this issues. And I can't convert them.
Do you have an advance for me to find out where is the problem come from ?
comand on centos : #convert2xkt.js -l -s file.ifc -o file.xkt
OUTPUT :
Error: RuntimeError: memory access out of bounds
at :wasm-function[297]:0x1b016
at :wasm-function[474]:0x35fe0
at :wasm-function[114]:0x699d
at :wasm-function[474]:0x346c7
at :wasm-function[114]:0x699d
at :wasm-function[474]:0x34497
at :wasm-function[114]:0x699d
at :wasm-function[474]:0x3337b
at :wasm-function[114]:0x699d
at :wasm-function[988]:0x5f56c
Hi - this is likely to be caused by web-ifc, which convert2xkt uses internally to parse IFC.
That's a WASM module, which you may need to compile for the hardware you're running it on.
Thank you for your answer.
We already installed web-ifc because we had converted like 55 ifc but only 4 which didn't work.
I have WASM module also installed.
And I don't understand why it is not work due to "memory access out of bounds" for 4 ifc. I don't know how I can do.
Hi, this is a problem with web-ifc, which is the third-party component that convert2xkt uses to convert IFC to XKT - best to raise this issue with that repository: https://github.com/tomvandig/web-ifc