-
-
Save AlexDaniel/46ffa7ae8e1084c04cc1fc304eecf3f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ PERL6LIB=lib/ perl6-valgrind-m t/02-csvc.t | |
================================================================================================ | |
This is Rakudo Perl 6 running in valgrind, a tool for debugging and profiling programs. | |
Running a program in valgrind usually takes *a lot* more time than running it directly, | |
so please be patient. | |
Valgrind options can be added with MVM_VALGRIND_OPTS environment variable. | |
This Rakudo version is 2018.12.266.g.3.d.581.c.8.d.2 built on MoarVM version 2018.12.36.g.34.fac.5.f.4.e, | |
running on debian (4.9.0) / linux (4.19.0.1.amd.64) | |
------------------------------------------------------------------------------------------------ | |
==17366== Memcheck, a memory error detector | |
==17366== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. | |
==17366== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info | |
==17366== Command: /home/alex/.rakudobrew/moar-master/install/bin/moar --execname=/home/alex/.rakudobrew/bin/../ath=/home/alex/.rakudobrew/moar-master/install/share/perl6/lib --libpath=/home/alex/.rakudobrew/moar-master/inst | |
==17366== | |
ok 1 - Given a setting of C_SVC/LINEAR, Algorithm::LibSVM.check-parameter should return True | |
ok 2 - Given a setting of C_SVC/LINEAR, When Algorithm::LibSVM::Model.predict<label> predicts a label of a instance (where the instance is at the center of the cluster labeled as 1 in the training set), it should return 1.0e0 | |
ok 3 - Given a setting of C_SVC/LINEAR/:probability, Algorithm::LibSVM.check-parameter should return True | |
ok 4 - Given a setting of C_SVC/LINEAR/:probability, When Algorithm::LibSVM::Model.predict<label> predicts a label of a instance (where the instance is at the center of the cluster labeled as 1 in the training set), it should return 1.0e0 | |
ok 5 - Given a setting of C_SVC/LINEAR/:probability, When Algorithm::LibSVM::Model.predict<prob-estimates> predicts a probability that given instance (where the instance is at the center of the cluster labeled as 1 in the training set) is labeled as 1, it should return a value larger than 0.25e0 | |
==17366== Invalid free() / delete / delete[] / realloc() | |
==17366== at 0x48369AB: free (vg_replace_malloc.c:530) | |
==17366== by 0x102AFEAC: svm_destroy_param (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== by 0x4B44410: ??? (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x1FFEFFF79F: ??? | |
==17366== by 0x4B44349: dc_callvm_call_x64 (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x102AFE9F: ??? (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== by 0xE0254BF: ??? | |
==17366== by 0x4F3B43F: ??? (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0xE0254BF: ??? | |
==17366== by 0x1FFEFFF7BF: ??? | |
==17366== by 0x4B43CBC: dcCallVoid (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x102AFE9F: ??? (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== Address 0xd887390 is 0 bytes inside a block of size 16 free'd | |
==17366== at 0x48369AB: free (vg_replace_malloc.c:530) | |
==17366== by 0x4A92F46: gc_free (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A60404: MVM_gc_collect_free_nursery_uncopied (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A5BC83: run_gc (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A5C5AE: MVM_gc_enter_from_allocator (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A5C905: MVM_gc_allocate_nursery (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A5CB1A: MVM_gc_allocate_object (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A2A6FF: MVM_interp_run (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4B19DF9: MVM_vm_run_file (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x109607: main (in /home/alex/.rakudobrew/moar-master/install/bin/moar) | |
==17366== Block was alloc'd at | |
==17366== at 0x4837B65: calloc (vg_replace_malloc.c:752) | |
==17366== by 0x4A92FD0: initialize (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A2A735: MVM_interp_run (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4B19DF9: MVM_vm_run_file (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x109607: main (in /home/alex/.rakudobrew/moar-master/install/bin/moar) | |
==17366== | |
==17366== Invalid free() / delete / delete[] / realloc() | |
==17366== at 0x48369AB: free (vg_replace_malloc.c:530) | |
==17366== by 0x4B44410: ??? (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x1FFEFFF79F: ??? | |
==17366== by 0x4B44349: dc_callvm_call_x64 (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x102AFE9F: ??? (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== by 0xE0254BF: ??? | |
==17366== by 0x4F3B43F: ??? (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0xE0254BF: ??? | |
==17366== by 0x1FFEFFF7BF: ??? | |
==17366== by 0x4B43CBC: dcCallVoid (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x102AFE9F: ??? (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== by 0xE0254BF: ??? | |
==17366== Address 0xd8873e0 is 0 bytes inside a block of size 32 free'd | |
==17366== at 0x48369AB: free (vg_replace_malloc.c:530) | |
==17366== by 0x4A92F46: gc_free (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A60404: MVM_gc_collect_free_nursery_uncopied (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A5BC83: run_gc (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A5C5AE: MVM_gc_enter_from_allocator (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A5C905: MVM_gc_allocate_nursery (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A5CB1A: MVM_gc_allocate_object (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A2A6FF: MVM_interp_run (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4B19DF9: MVM_vm_run_file (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x109607: main (in /home/alex/.rakudobrew/moar-master/install/bin/moar) | |
==17366== Block was alloc'd at | |
==17366== at 0x4837B65: calloc (vg_replace_malloc.c:752) | |
==17366== by 0x4A92FD0: initialize (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4A2A735: MVM_interp_run (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x4B19DF9: MVM_vm_run_file (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x109607: main (in /home/alex/.rakudobrew/moar-master/install/bin/moar) | |
==17366== | |
ok 6 - Given a setting of C_SVC/POLY, Algorithm::LibSVM.check-parameter should return True | |
ok 7 - Given a setting of C_SVC/POLY, When Algorithm::LibSVM::Model.predict<label> predicts a label of a instance (where the instance is at the center of the cluster labeled as 1 in the training set), it should return 1.0e0 | |
ok 8 - Given a setting of C_SVC/POLY/:probability, Algorithm::LibSVM.check-parameter should return True | |
ok 9 - Given a setting of C_SVC/POLY/:probability, When Algorithm::LibSVM::Model.predict<label> predicts a label of a instance (where the instance is at the center of the cluster labeled as 1 in the training set), it should return 1.0e0 | |
ok 10 - Given a setting of C_SVC/POLY/:probability, When Algorithm::LibSVM::Model.predict<prob-estimates> predicts a probability that given instance (where the instance is at the center of the cluster labeled as 1 in the training set) is labeled as 1, it should return a value larger than 0.25e0 | |
ok 11 - Given a setting of C_SVC/RBF, Algorithm::LibSVM.check-parameter should return True | |
ok 12 - Given a setting of C_SVC/RBF, When Algorithm::LibSVM::Model.predict<label> predicts a label of a instance (where the instance is at the center of the cluster labeled as 1 in the training set), it should return 1.0e0 | |
==17366== Invalid read of size 4 | |
==17366== at 0x102AFD49: svm_free_model_content (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== by 0x102AFE78: svm_free_and_destroy_model (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== by 0x4B44410: ??? (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x1FFEFFF79F: ??? | |
==17366== by 0x4B44349: dc_callvm_call_x64 (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x102AFE5F: ??? (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== by 0xD0645BF: ??? | |
==17366== by 0x4F3B43F: ??? (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0xD0645BF: ??? | |
==17366== by 0x1FFEFFF7BF: ??? | |
==17366== by 0x4B43CBC: dcCallVoid (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x102AFE5F: ??? (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== Address 0x2000000b0 is not stack'd, malloc'd or (recently) free'd | |
==17366== | |
==17366== | |
==17366== Process terminating with default action of signal 11 (SIGSEGV) | |
==17366== Access not within mapped region at address 0x2000000B0 | |
==17366== at 0x102AFD49: svm_free_model_content (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== by 0x102AFE78: svm_free_and_destroy_model (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== by 0x4B44410: ??? (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x1FFEFFF79F: ??? | |
==17366== by 0x4B44349: dc_callvm_call_x64 (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x102AFE5F: ??? (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== by 0xD0645BF: ??? | |
==17366== by 0x4F3B43F: ??? (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0xD0645BF: ??? | |
==17366== by 0x1FFEFFF7BF: ??? | |
==17366== by 0x4B43CBC: dcCallVoid (in /home/alex/.rakudobrew/moar-master/install/lib/libmoar.so) | |
==17366== by 0x102AFE5F: ??? (in /home/alex/git/p6-Algorithm-LibSVM/resources/libraries/libsvm.so) | |
==17366== If you believe this happened as a result of a stack | |
==17366== overflow in your program's main thread (unlikely but | |
==17366== possible), you can try to increase the size of the | |
==17366== main thread stack using the --main-stacksize= flag. | |
==17366== The main thread stack size used in this run was 8388608. | |
==17366== | |
==17366== HEAP SUMMARY: | |
==17366== in use at exit: 74,977,625 bytes in 241,957 blocks | |
==17366== total heap usage: 1,176,062 allocs, 934,107 frees, 626,396,292 bytes allocated | |
==17366== | |
==17366== LEAK SUMMARY: | |
==17366== definitely lost: 104 bytes in 4 blocks | |
==17366== indirectly lost: 48 bytes in 2 blocks | |
==17366== possibly lost: 439,696 bytes in 7,851 blocks | |
==17366== still reachable: 74,537,777 bytes in 234,100 blocks | |
==17366== suppressed: 0 bytes in 0 blocks | |
==17366== Rerun with --leak-check=full to see details of leaked memory | |
==17366== | |
==17366== For counts of detected and suppressed errors, rerun with: -v | |
==17366== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) | |
Segmentation fault |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment