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

Test 019 segfaults sometimes #169

Open
gitoliver opened this issue Dec 12, 2023 · 2 comments
Open

Test 019 segfaults sometimes #169

gitoliver opened this issue Dec 12, 2023 · 2 comments
Assignees
Labels

Comments

@gitoliver
Copy link
Contributor

######## GMML TESTS COMPLETED ########
Required tests:	22
Passed tests:	21
Failed tests:	1
Time taken:	34 seconds
######################################

!!! OUTPUT OF THE 1 GMML TEST(S) THAT FAILED !!!

Testing 019.test.newPDBClass.cpp... ~30 seconds. ./019.test.newPDBClass.sh: line 14:  1455 Segmentation fault      (core dumped) ./newPdbClass tests/inputs/"${file}" > 019.output.txt
Test FAILED!. 019.output.txt different from tests/correct_outputs/019.4mbz.pdb-output.txt
 Compare using diff

Exit Code: 1

!!! FINISHED PRINTING FAILED TESTS !!!

webdev@oliver-gw-grpc-delegator:/programs/gems/gmml/tests$ bash 019.test.newPDBClass.sh 
Testing 019.test.newPDBClass.cpp... ~30 seconds. Test passed.
Exit Code: 0
019.test.newPDBClass.sh: line 32: return: can only `return' from a function or sourced script
webdev@oliver-gw-grpc-delegator:/programs/gems/gmml/tests$ 

This happens on bare metal too, and so far only when running with other tests as a batch. Re-running the test by itself, or in a batch often has everything pass. Given the intermittent behavior, and that it only shows up when running as a batch of tests, I suspect the threading code for bond by distance has a fatal flaw.

@gitoliver gitoliver added the bug label Dec 12, 2023
@gitoliver gitoliver self-assigned this Dec 12, 2023
@gitoliver
Copy link
Contributor Author

I've now seen this when running tests in the grpc delegator:

Testing 000.buildBySequence.cc... In file included from /programs/gems/gmml/includes/gmml.hpp:164,
                 from tests/000.buildBySequence.cc:1:
/programs/gems/gmml/includes/Resolver/PdbPreprocessor/pdbpreprocessor.hpp:471:9: internal compiler error: Segmentation fault
  471 |         }
      |         ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
Test FAILED!
 buildBySequence.pdb does not exist.
Exit Code: 1

At the same time I saw test 019 failing too:

Testing 019.test.newPDBClass.cpp... ~30 seconds. ./019.test.newPDBClass.sh: line 14:  1582 Segmentation fault      (core dumped) ./newPdbClass tests/inputs/"${file}" > 019.output.txt
Test FAILED!. 019.output.txt different from tests/correct_outputs/019.2n7b.pdb-output.txt
 Compare using diff

Exit Code: 1

@vraid
Copy link

vraid commented Jul 5, 2024

This has been resolved in gmml2 here GLYCAM-Web@c4005e8
As for gmml, well, i absolve myself of responsibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants