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

Specialized binary results in a runtime segmentation fault with configuration priming: netperf #50

Closed
mudbri opened this issue Jul 4, 2021 · 2 comments
Assignees
Labels
bug Generic bug limitation Current limitations of OCCAM occamized-binary-exec-crash The specialized binary generated by OCCAM crashes

Comments

@mudbri
Copy link

mudbri commented Jul 4, 2021

The specialized binary of netperf, when specialized with configuration priming, outputs a segmentation fault when run. The files required to reproduce the problem can be found here. The issue can be reproduced in the following way:

  1. cd netperf
  2. make
  3. bash build.sh --enable-config-prime
  4. make test

The test compares the output of the specialized binary with the correct output. The test fails when the --enable-config-prime flag is provided. However, the test passes when the flag is not provided (i.e. bash build.sh). To see the segmentation fault, run ./netperf_slashed_stripped (after running bash build.sh --enable-config-prime).

@caballa caballa self-assigned this Jul 6, 2021
@caballa caballa added the bug Generic bug label Jul 6, 2021
@caballa caballa added occamized-binary-exec-crash The specialized binary generated by OCCAM crashes limitation Current limitations of OCCAM labels Aug 2, 2021
@caballa
Copy link

caballa commented Aug 2, 2021

The reason for the crash is explained in issue #54

@caballa caballa added occamized-binary-exec-wrong-output The specialized binary generated by OCCAM produces a wrong output occamized-binary-exec-crash The specialized binary generated by OCCAM crashes and removed occamized-binary-exec-crash The specialized binary generated by OCCAM crashes occamized-binary-exec-wrong-output The specialized binary generated by OCCAM produces a wrong output labels Sep 22, 2021
@caballa
Copy link

caballa commented Sep 22, 2021

Fixed in commit 0681400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Generic bug limitation Current limitations of OCCAM occamized-binary-exec-crash The specialized binary generated by OCCAM crashes
Projects
None yet
Development

No branches or pull requests

2 participants