webminerpool icon indicating copy to clipboard operation
webminerpool copied to clipboard

Module["asm"]["stackSave"] is undefined

Open comsians123 opened this issue 5 years ago • 3 comments

I am getting the following error screenshot from 2018-10-09 02-48-30

Function is called from here https://github.com/comsians123/webminerpool/blob/master/SDK/miner_raw/miner/cn.js#L286

Here is the function: https://github.com/comsians123/webminerpool/blob/master/SDK/miner_raw/miner/cn.js#L1166

comsians123 avatar Oct 09 '18 07:10 comsians123

Which browser/version? Could be a problem with async loading of webasm.

notgiven688 avatar Oct 09 '18 09:10 notgiven688

Chromium on Ubuntu 18.04

Chromium | 69.0.3497.100 (Official Build) snap (64-bit) OS | Linux JavaScript | V8 6.9.427.23 Flash | (Disabled) User Agent | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) snap Chromium/69.0.3497.100 Chrome/69.0.3497.100 Safari/537.36

comsians123 avatar Oct 09 '18 10:10 comsians123

PS: I am trying to debug the code in webstorm IDE (node environment) and getting the same error. I am not using any worker, just hard coded the parameters for hash = cn(blob, hexnonce, 0, variant); function call.

comsians123 avatar Oct 09 '18 11:10 comsians123