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

[BUG] "Access violation" errors in lsm-tree-test #549

Closed
jorisdral opened this issue Jan 27, 2025 · 1 comment · Fixed by #551
Closed

[BUG] "Access violation" errors in lsm-tree-test #549

jorisdral opened this issue Jan 27, 2025 · 1 comment · Fixed by #551
Assignees
Labels
bug Something isn't working

Comments

@jorisdral
Copy link
Collaborator

jorisdral commented Jan 27, 2025

Describe the bug

There are test failures on main because the tests throw errors with the message "Access violation in generated code when writing ...". It seems to be only happening on Windows.

To Reproduce
Follow the steps defined by the haskell.yml Github Actions workflow. It is not clear whether the bugs can reproduced locally, since I (@jorisdral) don't have a Windows machine to try it out on.

Expected behavior
Tests should pass

Output

https://github.com/IntersectMBO/lsm-tree/actions/runs/12958624976/job/36149389798
https://github.com/IntersectMBO/lsm-tree/actions/runs/12958624976/job/36149392812
https://github.com/IntersectMBO/lsm-tree/actions/runs/12958624976/job/36149392812
https://github.com/IntersectMBO/lsm-tree/actions/runs/12958624976/job/36149389798

The following might also be related, but does not produce the same error message:

https://github.com/IntersectMBO/lsm-tree/actions/runs/12951447199/job/36126516458

Desktop (please complete the following information):

  • OS: Windows
  • OS version: Windows Server 2022
  • GHC: 8.10.7, 9.8.2

Additional context
These tests have started showing up after #539 was merged. Maybe there are some out-of-bounds byte array accesses introduced by that PR?

@jorisdral jorisdral added the bug Something isn't working label Jan 27, 2025
@jorisdral jorisdral self-assigned this Jan 27, 2025
@jorisdral
Copy link
Collaborator Author

https://github.com/IntersectMBO/lsm-tree/actions/runs/12991793637/job/36230168943?pr=532
it also happened on Ubuntu, though it did not print an error message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant