dfinity / ic-hs

A haskell toolbox for the Internet Computer
Apache License 2.0
35 stars 6 forks source link

Further debugging on the wasmtime segfault #200

Closed basvandijk closed 1 year ago

basvandijk commented 1 year ago

We now have a standalone executable called segfault which exhibits the same segfault:

$ cabal run segfault
...
Linking /home/bas/d/ic-hs/mraszyk/init-io/dist-newstyle/build/x86_64-linux/ghc-9.2.8/ic-hs-0.0.1/x/segfault/build/segfault/segfault ...
("c'wasmtime_module_new: error_ptr",0x0000000000000000)
Creating Instance ...
("c'wasmtime_instance_new: error_ptr",0x0000000000000000)
done
after peek
Received trap:
0x0000000000af21e5
Segmentation fault (core dumped)