-
Notifications
You must be signed in to change notification settings - Fork 82
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
graphene_quad_t installed test crashes #168
Comments
Note that the test passes in 1.8.6:
|
Thanks for your bug report. 1.8.6 used a completely different test suite, so it doesn't help me much. I'm also not going to build a nix package myself, as I'm not familiar with it. Could you please try and see if you can get a GDB stack trace and a valgrind log? |
Here is the backtrace:
|
Valgrind:
|
For completeness, we are using ebassi/mutest@822b5dd |
ebassi/mutest#11 seems to fix the test. |
We are adding terminating NUL into res[len]. To avoid the invalid write, let's allocate len + 1. Fixes: ebassi/graphene#168
We are adding terminating NUL into res[len]. To avoid the invalid write, let's allocate len + 1. Fixes: ebassi/graphene#168
Thanks, @jtojnar for the quick PR and thorough investigation! I've updated the µTest subproject in Graphene. |
Experienced behavior
I am trying to run graphene 1.9.6 installed tests in a NixOS module test VM and a single test fails:
The test when built in a sandbox succeeds; so it does when run in my user environment with
nix run -f . gnome-desktop-testing ostree -c gnome-desktop-testing-runner -d $(nix-build -A graphene.installedTests --no-out-link)/share graphene-1.0/quad.test
Expected behavior
Test succeeds.
Steps to reproduce
Operating system in use
NixOS unstable
SIMD implementation in use
?
The text was updated successfully, but these errors were encountered: