Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uncaught exception in Haskell thread: Error: invalid big integer: incorrect number of limbs #11

Open
RobertFischer opened this issue May 21, 2018 · 6 comments

Comments

@RobertFischer
Copy link

Getting a bunch of these issues using this build:

resolver: lts-9.21
compiler: ghcjs-0.2.1.9009021_ghc-8.0.2
compiler-check: match-exact
setup-info:
  ghcjs:
    source:
      ghcjs-0.2.1.9009021_ghc-8.0.2:
        url: https://github.com/matchwood/ghcjs-stack-dist/raw/master/ghcjs-0.2.1.9009021.tar.gz
        sha1: b1740c3c99e5039ac306702894cd6e58283f4d31

Here is what the errors look like:

h$ghcjsbn_assertValid_b@http://localhost:8080/ghcjs.js:19825:11 h$ghcjsbn_quotRem_bw@http://localhost:8080/ghcjs.js:20376:3 h$_hs_bytestring_long_long_uint_dec@http://localhost:8080/ghcjs.js:26191:9 h$$bCB@http://localhost:8080/ghcjs.js:100197:11 h$runThreadSlice@http://localhost:8080/ghcjs.js:8049:11 h$runThreadSliceCatch@http://localhost:8080/ghcjs.js:7999:12 h$mainLoop@http://localhost:8080/ghcjs.js:7994:9 run@webpack-internal:///./node_modules/setimmediate/setImmediate.js:48:9 runIfPresent@webpack-internal:///./node_modules/setimmediate/setImmediate.js:83:11 onGlobalMessage@webpack-internal:///./node_modules/setimmediate/setImmediate.js:125:9

Any tips on what's going on and how to work around it?

@matchwood
Copy link
Owner

Can you provide some info about your environment? Windows/Linux etc?

@RobertFischer
Copy link
Author

Ubuntu Linux.

LSB Version:	core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:printing-9.20160110ubuntu0.2-amd64:printing-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.4 LTS
Release:	16.04
Codename:	xenial

Let me know if anything else is helpful.

@RobertFischer
Copy link
Author

Looks like it was an issue with the bytestring shim: ghcjs/ghcjs#662 Do we need to do anything to get this shim into ghcjs-0.2.1.9009021_ghc-8.0.2?

@matchwood
Copy link
Owner

Ah good work. I was only asking for the distro in case it was a Windows issue.

We do indeed need to do something - I need to rebuild the stack release against the new shim. I'll try to get this done in the next day or two (you are also welcome to do it! I can give pointers if you like).

@RobertFischer
Copy link
Author

Can I throw you some cash to make this happen faster? I kinda need it ASAP.

@matchwood
Copy link
Owner

Haha I will try to do it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants