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

Tests give "Access violation in generated code when reading 0xffffffffffffffff" #311

Open
chenyulue opened this issue Oct 31, 2019 · 2 comments

Comments

@chenyulue
Copy link

My os is win 10, and I install hmatrix successfully. When I run hmatrix-tests by runTests 20, I get the following error messages:

------ index
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
+++ OK, passed 100 tests.
(4 tests)
Access violation in generated code when reading 0xffffffffffffffff

Attempting to reconstruct a stack trace...

Frame Code address

  • 0x77cdd30 0x1014bd58 C:\sr\global-project.stack-work\install\f7aa4a34\lib\x86_64-windows-ghc-8.6.5\hmatrix-0.20.0.0-6e7rGtyZnFHGxVFxc9QIEM\HShmatrix-0.20.0.0-6e7rGtyZnFHGxVFxc9QIEM.o+0x29bc00
    (conjugateC+0x140)
  • 0x77cdd38 0xfeeb63c C:\sr\global-project.stack-work\install\f7aa4a34\lib\x86_64-windows-ghc-8.6.5\hmatrix-0.20.0.0-6e7rGtyZnFHGxVFxc9QIEM\HShmatrix-0.20.0.0-6e7rGtyZnFHGxVFxc9QIEM.o+0x3b4e4
    (hmatrixzm0zi20zi0zi0zm6e7rGtyZZnFHGxVFxc9QIEM_InternalziVectorizzed_czuconjugateQ_info+0x54)
  • 0x77cdd40 0xa31cb6ca076
  • 0x77cdd48 0x6cea630
  • 0x77cdd50 0x24
  • 0x77cdd58 0x6efe468
  • 0x77cdd60 0x49c38c36e2c

I'm a little confused about its occurrence. It's seems related to the generated code. Anyway, some test samples succeed.

@idontgetoutmuch
Copy link
Member

Interesting bug - the tests in hmatrix give many false positives in any event and need a good overhaul.

@HuwCampbell
Copy link
Collaborator

Was this addressed by #325?

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

3 participants