Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shubham808/864261eed299b5b1a8fbcb89d6d260e9 to your computer and use it in GitHub Desktop.
Save shubham808/864261eed299b5b1a8fbcb89d6d260e9 to your computer and use it in GitHub Desktop.
Valgrind Error Log
[----------] 5 tests from KNN
[ RUN ] KNN.brute_solver
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
[ OK ] KNN.brute_solver (75 ms)
[ RUN ] KNN.kdtree_solver
[ OK ] KNN.kdtree_solver (164 ms)
[ RUN ] KNN.lsh_solver
[ OK ] KNN.lsh_solver (135 ms)
[ RUN ] KNN.classify_multiple_brute
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
[ OK ] KNN.classify_multiple_brute (53 ms)
[ RUN ] KNN.classify_multiple_kdtree
[ OK ] KNN.classify_multiple_kdtree (161 ms)
[----------] 5 tests from KNN (589 ms total)
[----------] 1 test from QDA
[ RUN ] QDA.train_and_apply
[ OK ] QDA.train_and_apply (38 ms)
[----------] 1 test from QDA (38 ms total)
[----------] 5 tests from SGDMinimizer
[ RUN ] SGDMinimizer.test1
[ OK ] SGDMinimizer.test1 (72 ms)
[ RUN ] SGDMinimizer.test2
[ OK ] SGDMinimizer.test2 (33 ms)
[ RUN ] SGDMinimizer.test3
[ OK ] SGDMinimizer.test3 (45 ms)
[ RUN ] SGDMinimizer.test4
[ OK ] SGDMinimizer.test4 (33 ms)
[ RUN ] SGDMinimizer.test5
[ OK ] SGDMinimizer.test5 (34 ms)
[----------] 5 tests from SGDMinimizer (218 ms total)
[----------] 2 tests from SVRGMinimizer
[ RUN ] SVRGMinimizer.test1
[ OK ] SVRGMinimizer.test1 (54 ms)
[ RUN ] SVRGMinimizer.test2
[ OK ] SVRGMinimizer.test2 (24 ms)
[----------] 2 tests from SVRGMinimizer (79 ms total)
[----------] 1 test from AdaDeltaUpdater
[ RUN ] AdaDeltaUpdater.test1
[ OK ] AdaDeltaUpdater.test1 (28 ms)
[----------] 1 test from AdaDeltaUpdater (28 ms total)
[----------] 1 test from AdamUpdater
[ RUN ] AdamUpdater.test1
[ OK ] AdamUpdater.test1 (29 ms)
[----------] 1 test from AdamUpdater (29 ms total)
[----------] 1 test from AdaptMomentumCorrection
[ RUN ] AdaptMomentumCorrection.test1
[ OK ] AdaptMomentumCorrection.test1 (45 ms)
[----------] 1 test from AdaptMomentumCorrection (45 ms total)
[----------] 2 tests from L1PenaltyForTG
[ RUN ] L1PenaltyForTG.test1
[ OK ] L1PenaltyForTG.test1 (18 ms)
[ RUN ] L1PenaltyForTG.test2
[ OK ] L1PenaltyForTG.test2 (21 ms)
[----------] 2 tests from L1PenaltyForTG (40 ms total)
[----------] 1 test from ElasticNetPenalty
[ RUN ] ElasticNetPenalty.test1
[ OK ] ElasticNetPenalty.test1 (20 ms)
[----------] 1 test from ElasticNetPenalty (21 ms total)
[----------] 1 test from SMIDASMinimizer
[ RUN ] SMIDASMinimizer.test1
[ OK ] SMIDASMinimizer.test1 (25 ms)
[----------] 1 test from SMIDASMinimizer (25 ms total)
[----------] 2 tests from CLBFGSMinimizer
[ RUN ] CLBFGSMinimizer.test1
[ OK ] CLBFGSMinimizer.test1 (17 ms)
[ RUN ] CLBFGSMinimizer.test2
[ OK ] CLBFGSMinimizer.test2 (7 ms)
[----------] 2 tests from CLBFGSMinimizer (27 ms total)
[----------] 3 tests from lbfgs
[ RUN ] lbfgs.original_lbfgs
[ OK ] lbfgs.original_lbfgs (8 ms)
[ RUN ] lbfgs.lbfgs_with_adjust_step_test1
[ OK ] lbfgs.lbfgs_with_adjust_step_test1 (14 ms)
[ RUN ] lbfgs.lbfgs_with_adjust_step_test2
[ OK ] lbfgs.lbfgs_with_adjust_step_test2 (12 ms)
[----------] 3 tests from lbfgs (35 ms total)
[----------] 4 tests from EuclideanDistance
[ RUN ] EuclideanDistance.distance
[ OK ] EuclideanDistance.distance (8 ms)
[ RUN ] EuclideanDistance.distance_precomputed_norms
[ OK ] EuclideanDistance.distance_precomputed_norms (8 ms)
[ RUN ] EuclideanDistance.get_distance_matrix
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
[ OK ] EuclideanDistance.get_distance_matrix (17 ms)
[ RUN ] EuclideanDistance.heterogenous_features
[ OK ] EuclideanDistance.heterogenous_features (21 ms)
[----------] 4 tests from EuclideanDistance (54 ms total)
[----------] 1 test from Distance
[ RUN ] Distance.custom_mahalanobis
[ OK ] Distance.custom_mahalanobis (12 ms)
[----------] 1 test from Distance (12 ms total)
[----------] 1 test from MahalanobisDistance
[ RUN ] MahalanobisDistance.compute_distance
[ OK ] MahalanobisDistance.compute_distance (18 ms)
[----------] 1 test from MahalanobisDistance (18 ms total)
[----------] 1 test from MalsarL12Test
[ RUN ] MalsarL12Test.train
[ OK ] MalsarL12Test.train (66 ms)
[----------] 1 test from MalsarL12Test (66 ms total)
[----------] 1 test from MalsarClusteredTest
[ RUN ] MalsarClusteredTest.train
[WARN] In file /home/atom/shogun/src/gpl/shogun/transfer/multitask/MultitaskClusteredLogisticRegression.cpp line 128: Clustered LR is unstable with C++11
[ OK ] MalsarClusteredTest.train (19 ms)
[----------] 1 test from MalsarClusteredTest (19 ms total)
[----------] 1 test from MalsarTraceTest
[ RUN ] MalsarTraceTest.train
[ OK ] MalsarTraceTest.train (58 ms)
[----------] 1 test from MalsarTraceTest (58 ms total)
[----------] 6 tests from KMeans
[ RUN ] KMeans.manual_center_initialization_test
[ OK ] KMeans.manual_center_initialization_test (102 ms)
[ RUN ] KMeans.KMeanspp_center_initialization_test
[ OK ] KMeans.KMeanspp_center_initialization_test (89 ms)
[ RUN ] KMeans.minibatch_training_test
[ OK ] KMeans.minibatch_training_test (1009 ms)
[ RUN ] KMeans.fixed_centers
[ OK ] KMeans.fixed_centers (19 ms)
[ RUN ] KMeans.random_centers_init
[ OK ] KMeans.random_centers_init (17 ms)
[ RUN ] KMeans.random_centers_assign
[ OK ] KMeans.random_centers_assign (14 ms)
[----------] 6 tests from KMeans (1251 ms total)
[----------] 3 tests from LMNNImpl
[ RUN ] LMNNImpl.find_target_nn
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
[ OK ] LMNNImpl.find_target_nn (25 ms)
[ RUN ] LMNNImpl.sum_outer_products
[ OK ] LMNNImpl.sum_outer_products (18 ms)
[ RUN ] LMNNImpl.find_impostors_exact
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
[ OK ] LMNNImpl.find_impostors_exact (50 ms)
[----------] 3 tests from LMNNImpl (93 ms total)
[----------] 4 tests from LMNN
[ RUN ] LMNN.train_identity_init
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
[WARN] In file /home/atom/shogun/src/shogun/metric/LMNNImpl.cpp line 328: Maximum number of iterations reached before convergence.PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 2.7 seconds total
[ OK ] LMNN.train_identity_init (2790 ms)
[ RUN ] LMNN.train_termination
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 5.9 seconds total
[ OK ] LMNN.train_termination (5964 ms)
[ RUN ] LMNN.train_pca_init
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
[WARN] In file /home/atom/shogun/src/shogun/metric/LMNNImpl.cpp line 328: Maximum number of iterations reached before convergence.PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 2.4 seconds total
[ OK ] LMNN.train_pca_init (2475 ms)
[ RUN ] LMNN.train_diagonal
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 0.0 seconds total
[WARN] In file /home/atom/shogun/src/shogun/metric/LMNNImpl.cpp line 328: Maximum number of iterations reached before convergence.PROGRESS: |█████████████████| 100.00% 0.0 seconds remaining 5.8 seconds total
[ OK ] LMNN.train_diagonal (5848 ms)
[----------] 4 tests from LMNN (17078 ms total)
[----------] 1 test from StanPerceptronTest
[ RUN ] StanPerceptronTest.sample_perceptron
vex amd64->IR: unhandled instruction bytes: 0xF 0xC7 0xF0 0x89 0x6 0xF 0x42 0xC1
vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=0F
vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
==15876== valgrind: Unrecognised instruction at address 0x77a7b15.
==15876== at 0x77A7B15: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
==15876== by 0x77A7CB1: std::random_device::_M_getval() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
==15876== by 0xEA6008: StanPerceptronTest_sample_perceptron_Test::TestBody() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x1545602: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x1539089: testing::Test::Run() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x15391D7: testing::TestInfo::Run() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x15392E4: testing::TestCase::Run() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x153BDC7: testing::internal::UnitTestImpl::RunAllTests() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x153C4C8: testing::UnitTest::Run() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0xA677A6: main (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== Your program just tried to execute an instruction that Valgrind
==15876== did not recognise. There are two possible reasons for this.
==15876== 1. Your program has a bug and erroneously jumped to a non-code
==15876== location. If you are running Memcheck and you just saw a
==15876== warning about a bad jump, it's probably your program's fault.
==15876== 2. The instruction is legitimate but Valgrind doesn't handle it,
==15876== i.e. it's Valgrind's fault. If you think this is the case or
==15876== you are not sure, please let us know and we'll try to fix it.
==15876== Either way, Valgrind will now raise a SIGILL signal which will
==15876== probably kill your program.
==15876==
==15876== Process terminating with default action of signal 4 (SIGILL)
==15876== Illegal opcode at address 0x77A7B15
==15876== at 0x77A7B15: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
==15876== by 0x77A7CB1: std::random_device::_M_getval() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
==15876== by 0xEA6008: StanPerceptronTest_sample_perceptron_Test::TestBody() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x1545602: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x1539089: testing::Test::Run() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x15391D7: testing::TestInfo::Run() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x15392E4: testing::TestCase::Run() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x153BDC7: testing::internal::UnitTestImpl::RunAllTests() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0x153C4C8: testing::UnitTest::Run() (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876== by 0xA677A6: main (in /home/atom/shogun/build/bin/shogun-unit-test)
==15876==
==15876== HEAP SUMMARY:
==15876== in use at exit: 27,864,572 bytes in 430,373 blocks
==15876== total heap usage: 12,947,519 allocs, 12,517,146 frees, 1,448,425,044 bytes allocated
==15876==
==15876== LEAK SUMMARY:
==15876== definitely lost: 843,040 bytes in 8,010 blocks
==15876== indirectly lost: 24,911,403 bytes in 398,974 blocks
==15876== possibly lost: 252,273 bytes in 3,744 blocks
==15876== still reachable: 1,857,856 bytes in 19,645 blocks
==15876== of which reachable via heuristic:
==15876== multipleinheritance: 14,232 bytes in 219 blocks
==15876== suppressed: 0 bytes in 0 blocks
==15876== Rerun with --leak-check=full to see details of leaked memory
==15876==
==15876== For counts of detected and suppressed errors, rerun with: -v
==15876== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Killed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment