-
Notifications
You must be signed in to change notification settings - Fork 118
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
thread 'main' panicked at 'index out of bounds when trying to load Logtalk #1233
Comments
Logtalk starts fine now. Thanks for the bug fixes. But trying to run some simple tests trigger a read error followed by a crash:
I will try to isolate the read error. But meanwhile I hope the crash stack trace would be useful. |
Made some progress but now the logtalk os module load is failing. |
Just compiled the latest git version (37e34c5) of the caught: error(syntax_error(incomplete_reduction),read_term/3:25) It can be reproduced in a more simpler way:
Instrumenting the Scryer adapter file, the
|
Related: #1258. |
On OSX, I get: ?- write(1.0e-5), nl. 0.00001 true. |
Interesting. I'm also on macOS (12.1) and I get (with 37e34c5):
Could it be a locale issue? |
On Linux I get 1.000000... I'm surprised by the difference between platforms. Rust is usually quite good about harmonizing these things. |
When I type LC_CTYPE=UTF-8 I tried several different values, and always get the same result. Maybe this is worth filing as an issue for Rust? |
On Arch Linux, updated today, it says:
I don't have |
Is scryer-prolog/src/machine/system_calls.rs Line 1799 in 37e34c5
Then the change in float formatting behaviour could be rust-lang/rust#86479 changing the Debug formatting for floats in 1.58.0 |
And then after rustupping:
|
@Skgland: This seems to affect not only |
Yes, I ment Debug as in |
Next bug, using 2b09cb4:
|
Thanks for the latest fixes. With e4ea547, I now get:
No idea how to debug it this time. |
With 5b82963:
|
Problem issue in c893247. Thanks! Notably, I'm able to run Logtalk's standards compliance suite again. |
The text was updated successfully, but these errors were encountered: