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
LargeNumber fail on master #510
Comments
a more relevant output is this one:
seems like the output stream is closed... |
Some of the tests in the test suite are supposed to fail. This is the case with the testBuildCarryChain in DataTest.scala, so the exception is expected and if it isn't thrown, the test will fail. On the other hand, all the LargeNumber tests are expected to pass. It might be the case that your c++ compilation step failed and there was no executable for the tester to run. We'll need to see more of the LargeNumber test output (specifically the 20 lines preceding the ones you've copied here) to be sure. |
Also please post your scala and g++ version |
These are complete std-out and std-err of the command https://gist.github.com/andreaTP/f8845c8c396cbb345550 https://gist.github.com/andreaTP/fcddbeea5407ab2a7327 scala is 2.11.6 as it is specified in build.sbt |
Hmm ... Can't see any informative error messages. Can you try running the following: g++ -g -c -o test-outputs//LargeNumberSuite_Rsh_1-emulator.o -I../ -I/csrc/ test-outputs//LargeNumberSuite_Rsh_1-emulator.cpp
g++ -g -c -o test-outputs//LargeNumberSuite_Rsh_1.o -I../ -I/csrc/ test-outputs//LargeNumberSuite_Rsh_1.cpp
g++ -g -o test-outputs//LargeNumberSuite_Rsh_1 test-outputs//LargeNumberSuite_Rsh_1.o test-outputs//LargeNumberSuite_Rsh_1-emulator.o
gdb test-outputs/LargeNumberSuite_Rsh_1 Then run it. Hopefully it will tell us why it crashed |
I do not think this is useful:
|
this: |
The stderr output is for a different test:
i.e., this one:
I think you need to include the test name with testOnly in quotes to actually have the intended effect:
otherwise, it is silently ignored (and all tests are run). |
Replicated using clang++ on linux:
Can confirm no other exception or stderr output |
Running in gdb gives the following segmentation fault:
Issue is amount is uninitialized, hence n_shift_words is large. Ill patch now |
Ok, just added a pull request that fixes it for clang |
Resolved in pr #512 |
I can confirm that now it works even on my Mac. |
testing master before publishing it locally generate this error:
The text was updated successfully, but these errors were encountered: