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

Dramatic assertion failure #13

Open
yav opened this issue Feb 26, 2021 · 1 comment
Open

Dramatic assertion failure #13

yav opened this issue Feb 26, 2021 · 1 comment

Comments

@yav
Copy link
Member

yav commented Feb 26, 2021

This fails with an assertion failure on the C side. We should instead check the invariant on the Haskell side and throw an exception.

bfToString 10 (showFreeMin Nothing) (bfFromInt 65504)
@RyanGlScott
Copy link
Contributor

Specifically, the failure reads (on 64-bit Linux using libBF-0.6.7):

ghc-9.4.7: libbf-quickjs-2021-03-27/libbf.c:3876: bf_ftoa_internal: Assertion `prec != BF_PREC_INF' failed.
Aborted (core dumped)

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