[Bug 1841829] Re: internal compiler error: Segmentation fault

Launchpad Bug Tracker 1841829 at bugs.launchpad.net
Tue Oct 29 04:17:21 UTC 2019


[Expired for gcc-7 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: gcc-7 (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1841829

Title:
  internal compiler error: Segmentation fault

Status in gcc-7 package in Ubuntu:
  Expired

Bug description:
  I'm quite new at this type of thing, so please bear with me.

  I am building the open source radiation transport solver OpenMC. I did
  these steps:

  git clone https://github.com/lkissin2/openmc
  mkdir build 
  cd build
  cmake ..
  make

  Everything went fine until make got to 96% and then I got the very
  scary looking output:

  In file included from /home/lou/openmc/src/xsdata.cpp:9:0:
  /home/lou/openmc/vendor/xtensor/include/xtensor/xindex_view.hpp: In instantiation of ‘xt::xfiltration<ECT, CCT>::self_type& xt::xfiltration<ECT, CCT>::apply(F&&) [with F = xt::xfiltration<ECT, CCT>::operator=(const E&) [with E = double; ECT = xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&; CCT = xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> >; xt::disable_xexpression<E, xt::xfiltration<ECT, CCT>&> = xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >&]::<lambda(xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >::const_reference, bool)>; ECT = xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&; CCT = xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> >; xt::xfiltration<ECT, CCT>::self_type = xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >]’:
  /home/lou/openmc/vendor/xtensor/include/xtensor/xindex_view.hpp:573:21:   required from ‘xt::disable_xexpression<E, xt::xfiltration<ECT, CCT>&> xt::xfiltration<ECT, CCT>::operator=(const E&) [with E = double; ECT = xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&; CCT = xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> >; xt::disable_xexpression<E, xt::xfiltration<ECT, CCT>&> = xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >&]’
  /home/lou/openmc/src/xsdata.cpp:105:59:   required from here
  /home/lou/openmc/vendor/xtensor/include/xtensor/xindex_view.hpp:647:5: internal compiler error: Segmentation fault
       }
       ^
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
  CMakeFiles/libopenmc.dir/build.make:2102: recipe for target 'CMakeFiles/libopenmc.dir/src/xsdata.cpp.o' failed
  make[2]: *** [CMakeFiles/libopenmc.dir/src/xsdata.cpp.o] Error 1
  CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/libopenmc.dir/all' failed
  make[1]: *** [CMakeFiles/libopenmc.dir/all] Error 2
  Makefile:129: recipe for target 'all' failed
  make: *** [all] Error 2

  I don't know what this really means, but I am submitting the bug
  report because the output asked me to.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1841829/+subscriptions



More information about the foundations-bugs mailing list