-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error in 32 bit CCL on Windows #3
Comments
Cannot reproduce in CCL 1.10 on Linux—and don't have Windows to test this myself. The integer 34950810361856 requires 45-bits, however—can you identify in the backtrace where it's coming from (more specifically than somewhere in Also, which versions of Windows and CCL has this appeared? |
It's CCL |
Would you be able to take a sample from CCL 1.09-r15764 of |
Hm. Looks like
That is an intentional 100,000 in the Anything else I could try? |
Hmmm. Try fiddling with Another point of issue could be the use of Also, does the same error happen on CCL 1.10, on Windows? |
I encounter the same problem on recentish (~2 months old?) SBCL. The problem occurs in this line. Line 28 in 9383183
Note that because I restrict my compiler policy in my RC file, the code is compiled with different optimize settings than the default. (sb-ext:restrict-compiler-policy 'debug 1)
(sb-ext:restrict-compiler-policy 'safety 1) I fixed the issue by moving the type assertion after performing the bitmasking. This seems correct as we can't guarantee that the result of shifting an ...
(logxor (isaac-ctx-a ctx)
(the (unsigned-byte 32)
(logand #xFFFFFFFF
(ash (isaac-ctx-a ctx)
(ecase (logand i 3)
((0) 13)
((1) -6)
((2) 2)
((3) -16))))))
... I encountered the problem trying to use https://github.com/inaimathi/session-token. (session-token:init-kernel-seed) |
@PuercoPop thanks for letting me know! That's a good point about guaranteeing the result of the shift. |
Steps to reproduce:
ccl
cl-isaac
Here's my repl session:
and here's the error dump
The text was updated successfully, but these errors were encountered: