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

testIsNormalSegmentation failing #1

Open
figgeous opened this issue May 4, 2024 · 0 comments
Open

testIsNormalSegmentation failing #1

figgeous opened this issue May 4, 2024 · 0 comments

Comments

@figgeous
Copy link

figgeous commented May 4, 2024

Very nice program, but I'm having difficulty getting it to run. After entering me relation and functional dependencies, I ask to print the candidate key and get this error make: *** [Makefile:13: run] Segmentation fault (core dumped). When running make test in the tests folder I get the following:
g++ -c -std=c++11 -Werror -c setstr_compare.cc -o setstr_compare.o g++ -c -std=c++11 -Werror -c utility.cc -o utility.o g++ -c -std=c++11 -Werror -c dependency.cc -o dependency.o g++ -c -std=c++11 -Werror -c relation.cc -o relation.o g++ -c -std=c++11 -Werror -c user_interface.cc -o user_interface.o make[1]: Leaving directory '/home/figgeous/Documents/Database/Decomposer' Running test for setstr_compare class setstr_compare_test::testLess : OK OK (1) Running test for utility functions utility_test::testContains : OK utility_test::testIsPart : OK utility_test::testIsEqual : OK utility_test::testIsSubset : OK utility_test::testContains2 : OK utility_test::testOutOperator : OK utility_test::testSubOperator : OK utility_test::testSubOperator1 : OK OK (8) Running test for Dependency class dependency_test::testDependency : OK dependency_test::testGetLhs : OK dependency_test::testGetRhs : OK dependency_test::testGetAttribs : OK dependency_test::testDependency2 : OK dependency_test::testAddLhs : OK dependency_test::testAddRhs : OK dependency_test::testRemoveLhs : OK dependency_test::testRemoveRhs : OK dependency_test::testIsPresentLhs : OK dependency_test::testIsPresentRhs : OK dependency_test::testIsPresent : OK dependency_test::testSize : OK dependency_test::testSetLhs : OK dependency_test::testSetRhs : OK dependency_test::testClearLhs : OK dependency_test::testClearRhs : OK dependency_test::testClear : OK dependency_test::testOperatorOut : OK dependency_test::testOperatorLess : OK dependency_test::testOperatorGreat : OK dependency_test::testOperatorEq : OK dependency_test::testOperatorNotEq : OK dependency_test::testOperatorPlusEq : OK OK (24) Running test for Relation class relation_test::testRelation : OK relation_test::testRelation2 : OK relation_test::testAddAtributte : OK relation_test::testAddAtributtes : OK relation_test::testRemoveAtributte : OK relation_test::testRemoveDependency : OK relation_test::testRemoveDependency2 : OK relation_test::testAddDependencies : OK relation_test::testAddDependency : OK relation_test::testAddDependency2 : OK relation_test::testFindDepLHS : OK relation_test::testIsNormalSegmentation fault (core dumped)

Running Ubutun 22.4

Any chance that this could be fixed? It would be great to be able to use this program. Thanks

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

1 participant