notgiven688 / webminerpool

Complete sources for a monero webminer.
262 stars 174 forks source link

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

Open comsians123 opened 6 years ago

comsians123 commented 6 years ago

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

notgiven688 commented 6 years ago

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

comsians123 commented 6 years ago

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 commented 6 years ago

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.