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

Failed iniquity-gc tests on Linux #35

Open
lihaohong6 opened this issue Jan 29, 2025 · 2 comments
Open

Failed iniquity-gc tests on Linux #35

lihaohong6 opened this issue Jan 29, 2025 · 2 comments

Comments

@lihaohong6
Copy link

The command raco test -p langs produced errors for iniquity-gc tests. They are reproduced on Fedora 41 and Debian sid (via docker). Errors did not occur on a macbook.

Fedora 41

Collect garbage: rsp = 7ffe01470648, rbp = 7ffe01470648, rbx = 7f1ab141b010
Collect garbage: rsp = 7ffe01470648, rbp = 7ffe01470648, rbx = 7f1ab141b018
Collect garbage: rsp = 7ffe01470648, rbp = 7ffe01470648, rbx = 7f1ab141b010
Collect garbage: rsp = 7ffe01470640, rbp = 7ffe01470648, rbx = 7f1ab141b018
Collect garbage: rsp = 7ffe01470640, rbp = 7ffe01470648, rbx = 7f1ab141b018
Collect garbage: rsp = 7ffe01449540, rbp = 7ffe01470648, rbx = 7f1ab142e888
--------------------
ERROR
name:       check-equal?
location:
  /home/peter/.local/share/racket/8.15/pkgs/langs/iniquity-gc/test/test-runner.rkt:196:2

invalid memory reference.  Some debugging context lost
--------------------

More info:

OS: Fedora Linux 41 x86_64
Kernel: 6.12.8-200.fc41.x86_64
gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
GNU ld version 2.43.1-5.fc41
NASM version 2.16.03 compiled on Jul 18 2024

Debian sid (in a docker container)

Collect garbage: rsp = 7ffc8e675958, rbp = 7ffc8e675958, rbx = 7fd5b0f65010
--------------------
ERROR
name:       check-equal?
location:
  root/.local/share/racket/8.14/pkgs/langs/iniquity-gc/test/test-runner.rkt:187:2

invalid memory reference.  Some debugging context lost
--------------------
Collect garbage: rsp = 7ffc8e675958, rbp = 7ffc8e675958, rbx = 7fd5b0f65018
Collect garbage: rsp = 7ffc8e675958, rbp = 7ffc8e675958, rbx = 7fd5b0f65010
--------------------
ERROR
name:       check-equal?
location:
  root/.local/share/racket/8.14/pkgs/langs/iniquity-gc/test/test-runner.rkt:189:2

invalid memory reference.  Some debugging context lost
--------------------
Collect garbage: rsp = 7ffc8e675950, rbp = 7ffc8e675958, rbx = 7fd5b0f65018
Collect garbage: rsp = 7ffc8e675950, rbp = 7ffc8e675958, rbx = 7fd5b0f65018
Collect garbage: rsp = 7ffc8e64e850, rbp = 7ffc8e675958, rbx = 7fd5b0f78888
--------------------
ERROR
name:       check-equal?
location:
  root/.local/share/racket/8.14/pkgs/langs/iniquity-gc/test/test-runner.rkt:196:2

invalid memory reference.  Some debugging context lost
--------------------

More info:

gcc (Debian 14.2.0-15) 14.2.0
GNU ld (GNU Binutils for Debian) 2.43.90.20250127
NASM version 2.16.03
@lihaohong6
Copy link
Author

ld also gave this warning on Debian sid. I doubt this feature will be removed soon, though, so this is probably not urgent.

/usr/bin/ld: warning: /root/.local/share/racket/8.14/pkgs/langs/test-programs/hoax/str.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

@lihaohong6
Copy link
Author

Just tested on Ubuntu, here's an updated status:

What worked: Ubuntu 22.04, Ubuntu 24.04, Ubuntu-devel, macOS.
What did not work: Fedora 41, Debian sid.
Debian 12 was stuck on inquity-gc tests for 2 hours, so I just terminated it.

Not sure what's the root cause here. Since most people will use Ubuntu anyway, it'll only affect a very small set of people.

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

1 participant