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

Segfault on Leukemia example #15

Closed
TisserantG opened this issue Oct 26, 2016 · 2 comments
Closed

Segfault on Leukemia example #15

TisserantG opened this issue Oct 26, 2016 · 2 comments

Comments

@TisserantG
Copy link

Hello,
I try to test the leukemia example, and I have errors :
Program received signal SIGSEGV, Segmentation fault.
__memmove_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:268
268 vmovdqu 0x60(%rsi), %ymm3

I use bt on gdb, and I have this stack :
#0 __memmove_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:268
#1 0x000000000061103f in double* std::__copy_move<true, true, std::random_access_iterator_tag>::copy_m(double const, double const, double*) ()
#2 0x000000000060f9ba in double* std::copy_move_a<true, double*, double*>(double, double, double*)

()

#3 0x00000000006794ab in __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > > std::__copy_move_a2<true, __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > > >(__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >) ()
#4 0x00000000006792b9 in __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > > std::move<__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > > >(__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >) ()
#5 0x00000000006791b2 in std::vector<double, std::allocator >::_M_erase(__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >) ()
#6 0x0000000000678f10 in std::vector<double, std::allocator >::erase(__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >) ()
#7 0x0000000000777012 in OpenNN::Perceptron::prune_input(unsigned long const&) ()
#8 0x0000000000771115 in OpenNN::PerceptronLayer::prune_input(unsigned long const&) ()
#9 0x0000000000659772 in OpenNN::MultilayerPerceptron::prune_input(unsigned long const&) ()
#10 0x0000000000642ec7 in OpenNN::NeuralNetwork::prune_input(unsigned long const&) ()
#11 0x0000000000725ce2 in OpenNN::InputsSelectionAlgorithm::set_neural_inputs(OpenNN::Vector const&) ()

---Type to continue, or q to quit---
#12 0x0000000000727d98 in OpenNN::InputsSelectionAlgorithm::perform_model_evaluation(OpenNN::Vector const&) ()
#13 0x000000000072bf2d in OpenNN::GrowingInputs::perform_inputs_selection() ()
#14 0x000000000070d3e0 in OpenNN::ModelSelection::perform_inputs_selection() const ()
#15 0x00000000005ccdc5 in main ()

I build the program using make.
I'm on Fedora 24 and my GCC version is 6.2.1 but the same problem on Ubuntu 16.10 and GCC 5.4.

@FernandoGomezP
Copy link
Contributor

It was a failure in our creation of the neural network. It is solved in the new version of OpenNN.

@kommander
Copy link

Tests run: 2440
Tests passed: 2440
Tests failed: 0
Test OK

I can confirm this is not happening anymore.

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

3 participants